32
votes
2answers
117k 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 ...
0
votes
3answers
1k views

Concat 2 .mp4 files created with ffmpeg not working correctly

I am trying to concat 2 mp4 files that were both created with ffmpeg however the resulting output file does not contain any audio, can someone please help? Here's my current code: function ...
9
votes
2answers
10k views

What parameters should I be looking at to reduce the size of a .MOV file?

My Canon 60D creates .MOV files when recording video and I've found out that the .MOV container has an H264 video stream and a PCM audio stream. I've used ffmpeg and GSpot to look at some of my ...
56
votes
6answers
77k views

Cut part from video file from start position to end position with FFmpeg

I have a video file of 30 minutes, but I want to extract a video from 00:09:23 to 00:25:33. I can define the startposition with -ss, but I couldn't find one for the end position. Any help please?
30
votes
6answers
44k views

FFMPEG convert flv to mp4 without losing quality [duplicate]

Currently I'm converting .flv flash files to .webm and .mp4 files to be used with an HTML5 video player. _ I use this ffmpeg command for WEBM: ffmpeg -i filename.flv -vcodec libvpx -acodec libvorbis ...
21
votes
1answer
47k views

Converting FLV to MP4 Using FFMPEG and Preserving the Quality

Im trying to use ffmpeg to convert my flv files to mp4 to play them on iOS devices but the converted video has a much worse quality than the original one. Here is the command i use: ffmpeg -i input....
13
votes
3answers
34k views

How can I re-encode H.264 video with minimal quality loss?

I have a lot of MPEG-TS files (.TS container but H.264 video) and playback is fine except that when you skip forward/backward or fast forward it's very sluggish and gets pixelated, etc. I've been ...
1
vote
2answers
2k views

ffmpeg with 720p video and y4m file

I was simulating a lot of videos in cif format, also all videos came with yuv format file. I used the expression below and it works well: ffmpeg -s cif -r 30 -i video.yuv -vcodec mpeg4 -g 12 -bf 2 -...
-2
votes
3answers
4k views

Conversion from WebM to MP4 in Ubuntu is slow and bad quality

I have used the command ffmpeg -i input.webm -q:v 10 -c:a copy out.mp4 I also tried using avconv instead of ffmpeg. The conversion is successful but the quality is bad. Also it takes a lot of time....
0
votes
2answers
6k views

FFMPEG add keyframes without reencoding

How can I add keyframes for FLV files without reencoding? I try to use this command, but do nothing: ffmpeg -i file.flv -vcodec copy -acodec copy -g 0 -y tmp.flv && yamdi -i tmp.flv -o out....
5
votes
2answers
10k views

Convert old videos to have smaller sizes

I have some videos from a few years ago,with various formats, such as avi, mpg, wmv, rm, rmvb, .... Their sizes are huge(more than 500 MB, and sometimes > 1GB). Given there may likely be some ...
0
votes
2answers
411 views

ffmpeg image2 avi quality

I'm converting a set of images to avi, but the quality is very poor. How can I change the quality of a video? This is my current command: ffmpeg -i music.wav -f image2 -r 11 -i %%d.png video.avi ...
4
votes
2answers
4k views

Cut (smart edit) .mts (AVCHD Progressive) files un Ubuntu Lucid

I have a bunch of .mts files containing AVCHD Progressive video recorded by a Panasonic camera, and I need software on Ubuntu Lucid with which I can remove the boring parts, and concatenate the ...
3
votes
1answer
2k views

streaming flv using ffserver

I'm running Debian for my home-server, which is a machine that lives under the telly in the living room and stores the family's photo's, videos, music, etc. I'm using all the usual services to serve ...
2
votes
1answer
1k views

LIBFAAC cannot resample channels

Im using avconv to convert video files into MP4, but whenever I try to encode files with 6 or 8 channels into 2 channels using libfaac I get these error messages: Can not resample 8 channels @ 44100 ...

15 30 50 per page