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

FFMPEG - How to record multiple RTMP streams into multiple files

I tried the following, but it does not work. ffmpeg -i rtmp://83.229.210.89/RAZTV/BTVraztv1 -map 0 -b:v 900k -vcodec libx264 -acodec aac -b:a 256k -strict -2 -t 3600 ...
0
votes
0answers
9 views

ffmpeg error : -vf/-af/-filter and -filter_complex cannot be used together

I am trying to run the following cmd, which should add a watermark to the video and also upscale it. ffmpeg -i "in.avi" -i "\logo.png" -vf scale=854:-1 -preset veryfast -crf 20 -filter_complex ...
0
votes
0answers
2 views

.swf file gets cut short after conversion to mp3 with ffmpeg

So I have a .swf file which i need to convert to .mp3 (or any other audio file), it looks like this: vytautas@vytautas-SATELLITE-C660:~/Desktop$ ffmpeg -i rem.swf ffmpeg version 2.2.git Copyright (c) ...
0
votes
0answers
11 views

Using ffmpeg to capture time lapse of desktop

I'd like to use ffmpeg to capture a time lapse video of the desktop. The goal is to take an image every 3 seconds and create a high speed playback time lapse. Currently I'm using this command, but ...
1
vote
1answer
1k views

ffmpeg - concatenating two MP4 files results in bad output file

I generated two MP4 files - a five-second intro file, which is created by the script below, and the main video (about one minute long) is created by screen-cast-omatic, both in MP4 format. When I ...
0
votes
0answers
7 views

ffmpeg: Convert any Video to padded and scaled 720p

I looked for 2 hours through the documentation, but I couldn't figure it out. I currently write a script and now I need to concat up to 10 videos with different ratios/framerates/codecs/size etc. ...
0
votes
1answer
480 views

FFMpeg FTP output issue, can't output to MP4 format

I have a problem with FFMpeg when I want to convert video to MP4, and output to FTP. Simply try to do this (and it will not work): ffmpeg.exe -i test.avi ftp://127.0.0.1/dumped.mp4 But it works ...
0
votes
0answers
13 views

Trouble streaming output from mplayer to a browser through ffmpeg, ffserve

Disclaimer: I'm the producer of the DVD used in this post, so there's no legal issue with me decoding the content :) I'm building a web-based DVD player using mplayer and ffmpeg. It's very close to ...
1
vote
1answer
32 views

crossfade between 2 videos using ffmpeg

I've been trying to achieve a crossfade transition between 2 video clips using ffmpeg but have failed so far. I'm new to ffmpeg and am mostly relying on tweaking what I can find in the documentation ...
0
votes
1answer
23 views

ffmpeg hue shift in tiff output

I'm using these commands to generate tiff and jpeg output from the same input mpeg2 file ffmpeg -ss 14 -i '../test/test-in.mpg' -q:v 3 -vframes 1 -aspect 4:3 -vf ...
1
vote
0answers
18 views

Is there multiple types of transitions in ffmpeg while merging two or more videos?

I have 3 video files. I am using ffmpeg library to merge them all. While merging them right now I am using fade In/Out transitions only. I want to enhance that feature in my site, can I do ...
6
votes
2answers
9k views

How to clip a movie from specified start time in ffmpeg?

I'm trying to clip some movie from time A to time B using ffmpeg. I can set how long the target video should be using the -t flag, but how should I tell it to start that time from time A? In other ...
-1
votes
1answer
27 views

Run shell script (.sh) from wine

I am new to the wine community. I need some help with a project I am trying to do. I have installed Wine over Ubuntu 14.04 and I have installed ffmpeg on my machine (ffmpeg as a linux program). I ...
11
votes
2answers
18k views

How to merge audio and video file in ffmpeg

I want to merge an audio file (.wav or .au format) with a video file (.mp4 format). Please suggest me a open-source utility to achieve this. I want to merge these file to new .mp4 video file. An ...
1
vote
1answer
2k views

ffmpeg - creating DNxHD MFX files with alphas

I'm struggling with something in FFMpeg at the moment... I'm trying to make DNxHD 1080p/24, 36Mb/s MXF files from a sequence of PNG files. My current command-line is: ffmpeg -y -f image2 -i ...
0
votes
1answer
19 views

FFMPEG - Convert a video to a timelapse

I'm using ffmpeg in flash builder (Action script 3) to convert a video to a time lapse of the video. I've worked out how to use setpts to do this, but the resulting output file is the same length as ...
0
votes
1answer
29 views

ffmpeg webcam capture a/v out of sync

