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
312 views

How to build FFmpeg with Freetype2 for Android

On OSX Yosemite I'm trying to build FFmpeg with freetype library included ( I need it for drawtext filter ). Unfortunately I cannot configure ffmpeg properly and every try ends with "freetype not ...
1
vote
2answers
845 views

overlay transparent animation over video with ffmpeg

Overall task is to overlay animated infographics over video. What I would like as a result shown in this video http://www.youtube.com/watch?v=ZhMF3WD9pr0 Nice animated semi-transparent cyan line on ...
0
votes
0answers
35 views

ffmpeg: video4linux2 + pulse desync

I was able to get the Video4Linux2 driver to use my USB capture card, Roxio Easy VHS to DVD, but only the audio. I've given up on fixing that, so I'm using my microphone ports, with an RCA adapter. I ...
0
votes
0answers
217 views

What ffmpeg command line matches the one YouTube uses?

I am trying to use the same command line YouTube uses for quality etc. in H.264/MP4 containers. I have been working on converting videos into multiple formats, scales, sizes and adjusting the bit ...
0
votes
0answers
111 views

FFmpeg / libav / Avconv settings to add higher contrast to a video

I successfully convert videos to mp4 from images turning the video black and white, is there a way to add contrast and brightness to balance the higher contrast so that it looks sharper? Here is the ...
0
votes
1answer
57 views

Mux .aac and .h265 together using ffmpeg

I found some example codes on the internet and built a program to encode a live feed from a webcam or yuv file using h265. I used the libx265 for this with ffmpeg. Now i want to mux an aac file with ...
2
votes
0answers
323 views

Cutting videos at exact frames with ffmpeg select filter

Instead of using -ss and -to seeking parameters, which are seems not very accurate, can I cut videos for given frame numbers? For example; ffmpeg -i video.webm -startingframe 80 -endingframe 560 ...
0
votes
3answers
85 views

combining 1 image + 1 audio using FFmpeg

I want to combine an audio file and one image file into a video. Output will be in .webm format so I will be using libvpx. The video must have one frame with the best/lossless quality. So far I have ...
0
votes
1answer
166 views

How to convert mkv file to mp4 with subtitles and changing DTS audio to AAC or AC3?

I'm very new to ffmpeg, so I have a few questions I hope you could help me with. I have some mkv files that I would like to copy to my PS3, so I have to convert them. Someone told me the easiest way ...
1
vote
1answer
258 views

incompatible pixel format 'yuv420p10le' for codec libx265

I am using ffmpeg -probesize 2G -i input.ts -c:v libx265 -pix_fmt yuv420p10le -x265-params fps=50 -c:a libfdk_aac -t 00:00:05 /output.ts I receive the error incompatible pixel format ...
1
vote
2answers
98 views

Create MP3 from WAV without silence at the start and end

I´m creating MP3 files from WAV in FL Studio. But in created MP3 file is a very short silence (for example 0.02 sec) at the begging and at the end of the file. In my program, I want merge(join) these ...
0
votes
0answers
86 views

ffmpeg synchonization of libfdk_aac (or libfacc) and libx264

How to synchronize libfdk_aac and libx264 streams? ffmpeg -i pipe_libfdk_aac.fifo -i pipe_libx264.fifo -c copy -f flv flv_stream_pipe_or_rtmp.output I'm always receiving the same asych in all ...
0
votes
0answers
9 views

Changing the default decoder aac(native) into aac(libfdk_aac) or aac(libfaac) [duplicate]

Is is posible to change default decorder of ffmpeg? If I use ffmpeg -i pipe_video.fifo -i pipe_audio.fifo -c:v copy -f flv file.flv ffmpeg automatically changes aac(native) into (mp3)libmp3lame ...
0
votes
1answer
108 views

How can I join multiple wav/flac/audio cds into one master big audio file (>4gb)

I have multiple Audio CDs that I want to merge into one final flac or mp3 file. For example I have 10 audio cds. I can encode each CD into its single wave/flac file, or even mp3, but then I need to ...
0
votes
2answers
47 views

How to create an MP3 copy of FLAC collection, down to directory structure?

