Media tool with support for multiple codecs, filters, and containers. Include the full, uncut console output if you have problems with an FFmpeg command.

learn more… | top users | synonyms

0
votes
2answers
26 views

join 2 video file by command or code

i already use ffmpeg to join 2 files but there is some problem, second videos maybe have different dimension so get some error while converting : Command : ffmpeg -i introlq.mp4 -i lq1.mp4 ...
1
vote
0answers
17 views

Joining 2 parts of a movie together gives no video during the second part

I am trying to encode a series of movies in my collection where each one is on two disks. I have come up with a rudimentary script that works with the first one just fine. However, for the second and ...
-1
votes
0answers
11 views

TS to mp4 artifacts when fast forwarding

I had an m3u8 file with links to TS files. I created an mpeg with FFmpeg without re-encoding. When I play it and go to another time, It doesnt play smoothly, it is showing much grey areas. Can i get ...
2
votes
0answers
32 views

FFmpeg cuts off ~50ms when I extract+convert audio from video

I want to extract the audio stream from many .MOV files with ffmpeg. The goal is to have output files with small file size and perfectly equal sound to the input file. Currently I'm using this ...
7
votes
2answers
4k views

How to encode audio with Opus codec?

The Opus audio codec looks like the best thing ever for compressing audio. It has recently become supported in the latest ffmpeg and VLC players. However, there is no documentation I can find on how ...
1
vote
1answer
698 views

How to play 4096x2304 video on 3840x2160 Samsung UE65HU7500 [closed]

