Questions tagged [video-conversion]
The video-conversion tag covers software & formats related to converting videos from one format or container to the other.
962
questions
102
votes
3
answers
240k
views
Converting video from 1080p to 720p with smallest quality loss using ffmpeg
I stack with my high quality movie: 1080p with 60fps. The trouble is lags while playing.
I tried to convert it to 720p with ffmpeg:
ffmpeg -i MyMovie.mkv -r 60 -s hd720 MyMovie_720p.mkv
But I ...
100
votes
9
answers
192k
views
Use ffmpeg copy codec to combine *.ts files into a single mp4
I've got a bunch of ts segments described by a single index.m3u8 file:
index.m3u8
segment1_0_av.ts
segment2_0_av.ts
segment3_0_av.ts
segment4_0_av.ts
segment5_0_av.ts
I know they are ...
97
votes
3
answers
100k
views
Resizing videos with ffmpeg/avconv to fit into static sized player
I have a html 5 video player which is 700px wide, 400px high. I'm trying to use avconv to use ffmpeg to resize (while retaining the aspect ratio) and making sure it fits into my player.
Input can be a ...
72
votes
7
answers
127k
views
What is the correct way to fix keyframes in FFmpeg for DASH?
When conditioning a stream for DASH playback, random access points must be at the exact same source stream time in all streams. The usual way to do this is to force a fixed frame rate and fixed GOP ...
68
votes
3
answers
72k
views
Why does preset "veryfast" in FFmpeg generate the most compressed file compared to all other presets?
The FFmpeg wiki says that the best compression rate is by preset "veryslow".
But when I am trying it with my video then preset veryfast provides the best compression in my case.
The following is the ...
65
votes
2
answers
135k
views
How do I convert 10-bit H.265 / HEVC videos to H.264 without quality loss?
My laptop can't handle 10bit H.265 / HEVC videos, so I'm looking to convert them to 10bit H.264. How do I do this using, say, ffmpeg, with the least quality loss? And how can I convert 10-bit H.265 to ...
63
votes
1
answer
103k
views
Convert specific video and audio track only with ffmpeg
I have an MKV file (vidui.mkv) with 6 tracks in it.
Track 1 - video - xvid - 1920x1080
Track 2 - video - xvid - 720x576
Track 3 - audio - AAC - 1240kbps - English
Track 4 - audio - AAC - 648kbps - ...
61
votes
1
answer
137k
views
Downloading m3u8 videos [closed]
I am trying to download video from a .m3u8 livestream video format.
How can I download m3u8 videos using software on my personal computer such as ffmpeg, youtube-dl, VLC, etc?
M3U is a computer file ...
61
votes
1
answer
190k
views
Convert AVI (Xvid) to MP4 (H.264) keeping the same quality
I want to compress an AVI file to MP4 using an h.264 codec. I could not get the same quality. How can I compress it?
Original Video:
Original Video Screen:
FFmpeg console output (ffmpeg -i input....
58
votes
4
answers
164k
views
How to cut at exact frames using ffmpeg?
I'm trying to use ffmpeg to cut video files at precise times. The ffmpeg help shows an option -timecode_frame_start to specify the starting frame but I am unable to get this command to work. The ...
57
votes
2
answers
204k
views
Handbrake settings to convert MKV to MP4 while retaining the original quality
I have a ton of MKV files I need to convert to MP4 and my chosen software is Handbrake.
I'm stuck on which settings would be best for the conversion. I want to retain full quality. Do I just convert ...
38
votes
4
answers
282k
views
How can I watch a side-by-side 3D video in 2D?
I have a 3D movie (.MKV), with side-by-side 3D, and it works just fine at home. Now I want to see it at my friend's house, and they don't have a 3D system.
Is there any way to crop one of the sides ...
36
votes
4
answers
40k
views
Lossless extraction of streams from WebM
I would like to extract streams from WebM video files without converting them (re-compression), can somebody recommend any software that can allow this?
35
votes
3
answers
43k
views
Convert from MOV to MP4 Container format
I have a digital camera that records nice 1080p H.264 format but unfortunately it uses the MOV container format. Basically I have nothing but the camera and VLC that play this format natively.
Is ...
31
votes
1
answer
22k
views
What is the "sameq" or "same_quant" option in FFmpeg? Does it mean "same quality"?
Often, I've seen FFmpeg commands using the sameq option, for example
ffmpeg -i input.mp4 -sameq output.avi
What does this mean? Does it mean "same quality"? If not, what should I use instead?
31
votes
1
answer
32k
views
ffmpeg - How to copy|extract encoding settings from existing media file?
I wished to be able do this multiple times now so I ask.
If I have an existing video or audio file, ffmpeg, mplayer and other media players can detect at least some of it's "propreties" like ...
29
votes
9
answers
8k
views
Saving one file format with a different file extension. JPG - PNG; MOV - MP4
From experience I know that if I save .jpg file with an .png extension (or vice versa) the most programs will open it as normally. I am wondering why is that the case and ask people with experience in ...
26
votes
4
answers
29k
views
Change rotation flag in MP4 video (without losing metadata)
I just want to change the rotation flag in a .mp4 video file.
Many similar questions exist, most answers suggest using
ffmpeg -i input.mp4 -map_metadata 0 -metadata:s:v rotate=90 -codec copy output....
25
votes
8
answers
116k
views
M3U8 file to MP4 conversion?
Can an M3U8 video file be converted to MP4? I have had no luck finding a file converter that can do this since the M3U8 file is really an Audio playlist with many smaller files in a folder.
25
votes
3
answers
46k
views
FFMPEG mkv to mp4 conversion loses subtitles
Currently trying to convert my mkv library to mp4 (Iphone 6 plus)
I've managed to get to mkv to mp4 conversion correctly, but I'm missing the subtitles part (SRT)
Here's my code:
dir/b/s *.mkv >...
24
votes
2
answers
19k
views
How do I convert webm to mp4 for MacOSX?
I'm on MacOSX Lion and would like a method for converting webm to mp4 (or another iTunes compatible format). ffmpeg seems like a possibility but the documentation is a bit obtuse for me; step-by-step ...
24
votes
1
answer
30k
views
FFmpeg split video and merge back
I'm trying to use FFmpeg to split video based on some start_time and end_time inputs, and replace those with other video files. For instance, for input 10 15 I will need to replace EXACT seconds 10 to ...
22
votes
3
answers
39k
views
VOB conversion quality in FFmpeg
I am trying to convert a VOB file to mpeg like this:
./ffmpeg.exe -i VTS_01_2.VOB -r 24 out1.mpeg
However, the quality is very poor.
I tried ./ffmpeg.exe -i VTS_01_2.VOB -vcodec copy out1.mpeg
...
22
votes
2
answers
80k
views
What's the difference between FFmpeg's "-vcodec copy" and "-sameq"?
What is the difference between using -vcodec copy and -sameq with FFmpeg?
Do they do the same thing?
21
votes
1
answer
15k
views
Reduce MOV file size
I have a folder full of MOV videos taken by my DMC-FX10. The problem is that the occupy too much space, and I am wondering if it is possible to compress them without losing quality?
All videos have a ...
21
votes
2
answers
23k
views
FFMPEG - Convert a video to a timelapse
I'm using ffmpeg in flash builder (Action script 3) to convert a video to a time lapse of the video. I've worked out how to use setpts to do this, but the resulting output file is the same length as ...
21
votes
1
answer
12k
views
FFmpeg/avidemux: fix packed B-frames
I'm transcoding some of my old mpeg4 videos (in avi containers) to h.264 with FFmpeg. Basically
ffmpeg -i input.avi -c:v libx264 [x264 settings] -c:a libfdk_aac [aac settings] output.mp4
When doing ...
20
votes
5
answers
36k
views
Rip CD/DVD with ffmpeg
Is this possible with ffmpeg? Do you have any links that explain how to do this?
I have searched with Google but had not many results.
I just want to be able to convert a CD or DVD to MP3 audio ...
19
votes
5
answers
21k
views
How to convert MP3 to YouTube-allowed video format?
I have many MP3 files on my website and I have decided to upload them to Youtube, but unfortunately for me, YouTube does not allow me to do that. It requires video format only.
How can I convert ...
19
votes
2
answers
17k
views
Why is encoding VP8/9 so slow compared to H.264?
Recently I wanted to try out the Webm codecs VP8 and VP9 but when I ran ffmpeg to encode a H.264 MP4 file into one of the other two codecs, I realized that the encoding is (by almost an order of ...
18
votes
7
answers
2k
views
What tool can I use to to rip DVD movies? [closed]
What tool can I use to to rip DVD movies? I have used "Dr. DivX" long back. Is there any better tool to rip DVDs?
18
votes
2
answers
29k
views
How does bitrate differ for the same resolution and framerate?
Reading about video quality I found that it depends of resolution, frames per second and bitrate, which decides the size of the video.
My question is how the bitrate is calculated and how it can ...
17
votes
2
answers
98k
views
How to make an MPEG2 video file with the highest quality possible using FFMPEG?
I have got a WMV (v9 (WMV3), 960x720, 30.000030 fps, planar 4:2:0 YUV, produced by PowerPoint 2010) file and need to convert it to MPEG2 - the only format my TVset can read from an USB flash drive (I ...
16
votes
1
answer
27k
views
Extracting every frame from video file as image in OS X
What I want to do is extract every frame of a video file and output the images.
I tried using VLC's commands through terminal, however it seems to be skipping frames, even though I turned off "skip ...
16
votes
3
answers
25k
views
Lossless VOB conversion with ffmpeg
Is there a way to convert a VOB to another video format using ffmpeg without sacrificing audio or video quality?
15
votes
8
answers
67k
views
Can VLC crop black borders on the fly?
Many recordings have black bars either on top and bottom or at the left and right side due to the various aspect ratios used, resulting in a 4:3 coded 16:9 movie showing black borders on all four ...
15
votes
1
answer
27k
views
Using ffmpeg to denoise (reduce film grain)
I have a large collection of movies I'd like to re-encode to both reduce size and improve picture quality. A large number are old black and white movies that are pretty grainy, but even titles through ...
14
votes
2
answers
28k
views
Why is converting WMV to MP4 so slow?
I am trying to convert a video from WMV to MP4 with FFmpeg but it takes couple of hours. If I try to convert it to AVI it only takes about 10-15 minutes.
ffmpeg version
ffmpeg version N-43206-...
14
votes
1
answer
7k
views
FFMPEG: Windows binaries with globbing (libavformat) support?
I am struggling to get ffmpeg to combine a bunch of images in to a video which have a format with a full 17 digit timestamp. 17 digits is well beyond what -i %d will support. So I want to use ...
13
votes
3
answers
47k
views
VLC could not open the mp4a audio encoder
I am attempting to use the Convert/Save feature of VLC to convert an mkv file to an mp4. (H.264 video with MPEG-4 AAC audio)
I get the following error:
VLC could not open the mp4a audio encoder
...
13
votes
1
answer
14k
views
Ffmpeg upscale and letterbox a video
I have a video with that is 480x360 in resolution, what I want to do is upscale this video to 1280:720 and not loos the original videos aspect ration ( letterbox the left and right side)
So I know ...
13
votes
5
answers
27k
views
Extract HEVC bitstream with ffmpeg
I would like to extract the raw .265 bitstream from HEVC mkv file.
I use this:
ffmpeg.exe -i hevc.mkv -an -vcodec copy -f hevc bitstream.265
I got this error:
Requested output format 'hevc' is ...
13
votes
2
answers
24k
views
How to see what command-line options handbrake sends to mencoder
I want to see what command-line options handbrake is sending to mencoder. I looked at the Activity Window and it shows a lot of stuff but not what I'm looking for. How can I find it?
13
votes
1
answer
89k
views
ffmpeg: Could not find codec parameters for stream 0 (Video: h264) unspecified size
I try to convert a video from .raw to .mp4. For this reason I did download, build and install both x264 and ffmpeg. However, command:
ffmpeg -f h264 -i output.raw -vcodec copy output.mp4
fails with ...
12
votes
1
answer
20k
views
What H.264/H.265 video compression parameters provide DVD-equivalent quality with better compression?
I have got a box of DVD video disks that I seek to get rid of while I'd like to keep the videos by converting them into MP4 files to store them on a hard drive.
Considering superiority of the modern ...
12
votes
3
answers
24k
views
How do I reduce the file size of videos?
I need to reduce the file size of some of my HD videos, since I am running out of storage space. A lower resolution is acceptable, and other methods are welcome. I would prefer a GUI solution, as I am ...
12
votes
1
answer
39k
views
How do I use ffmpeg to split a video into images and then reassemble exactly the same?
I have an MP4 which has an audio and video streams and I need to modify every frame of the video. The pipeline I'm using is:
Split the audio out of the video:
ffmpeg -i in.mp4 -vn -acodec copy out....
11
votes
1
answer
28k
views
Using ffmpeg to make a movie from png files
I have 277 800x600 png files with filenames with the format island_sizes-CSH(II)-###.png where ### is a number starting with 084 and ending at 360.
I'm doing
ffmpeg -i island_sizes-CSH\(II\)-*.png ...
11
votes
3
answers
53k
views
Converting images to video using FFMPEG on Windows
I'm trying to convert a series of JPEG images into a time lapse video. They're in the format IMGP0001.JPG, IMGP0002.JPG, etc. From the looks of things, this should match the pattern IMGP%04.JPG.
I've ...
11
votes
4
answers
445
views
What is the easiest way to convert MPEG video to FLV format?
I have MPEG video (.mpg) that I would like to convert to FLV format for use in Flash players. What is the easiest (idiot-proof) way to do this on a Windows machine?