I'm running this command to capture video and audio from my webcam: ffmpeg -y -f video4linux2 -s 320x240 -i /dev/video0 -f alsa -i "plughw:CARD=U0x46d0x825,DEV=0" -ac 2 -strict experimental ...
2
votes
2answers
1k views

Convert video from .mp4 to .ogg

I am using ffmpeg version 0.11.1 Copyright (c) 2000-2012 the FFmpeg developers . I need to convert a file .mp4, to .ogg format. I am on Mac OS X, and I have tried this so far: ffmpeg -i ...
0
votes
0answers
12 views

Webcam overlay drifts away from screengrab

I'm using ffmpeg like this: ffmpeg -itsoffset -2 -f alsa -i "plughw:CARD=U0x46d0x825,DEV=0" -f x11grab -r 15 -i :0.0 -vf "[in] scale=iw/2:ih/2, pad=2*iw:ih [left]; movie=/dev/video0:f=video4linux2, ...
0
votes
0answers
5 views

choppy audio output with multiple video sources

I'm running this to put a screencast and webcam side by side and stream it over the net: ffmpeg -f x11grab -r 15 -i :0.0 -vf "[in] scale=iw/2:ih/2, pad=2*iw:ih [left]; ...
8
votes
1answer
128 views

Cannot concatenate videos ffmpeg

I have a bitmap that I would like to concatenate to the front of many videos as a sort of title screen or disclaimer screen. I try to turn it into a video with the same attributes as the rest of the ...
0
votes
1answer
88 views

Good way to convert video to VP9 and HEVC (h265) as easily as Handbrake [on hold]

I have a Sony 4K camcorder that records into AVC (h264). The files are enormous and I'd like to convert them into a more efficient codec. I've used Handbrake extensively to compress my videos into ...
1
vote
1answer
2k 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 ...
0
votes
0answers
14 views

Video orientation flag reset or disabling it on youtube [duplicate]

I've recorded a video on my smartphone (android-based). I've been recording it in a landscape mode. Then when I uploaded it on youtube - it somehow recognized the original orientation and made it to ...
3
votes
1answer
687 views

iPhone recorded videos getting rotated on Windows systems

I am recording videos on iPhone and uploading them to my Linux server. Users can see these videos on website. If users are seeing videos on mac or iDevices the video is looking fine but when users are ...
0
votes
1answer
24 views

ffmpeg can't create Ogg Vorbis

I'm trying to convert a set of .PNG files and a .WAV file into an Ogg Vorbis video using ffmpeg on Windows 7. When I run "ffmpeg -codecs" I can see libvorbis listed, but when I try to use it in a ...
0
votes
0answers
10 views

Improve seeking precision for wma encoded in ffmpeg

Compressed audio formats (like compressed video) have trouble doing precise seeking. Is there something in the ffmpeg encode settings that I can change to make the resulting audio file allow more ...
0
votes
0answers
33 views

Mix arbitrary number of audio files into single stereo audio file using ffmpeg

I'm currently working on a karaoke application and need to merge arbitrary number (from 1 up to 12) input tracks together with a song track into single output audio file that should be stereo. I ...
15
votes
2answers
23k views

Why would I choose Libav over FFmpeg, or is there even a difference?

From what I've seen it looks to me like Libav's avconv is thought to become a successor of ffmpeg — is that correct? If that's true, why is that so? What exactly is libav doing better and why would ...
1
vote
1answer
2k views

FFMPEG Segfault Solutions

I'm trying to convert a bunch of movies into h.264 mp4's using FFMPEG. These movies are sourced from various portable camcorders such as the Flip Mino HD and the Kodak ZI8. One issue I'm having with ...
0
votes
0answers
20 views

Ubuntu Screencasting: Libavdevice segmentation fault

I'm trying to stream to twitch a screencast of a remote desktop, but I meet some segmentation fault. The OS is: Xubuntu 14.04 , xfce, x2go I tried with Ubuntu 14.04, Ubuntu 12.04, ffmpeg and avconv, ...
0
votes
0answers
5k views

Convert swf file to mp4 file using FFMPEG [closed]

I now want to show an html5 video on a html page. Now I have an sample.swf file, I want to convert it to .mp4 or .ogg or .webm file. I have tried: ffmpeg -i sample.swf sample.mp4 But I got this ...
1
vote
0answers
25 views

FFMPEG create zoompan shaky or jittery

I want to create 5 second mp4 video from 1 image. When I use below code the video is smooth. Default direction is zoom in to top left. ffmpeg -loop 1 -i prop1.jpeg -vf ...
2
votes
1answer
101 views

Cutting multi-bitrate MP4 files for Helix Server with FFmpeg

