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
1answer
160 views

ffmpeg constant rate factor for different webm qualities

So i came across the following question What is the right way to calculate 1080p 720p 360p 240p quality? But that is for H264 MP4 files. For MP4 files i set the -crf constant rate factor as 18 for ...
0
votes
1answer
83 views

Join and encode files with ffmpeg

I want to join 3 files but every file is a different compression format (xvideo, theora, x264) and they are different resolution. I used this guide before but as far as I know it is only when the ...
4
votes
1answer
98 views

Using ffmpeg to Stretch the Contrast of a Video

I'm trying to implement what was suggested here: ffmpeg: adaptively stretch contrast The method I thought of is: Separate the L, U and V channels. Apply histeq to the L channel. Recombine the ...
0
votes
1answer
35 views

Fastforward and rewind of ffmpeg are disabled

I'm creating a mp4 (or flv) file using string something like this: ffmpeg -i pipe1file -i pipe2file -c copy -f flv resultFile.flv I recieve the resultant file. But the forward or rewind are seem to ...
0
votes
1answer
104 views

Display subtitles only on a black video background

I am trying to use ffmpeg to achieve the following: I have a live (.ts) file being streamed in from a satellite broadcast. This stream is sent unmolested to a projector for display. I take this same ...
0
votes
2answers
82 views

Does ffmpeg's aac encoder need a audio bitrate?

What happens if you do not set a audio bitrate in the aac encoder ? -ab 128k Does it automaticly select the highest bitrate it can or something i am curious if i should do this or if it will be bad ...
2
votes
1answer
116 views

What ffmpeg command line produces video more compatible across all devices?

So i have users saying H264 videos MP4's dont play audio on Apple's IPad and i struggle to get MP4 videos to play properly on Android too. There are two different command lines what command line is ...
1
vote
2answers
227 views

FFMPEG error while loading shared libraries: libass.so.4: cannot open shared object file: No such file or directory

Problem: I recently 'updated' to Ubuntu 14.10 from Ubuntu 14.04. Since then, whenever I try to issue any command to FFMPEG, I get the following: $ ffmpeg -i ffmpeg: error while loading shared ...
0
votes
1answer
37 views

Crop image twice ffmpeg

I have an image 4000x4500, and I'm trying to crop this single image twice, both crops need to be 4000x2250, I want the first crop to be of the top half, and the second to be the bottom half I've got ...
0
votes
0answers
139 views

ffmpeg - How to capture an HLS stream without re-encoding

I have the address of an HLS stream of an mp4 file. The file can only be read using the HLS stream, you cannot download the file itself. I want to capture the stream using ffmpeg, but keeping the ...
0
votes
1answer
109 views

ffmpeg using “-shortest” flag, file ends up longer than input file

I am attemping to use ffmpeg to add a silent audio track to a video file (Instagram requires video files to have an audio track to allow them to upload, for whatever reason), and I am using the ...
1
vote
1answer
165 views

Issue streaming ffmpeg webcam feed with ffserver

see comments for updates on research on issue I'm fiddling with ffmpeg, ffserver a webcam and Debian Wheezy in order to stream video content. I am able to watch my webcam's footage via mplayer, ...
1
vote
1answer
53 views

FFMPEG blank tiny audio spot when concating

Ok, im trying to concat some mp3 audio files with the following command: ffmpeg -y -i concat:"1.mp3|2.mp3|3.mp3" -c copy output.mp3 After concating output.mp3 isn't perfect, it leaves some tiny ...
0
votes
0answers
125 views

Twitch stream with FFMpeg, multiple audio inputs

I'm using the following script to try and stream my linux desktop to Twitch.tv, I have the stream working, but I want to throw in 2 audio inputs into the stream (one for the game, and one for my mic) ...
0
votes
1answer
78 views

Any downsides to always using the -movflags faststart parameter?

It seems many sites like YouTube suggest moov atom at the front of the file (Fast Start). ffmpeg does not make this a default behavior, but you can specify it with the -movflags faststart option. ...
0
votes
1answer
152 views

ffmpeg mov (ProRes) to mp4

I have a .mov file that I am trying to convert to mp4 or avi and having a lot of issues. These are files that were given to me to convert 8mm to digital. I am very new to ffmpeg and conversions. ...
0
votes
1answer
55 views

Converting a large MP3 to video

I have 6 MP3 files that are between 1.2GB and 2.8GB in length. I also have 6 image files. I want to make 6 videos using those 6 MP3s and images. I have tried using uMusic to merge these and while ...
1
vote
1answer
73 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 ...
0
votes
2answers
97 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 ...
2
votes
0answers
91 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 ...
0
votes
1answer
145 views

How to install ffmpeg on OS X? [duplicate]

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 ...
1
vote
1answer
55 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 ...
1
vote
1answer
105 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
52 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 ...
1
vote
0answers
418 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 ...
1
vote
1answer
269 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 ...
1
vote
1answer
233 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
157 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 - ...
0
votes
1answer
62 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
1answer
74 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 ...
1
vote
1answer
110 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 ...
0
votes
1answer
51 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 ...
2
votes
0answers
140 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
0answers
187 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
0answers
15 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
58 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
0answers
194 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
2answers
96 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
95 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
98 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 ...
0
votes
1answer
240 views

ffmpeg - video from single image with (multiple) video overlays

i'm using the following ffmpeg command to generate a (15s) video from a single image ffmpeg -loop 1 -i image.png -c:v libx264 -t 15 -pix_fmt yuv420p -vf scale=1280:720 out.mp4 The second command ...
1
vote
1answer
123 views

Unable to find a suitable output format for '\' \: Invalid argument

I tried to merge 6 mono WAV files into one 5.1 WAV by the following command line, but getting the error message as shown in the title: ffmpeg -i front_left.wav -i front_right.wav -i front_center.wav ...
0
votes
0answers
159 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 ...
0
votes
1answer
332 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 ...
0
votes
0answers
79 views

How to enable php extention in centOS 6.5 with php 5.5

I have installed ffmpeg extension using this tutorial in Cent OS 6.5 with PHP 5.5. When I check with # ffmpeg command in terminal. it shows me following output ffmpeg version 2.2.1 Copyright (c) ...
0
votes
0answers
178 views

ffmpeg error when encoding h264 mp4 video

I'm trying to do a simple encoding of an mp4 in h264 to mp4 but I keep getting the error: Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width ...
0
votes
1answer
84 views

FFmpeg build configuration for just AAC, MP3, WAV

I need to use ffmpeg for just converting audio files between AAC, MP3, WAV only. So I want to compile ffmpeg for my requirement. But I don't know best ./configure bla bla bla... commandline for my ...
0
votes
0answers
108 views

What is the lightest possible way to record a screencast with ffmpeg?

I would like to capture a sreencast at 60fps. I tried with this: ffmpeg -f alsa -ac 2 -i pulse -c:a pcm_s16le -f x11grab -r 60 -s 1920x1080 -i :0.0 -c:v libx264 -preset ultrafast -crf 0 out.mkv ...
0
votes
1answer
346 views

ffmpeg says that “'.mkv' is not a suitable output format”

I have trouble with ffmpeg, I want to do a two-pass encoding, plus denoise and deblock if possible. This is a command I thought would work but I am getting all sorts of problems: ffmpeg -y -i ...
0
votes
0answers
120 views

Resume transcoding a video with ffmpeg

I have a node server that uses child-process to use ffmpeg to convert a video to mp4. However if the server crashes while transcoding, then I'd like to resume transcoding the file (similar to -C with ...