Linked Questions

17
votes
4answers
24k 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?
15
votes
2answers
61k 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
2answers
3k 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 ...
5
votes
2answers
9k 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 ...
7
votes
3answers
16k 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 ...
0
votes
2answers
496 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 ...
8
votes
1answer
6k 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 ...
0
votes
0answers
27 views

FFmpeg for splitting files [duplicate]

Can FFmpeg be used to cut any video ? Right now I use the mkvmerge command for mkv and some other apps for other formats. If not, what can be used? (something in command prompt would be optimal) ...
0
votes
2answers
1k 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 ...
0
votes
2answers
377 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
3k 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 ...
2
votes
1answer
1k 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
941 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 ...
3
votes
1answer
1k views

FFmpeg command converting M4V to FLV; video streaming is very slow

I am using this command to convert videos from M4V and AVI to FLV: ffmpeg -i 'video_1355440448.m4v' -s '640x360' -ab '64k' -ar '44100' -q:v '1' -f 'flv' -y video_1355440448.flv I have two servers: ...
4
votes
2answers
8k 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?

15 30 50 per page