Linked Questions

15
votes
4answers
17k 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?
11
votes
1answer
41k 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 ...
17
votes
1answer
29k 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 ...
7
votes
3answers
11k 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 ...
6
votes
1answer
5k 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 ...
4
votes
2answers
6k 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?
4
votes
2answers
8k 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
2k 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 ...
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 ...
4
votes
1answer
1k views

Why does the quality of this video suck when converted with ffmpeg as opposed to mencoder?

Here's the command line that I'm using for both and the output. Any ideas? The bitrate of the two videos is comparable: both around 1500Kbps. ffmpeg command: ffmpeg -y -i aud.mp4 -acodec copy -i ...
2
votes
1answer
812 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 ...
1
vote
2answers
699 views

How to use ffmpeg to rip part of a VOB file

I want to convert a VOB file to another video format using ffmpeg. The video that I'm interested in is found in the first half of the VOB file. Is there a way to convert only the part that I'm ...
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 ...
3
votes
1answer
873 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: ...
0
votes
2answers
835 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 ...
1
vote
1answer
689 views

FFMPEG: Stream a file with original playing rate

I want to stream a file to the network using ffmpeg in it's original frame rate; so I can play the generated UDP stream using some receiver client such as VLC. I used this command: ffmpeg -i ...
1
vote
0answers
982 views

Failed to convert a wmv file to mp4 with ffmpeg

i need a help with this command FFMPEG COMMAND: ffmpeg -y -i /input.wmv -vcodec libx264 -acodec libfaac -ac 2 -bufsize 20M -sameq -f mp4 /output.mp4 Output: ffmpeg version 1.0 Copyright (c) ...
0
votes
2answers
359 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 ...
1
vote
1answer
161 views

How do I convert an iPhone 720p video into a similar quality Flash video using ffmpeg?

What are the proper arguments to ffmpeg to covert an iPhone4 720p video into a similar quality Flash video? I tried the following which resulted in a low quality Flash video: ffmpeg -i movie.mov ...
0
votes
2answers
180 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 ...
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) ...