We are using Helix Server in order to distribute Video On Demand (with multi-bitrate) Content among our audience. This means that there is one MP4 file that contains multiple video streams and one ...
6
votes
3answers
1k views

ffmpeg/avconv force scaled output to be divisible by 2

I record my desktop with avconv (aka ffmpeg) and then scale it to 720p. I recently added to my script so they can select a window with xwininfo and it will record that one specifically. However, if ...
9
votes
2answers
5k views

How to get length of video file from console?

Suppose we have video file some_video. How to get length of it from a shell script (with mplayer/transcode/gstreamer/vlc/ffmpeg/whatever)? VIDEO_LENGTH_IN_SECONDS=`ffmpeg .... -i some_video ... | ...
0
votes
0answers
18 views

ffmpeg errors when converting caf to mp3/wav

It seems similar posts around here suggest this should work but I keep getting errors. While trying to convert a caf file to an mp3 or wav using ffmpeg ffmpeg -i sample.caf out.mp3 libavutil ...
1
vote
1answer
163 views

ffmpeg: adaptively stretch contrast

Consider a (color) video recorded under poor conditions. Its frames' brightest pixels are well below pure white, its darkest ones well above pure black. Can each frame's contrast be stretched closer ...
0
votes
2answers
816 views

Subtitles .SRT are not displayed on my Sony Bravia TV while they are displayed on my Samsung TV

I have plenty of MKV files with their SRT files stored on a DLNA server. Subtitles appear well when watching these movies on my Samsung TV, but do not appear on my Sony Bravia. How can I solve the ...
0
votes
0answers
17 views

ffmpeg overlay rotated images onto a video, how to transparent the output area not covered by the rotated image?

I am using ffmpeg to overlay a picture on a movie. The requirement is to rotate the picture through an arbitrary angle. Using filter_complex, I can overlay the rotated picture now. However, the output ...
0
votes
0answers
11 views

Troubles getting -t option with ffmpeg to produce a gif with the right fps and length

I created a movie using matplotlib (the Python graphing package). It is 10 seconds long. I attempted to produce a *.gif using ffmpeg with the following command: ffmpeg -i animation.mp4 -pix_fmt ...
8
votes
2answers
328 views

How to convert .avi video that has 1 static image in the video (with sound) to mp4 video with ffmpeg to least possible size?

I've an .avi video (divx) that's at 25fps and it has mp3 audio at 64kbit/s. This video has just one image throughout the entire video. I'm trying to convert this video to mp4 but to make it as small ...
0
votes
0answers
33 views

ffmpeg - cannot fade to white in x264

I have a directory full of images that I am converting into a video using ffmpeg. The first frame is a black title frame that fades/morphs into the first video frame, with a 5-frame morph. I do ...
1
vote
1answer
388 views

Add audio at specific time in video using ffmpeg

I want to add an M4A audio of 5s duration to an MP4 video file. I have already tried the -itsoffset command of ffmpeg. ffmpeg -i a.mp4 -itsoffset 00:00:10 -i b.m4a -map 0:0 -map 1:0 -preset ultrafast ...
0
votes
1answer
9k views

How can I set a h.264 profile level with ffmpeg?

I have a movie (m4v/h.264/AAC) which plays fine on my Mac but I recently discovered that it wont play on my Apple TV3. After looking at the properties of this movie file I see that it has a profile ...
0
votes
1answer
32 views

Using a screen capture program (ffmpeg with uscreencapture in my case) to record a Flash video playing on screen

I'm trying to capture my desktop, precisely a full screen video - think "YouTube video on full screen situation", or if you'd record a programme on iPlayer (or any other content deliverer) - what ...
0
votes
1answer
40 views

FFmpeg encoding part of the video with subtitles

encode part of a file and at the same time add the subtitles for that part. I am using: ffmpeg -ss 00:02:00 -t 00:00:30 -i "path/to/input" -c:v libvpx -crf 5 -b:v 3M -c:a libvorbis -vf ...
1
vote
2answers
1k views

User Generated Chroma Key Composite Videos with FFMPEG / AVCONV

I want to create a system where a user can upload two videos to a website, one of which has blue screen in the background, and the website uses AVCONV (or similar) to create a composite video of the ...
0
votes
1answer
65 views

Unrecognized option 'b:v' when trying to convert a video

I get "Unrecognized option b:v" when I tried to convert a video. I'm using FFmpeg version SVN-r26402. Here is my error log: Raw Conversion Log Started on 2014-06-29 00:02:02 - 2014 Jun 29 Checking ...
1
vote
1answer
2k 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 ...