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
0answers
47 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
35 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
47 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
221 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
46 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
82 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
157 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
19 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
24 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
132 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
66 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 ...
3
votes
1answer
76 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
31 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
91 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
67 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
102 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
169 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
33 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
124 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
78 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
142 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
51 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
113 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
67 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
106 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
83 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
73 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
97 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
49 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
99 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
46 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
345 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
194 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
191 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
125 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
45 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
63 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
78 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
49 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
115 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
167 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
46 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
165 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
86 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
72 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
84 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
164 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 ...