[To the close voters: TVs are basically tablets now, and similar questions were welcome here in 2012. Please support this proposal and migrate your TV questions if firmware and such are off-topic ...
1
vote
1answer
26 views

Can I resize, pad a video and overlay an image in one step with FFMPEG?

I have an input video that is recorded at 640x360 (it's from a webcam if that makes any difference). I want the output to be 1280x720 (double the width of the original) and I want the original video ...
0
votes
1answer
21 views

How to install ffmpeg on mavericks?

You can get the binary here http://ffmpegmac.net/ How do I install said binary to use it as a commandline tool. I have a mac, with mavericks. If possible, it would be nice to install it without the ...
0
votes
0answers
16 views

How to compare the difference between 2 videos color in ffmpeg?

I have read http://stackoverflow.com/questions/25774996/ , but "blend=all_mode=difference" is green. How do I get more colorful diffrence using blend filter? Sample command is ffplay -f lavfi ...
0
votes
1answer
18 views

ffmpeg segfaults over certain resolution

I'm trying to use ffmpeg to record my whole screen (1366x768), but if I set the video size above a certain size, I get a segfault. As can be seen in the output, I compiled from source less than 1 hour ...
12
votes
1answer
6k views

Streaming mp4 with ffmpeg

I need to create a feed that has two streams - webm and mp4 - so that it can be compatible on all HTML5 video players. The webm stream works perfectly. However, when trying to access the mp4 stream, ...
36
votes
4answers
18k views

How do I convert a video to GIF using ffmpeg, with reasonable quality?

I'm converting .flv movie to .gif file with ffmpeg. ffmpeg -i input.flv -ss 00:00:00.000 -pix_fmt rgb24 -r 10 -s 320x240 -t 00:00:10.000 output.gif It works great, but output gif file has a very ...
-3
votes
0answers
22 views

“no such file or directory” while converting mov to avi using ffmpeg [closed]

I am trying to convert mov files to avi files using ffmpeg. I have downloaded ffmpeg and followed online guides on how to do this, but I always get the response "no such file or directory". There is ...
0
votes
1answer
12 views

ffmpeg/ffprobe get last (few) frame info with show_frames

I am currently experimenting with ffmpeg and ffprobe. I basically want to get info of last frame from "show_frames" but "show_frames" prints ALL the frames. is there any way to filter this?
0
votes
3answers
479 views

ffmpeg concat doesn't work with absolute path

I need to use concat with absolute path, but it doesn't seem to work. In the doc it says it should work. Anyone have an idea how to make it work? ffmpeg Doc It doesn't work because it seem to ...
0
votes
0answers
962 views

FFmpeg screencast: capture only one window

I'm using FFmpeg with UScreenCapture under Windows 7 for screencast. Everything works fine, but I want to stream video from only one window - not the whole monitor. I know, there is an opportunity to ...
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?
0
votes
0answers
27 views

Find if a short MP3 exists in a longer MP3

I have 2200 MP3s are were cut from longer MP3s in Audacity and export at 128 kb/s. Unfortunately, I would like to have these re-cut at 320 kb/s (the same as the source MP3s). Is there a tool that can ...
-6
votes
0answers
24 views

Can't type in ffmpeg on MAC OSX [closed]

I just downloaded ffmpeg for MAC OS X but I cannot type anything in the command session. What could the problem be? Can you help me please? :) Thanks.
1
vote
2answers
8k views

Concat two mp4 files with ffmpeg without losing quality

i have now a problem with concatenating of 2 videos using ffmpeg. So, i am encoding the source mp4 files to ts with ffmpeg -i output1.mp4 -scodec copy -vbsf h264_mp4toannexb i0.ts but the file ...
1
vote
1answer
28 views

fade in png with transparency into an mp4 video

I am trying to overlay a png file with transparency into an mp4 video the original video is 20sec and I want to overlay the transparent png from 00:10 to 00:20 of the original video, with the 00:10 - ...
1
vote
0answers
30 views

Properly downmix 5.1 to stereo using ffmpeg

I have a 5.1 audio track from a film where front left and front right contains music, and center contains dialogue. Playing the 5.1 track in VLC blends everything together nicely. I'm trying to ...
0
votes
1answer
5k views

Double deinterlace with full motion - ffmpeg + yadif 50i-50p 60i-60p

I'm trying to figure out how to use yadif / yadif-2x with ffmpeg to convert 50i source material into 50p output that preserves the motion of all fifty fields per second. Right now, I am using the ...
12
votes
2answers
4k views

FFMPEG - Non-monotonous DTS

When I use FFMPEG to convert a video from MP4 to M3U8, using the following command, ffmpeg -i op.mp4 -b:v 128k -flags -global_header -map 0:0 -map 0:1 -f segment -segment_time 4 -segment_list_size 0 ...
1
vote
1answer
52 views

ffmpeg merging mp3, mp4, no sound with copy codec

I am using ffmpeg to create a video. The source is a set of png images (one per frame) and an mp3 file. I want to create an mp4 with sound. I am doing it in two stages for now. Step one converts the ...
2
votes
1answer
2k views

Can FFMPEG extract images from a video with timestamps?

I'm trying to extract frames from a video and get the exact timestamps of each frame extracted (on a picture). To extract frames from video without timestamps I use this syntax: ffmpeg -i video.wmv ...
0
votes
0answers
222 views

ffmpeg- using ffmpeg to take screen shot of every nth second in C#.Some image are not created properly show blank

Below command is used in loop to take snapshot in my program ffmpeg.exe -ss 720 -i WIn_0_0.wmv -vframes 1 -vf ...
2
votes
1answer
393 views

ffmpeg video to image conversion. on specifying image size , filter text are not clear

If I extract video file resolution of 320x240 , text on it is looking good and readable. In case if I give input video of resolution 1280x720 or any greater values the text on it isn't readable. It ...
0
votes
1answer
11 views

How to rotate video that comes from android device with same quality by using ffmpeg [duplicate]

I want to rotate video that comes from android device that always display in landscape form; so how we convert into portrait form with a same quality. I am using these code but unable to find exact ...
0
votes
0answers
50 views

How to keep/force aspect ratio using ffmpeg

I would like to remove pt-br audio and convert english DTS to AC3 and I'm using this command: ffmpeg -i input.mkv -c:v copy -c:s copy -c:a ac3 -ac 2 -map 0:0 -map 0:2 -map 0:3 -aspect 16:9 test.mkv ...
0
votes
1answer
7k views

Variable bit rates with “-vb” and “minrate”/“maxrate” settings in FFmpeg

For rendering, the time it takes is very different. -b 3500K -minrate 0K -maxrate 8000K takes 1hr 17min vb=3000k takes 2.5 hours What is vb 3000k and how is it different from -b 3500K -minrate 0K ...
1
vote
1answer
20 views

Swapping index of an MP4 file with FFMpeg

I run a web application which provides a few videos on it. Those videos are being displayed with a flash-video-player. Unfortunately, the index of those container-files is at the end of the file, so ...
1
vote
1answer
3k views

Problems with frame rate on video conversion using ffmpeg with libx264

I have problems with transcoding some videos. I ran the most simple ffmpeg command and it takes very long time and the output file is about 10 times bigger. If I provide the frame rate parameter -r it ...
1
vote
1answer
24 views

FFmpeg debug verbosity

I'm debugging ffmpeg with -loglevel debug, and I want the debug messages (which are basically just printing to terminal the value of different variables) but in front of each line is the file offset ...
4
votes
2answers
7k 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 ...
0
votes
1answer
338 views

Installing Ffmpeg for Windows Server 2012

I want to convert a number of .wmv files to .mp3 format in a batch, so I need ffmpeg for that but I can't install ffmpeg on Windows Server 2012. I have done all the steps described on this link ...
0
votes
0answers
13 views

FFMPEG conversion from webm to mp4 [duplicate]

I use the following command for converting from a webm to mp4. fmpeg -i input_file.webm -c:a copy output_file.mp4 It is converting very slowly. It takes as much time as the video. Can anyone ...
0
votes
1answer
35 views

combine three videos between specific time using ffmpeg

I have a situation where I want to combine 3 videos The first video (guide.mp4) is the guide and the other 2 are small pieces that need to go inside the "guide". In a graphical manner, I have the ...
0
votes
0answers
31 views

avconv and ffmpeg: errors reading png files

I'm trying to use avconv to overlay data onto a video. I generate PNG files representing the overlay data at 4fps. The PNG files are the 120px wider and 60px taller than the original video, because ...
2
votes
0answers
19 views

F4V to MP4 via FFMPEG (Bitrate viewer)

I have a several F4V that I've captured using Flash media Live Encoder and I need to convert them to MP4s. As I understand F4V are fairly identical to the MP4 format so we used "copy" for the video ...
0
votes
2answers
35 views

Compiling FFcast for Ubuntu 14.04, “libx11 is required”?

Here's what I've run so far: $ git clone --recursive https://github.com/lolilolicon/FFcast.git $ ./bootstrap $ configure --enable-xrectsel --prefix /usr --libexecdir /usr/lib --sysconfdir /etc The ...
1
vote
2answers
33 views

ffmpeg: disable one of a several audio streams

I've got an video file with two audiostreams: Stream #0:0(und): Video: h264 (Constrained Baseline) (avc1 / 0x31637661), yuv420p, 960x540, 58 kb/s, 29.97 fps, 29.97 tbr, 90k tbn, 180k tbc Metadata: ...
0
votes
0answers
14 views

Output of the ffmpeg -r command [duplicate]

when I execute ffmpeg -i >video file> -r 24 -t 100 %d.jpeg I see output lines like frame= 47 ... time=6.70 which I guess is the time stamp of frame 47. But this data only shows up for ...
0
votes
1answer
62 views

FFmpeg: Connection timed out

I've the following error in my FFmpeg log. It appears after 24+ hours of work. rtsp://admin:passwd@myip:554/live1.sdp: Connection timed out I use the following command: nohup ./ffmpeg -i ...
0
votes
1answer
23 views

How do I reduce frame-rate without increasing duration?

I'm trying to convert a 24fps video to 12fps. While it seems like the conversion is working, ffmpeg is also increasing the duration of the output video (about a second longer). It would seem like the ...
1
vote
1answer
3k views

ffserver configuration to handle a large webm stream

I'm setting up an ffserver for CCTV streams with 16 cameras - all the individual channels are streaming well with a config like: <Feed 0.ffm> File /tmp/0.ffm FileMaxSize 5M ACL allow 10.1.2.2 ...
1
vote
0answers
28 views

FFmpeg Unable to find a suitable output format for … [RPi]

I was trying to set-up ffmpeg on RPi to stream video from webcam. This is my launch script: ffserver -f /etc/ffserver.conf & ffmpeg -v verbose -r 5 -s 640x480 -f video4linux2 -i /dev/video0 ...
0
votes
0answers
28 views

Reduce Memory usage of ffmpeg Live streaming rtsp

Is there any way to reduce the resource usage of server while streaming a video through ffmpeg Iam using following command ffmpeg -i "rtsp://channelurl" -f flv -r 25 -s 640x480 -an ...
2
votes
1answer
376 views

Which FFmpeg command do I use to passthrough FLV to MP4?

I've a number of downloaded FLV files which I would like to convert to MP4. They are already in the correct format so I am told all I need to do is to remux the video and audio streams into an MP4 ...
0
votes
1answer
28 views

ffmpeg trying to hardcode subs using -c:s mov_text but fails

Please bear with me; I'm still learning the intricacies of ffmpeg and have hit a problem with subtitles. So, I am trying to change the container of a video from mkv to mp4, and simultaneously ...