Questions tagged [video-encoding]
100 questions
63
votes
3 answers
Re-encoding video library in x265 (HEVC) with no quality loss
I am trying to convert my video library to HEVC format to gain space. I ran the following command on all of the video files in my library:
#!/bin/bash
for i in *.mp4;
do
#Output new files by prepending "X265" to the names
avconv -i "$i"…
shivams
- 4,505
- 3
- 19
- 36
28
votes
4 answers
Convert a video to a fixed screen size by cropping and resizing
I've tried to figure this out myself, but the myriad of options just baffles me.
I want to use ideally either ffmpeg or mencoder (or something else, but those two I know I have working) to convert any incoming video to a fixed screen size.
If the…
Andy Jeffries
- 283
- 1
- 3
- 7
26
votes
4 answers
Converting PNG frames to video at 1 FPS
I have video frames in PNG format at 1 FPS and I'm trying to convert them into a video using ffmpeg.
If I do something like this:
ffmpeg -i data/input-%4d.png data/output.mp4
I get a video at 25FPS which is basically a very fast-forward of the input…
Assaf Lavie
- 361
- 1
- 3
- 6
13
votes
7 answers
FFMPEG - Interpolate frames or add motion blur
I just watched the trailer for the hobbit, and a trailer for the avengers which both feature an increased framerate. A lot of the comments state that this isn't "true" 60fps since it was not shot at 60fps, but actually a lower frame-rate that has…
Programster
- 2,157
- 9
- 23
- 35
11
votes
1 answer
How to significantly lower a video file size with ffmpeg without quality loss?
I see there are videos on youtube with 1080p resolution that are more than 10 minutes long and only 50-60 mb in size.
I have a video only 3 minutes long and only 720p resolution but unable to bring it down below 90mb in size.
I checked another…
Sanchit
- 111
- 1
- 1
- 4
11
votes
3 answers
How to convert a VOB file to avi?
I am trying to convert a VOB file copied from a DVD into an avi in Ubuntu 13.10. I tried dvdrip, which failed due to a frame count error or something. I tried acidrip as well, but it always choose an audio track I did not want to use. I would prefer…
Alex
- 5,614
- 19
- 65
- 86
9
votes
2 answers
Interactively concatenate video files
How to concatenate (join) multiple MP4 video files into one file interactively?
There are a lot of programs that do this for two files from the command line. For instance:
ffmpeg
avconv
MP4Box
But we frequently need a solution to do this…
Slyx
- 3,845
- 2
- 19
- 25
8
votes
4 answers
Trouble getting VLC to record from the webcam via command line
my ~/.bashrc contains the following function
webcamrecord () {
vlc v4l2:// :v4l-vdev="/dev/video0" :v4l-adev="/dev/audio2" :v4l-norm=3 :v4l-frequency=-1 :v4l-caching=300 :v4l-chroma="" :v4l-fps=-1.000000 :v4l-samplerate=44100 :v4l-channel=0…
ixtmixilix
- 13,040
- 27
- 82
- 118
8
votes
2 answers
How to re-encode a DVD into a single file?
A DVD file layout has a directory named "VIDEO_TS" which contains a variety of files. These files can include multiple video and audio channels, subtitles, and menu structure (UI).
Is there a format than can contain all of these, but in a single…
tshepang
- 64,472
- 86
- 223
- 290
8
votes
1 answer
Handbrake new VP9 codec is grayed out
Handbrake new VP9 codec is grayed out and could not be used.
I installed Linux Mint fresh from ppa repo that is referenced on their homepage.
libav and the vpx-tools are installed.
What have I missed? What can I check?
zanglerecke
- 113
- 5
8
votes
2 answers
Convert image based subtitle to text based subtitle inside MKV file
How do I convert a hdmv_pgs_subtitle (which is image based) to a text based subtitle in a MKV file?
I have tried ffmpeg -i in.mkv -c:v copy -c:a copy -c:s mov_text out.mkv but that results with the following error:
Stream mapping:
Stream #0:0 ->…
Oskar Persson
- 245
- 1
- 2
- 14
6
votes
2 answers
Trans-coding hevc / x265 video file using VLC and viewing it on a chromecast
I've been successful at getting VLC to stream a x264 encoded file from a network file share to an old chromecast (which mine doesn't support hevc / x265 directly) using the commands below.
vlc -vv --sout "#chromecast"…
Rick T
- 337
- 1
- 7
- 19
5
votes
1 answer
Don't wait for audio stream with ffmpeg/avconv using named pipes
I have two named pipes, audio_conv and video, for s16le and h264 streams, respectively. I want to convert them to webm format on fly. Data to these pipes proceeds from my application, that parses proprietary format and converts audio. But sometimes…
FunkyCat
- 171
- 8
5
votes
1 answer
Text to movie from commandline
I need a script called myslide which does the following:
myslide -f 15 -t 20 "Hello World"
produces a movie file (to be played by mplayer), which just displays "Hello World" in the center of the screen in font size 15 for 20 seconds.
Is there an…
student
- 17,875
- 31
- 103
- 169
5
votes
5 answers
H.264 support in Firefox (Iceweasel) 24
I am using Firefox (Iceweasel) 24 in Debian Wheezy. When I go to https://www.youtube.com/html5 it shows me that my browser does not support H.264
When I go to the same URL with Chrome, it shows H.264 is supported
After googling, I found few debian…
Martin Vegter
- 69
- 66
- 195
- 326