I have a collection of FLAC rips that I use for archival purposes and playing on my Hi-Fi system. However, I would like to create an MP3 copy of my entire FLAC collection (for using on my laptop, ...
1
vote
2answers
121 views

Installing the iLBC codec (libilbc) on Mac OS X for use with FFmpeg

I'm trying to use FFmpeg to encode files with the iLBC codec, e.g.: ffmpeg -i audio.wav -ar 8000 -acodec ilbc audio.lbc -y This worked fine on Windows, however on Mac OS X I'm getting the error ...
0
votes
1answer
243 views

how to fix ffmpeg inaccurate time stamp that corrupts thumbnail generation

So this is intreasting i recieved a video upload today with a time stamp of over a hour when i checked the video its only 8mins long. "C:/server/ffmpeg/bin/ffmpeg.exe" -i ...
1
vote
1answer
33 views

Can ffmpeg capture a frame from a part of a video that's been split?

I have a video file split into many small files with the split command (then I can merge them with cat). split --bytes=100M video.mp4 new Now I want to take a snapshot of the beginning of each ...
0
votes
0answers
87 views

How can I make a video “seekable” using ffmpeg when played in VLC player?

I have a .mkv video with the following properties: Input #0, matroska,webm, from 'DEMO.mkv': Metadata: ENCODER : Lavf56.4.101 Duration: 00:00:56.37, start: 2.333000, bitrate: 2032 ...
0
votes
0answers
90 views

my own tv news channel - using vlc streaming

I want to create my own tv channel (using vlc streaming). And for now - it works great: cvlc --sout-keep --loop --sout '#standard{access=http,mux=ts,dst=:2000}' file.avi But i have two problems: ...
0
votes
1answer
213 views

Converting DVD subtitles to text

I want to convert image-based subtitles (dvd_subtitle) to text-based subtitles (mov_text). I'm on OS X and would strongly prefer to use a free command-line based tool. My source data is either a DVD ...
0
votes
0answers
66 views

best directory to install ffmpeg on centos to use in php

I want to install ffmpeg.(I am on a VPS - centos6.5) I failed before...for example when I installed it I couldn't call it in php for example: exec('ffmpeg ... ') it returned me:no permission ...
0
votes
1answer
43 views

Is ffmpeg-php important to run ffmpeg in php?

I installed ffmpeg (not ffmpeg-php) Now can I run a command like this?: exect('ffmpeg -i begin.mp4 end.ogg'); My server provider told me I couldn't run this command in php because of ffmpeg-php! ...
0
votes
0answers
80 views

Video streaming in Mac using ffmpeg

I've installed latest version of ffmpeg using Homebrew. Specifically, I used the following command: brew reinstall ffmpeg --with-fdk-aac --with-ffplay --with-freetype --with-frei0r --with-libass ...
0
votes
0answers
379 views

How to join two videos with a cross-fade effect using FFmpeg?

I want to merge two video files with a cross-fade effect between them (just about a second long), but without fading to black or white or any colour at all - it has to be a smooth transition from one ...
0
votes
0answers
55 views

FFMPEG How to write errors or crashes to syslog (Windows event viewer)

So in php when errors occur you can send errors to the syslog. error_log = syslog With ffmpegs command line how can you tell ffmpeg to write errors or crashes to the syslog so you can open windows ...
1
vote
0answers
99 views

ffmpeg create video from an image sequence with a windows batch script

I need to convert jpg image sequences that are changing in their file naming convention to h264 mp4 1920x1080 video files, so I thought I create a jpg2mp4.bat file in a windows text editor. I have ...
0
votes
1answer
234 views

ffmpeg records RTSP only for 30 seconds and then freezes

while trying to record RTSP stream, I noticed that ffmpeg only records up to 30 seconds, and then it just simply freezes I pressure Ctrl + C to terminate. I am running ffmpeg version 2.5.2 ...
0
votes
1answer
21 views

ffmpeg: slow video by dropping frames

I want to take a 60fps video and drop every other frame, making it 30fps without changing the duration. I have not been able to find this online; everything seems to be about changing the frame rate ...
0
votes
0answers
27 views

recompile ./configure ffmpeg on centos 6

I can work with ffmpeg with these commands: shell_exec("ffmpeg -i $inputPath $outPath"); or shell_exec("/usr/local/bin/ffmpeg -i $inputPath $outPath"); And Also I can call it on SSH centols ...
0
votes
1answer
183 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
96 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
113 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
37 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
112 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
88 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
130 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
285 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
38 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
145 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
133 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
184 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
59 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
131 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
98 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
183 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
58 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
118 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
97 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 ...