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

FFmpeg error when doing first pass of WebM encoding: Unrecognized option 'auto-alt-ref'

I'm using OS X Mavericks (10.9.4) and installed ffmpeg from homebrew. When executing this command (assuming input file exists): ffmpeg -i ololo.wmv -vf scale=500:-1 -auto-alt-ref 1 -lag-in-frames 20 ...
0
votes
1answer
25 views

Can't convert FLV to MP4 for iPhone with ffmpeg

I'm having issues with converting an FLV to an MP4 that will play on iPhone/iPad via Video-js. It seems that the ffmpeg commands are not converting properly. Here's one of the original commands ...
0
votes
1answer
29 views

Crazy terminal behavior

I am trying to run a script to rip all the audio from a bunch of MP4 files. Everything works when I do it line by line cutting and pasting from my text editor into terminal, but when I create a shell ...
0
votes
0answers
22 views

ffmpeg with a streaming input change channels order and indices on different execution

We're using ffmpeg to take a mpts stream by 3rd party and encode it to a webm file. Now Every time I've call the ffmpeg command I get different map of channels for it. For example: Input #0, mpegts, ...
2
votes
1answer
14 views

Filename quoting in ffmpeg concat

I want to concatenate files with ffmpeg using Concat demuxer as described in this article How to concatenate (join, merge) media files. My files, however contain, single quotes (apostrophes). ...
0
votes
0answers
19 views

How to extract frames with ffmpeg? What I'm doing wrong?

I'm trying to extract frames from an MP4 using FFMpeg. When I run: ffmpeg -i aaa.mp4 -r 10 extraced%03d.png I keep getting this error: Could not open file ...
1
vote
1answer
35 views

Can ffmpeg read gif image(s)?

I have a lot of similar gif images and I want to make a movie in that way: ffmpeg -i img%06d.gif -c:v libx264 mymovie.mp4 If all images are JPEG everything works fine. But GIFs are stuck with ...
0
votes
0answers
36 views

ffmpeg extract subtitles with unknown codec

I'm writing a program which extracts images and GPS coordinates from files that were created by car video recorder. In many models it creates two separate files Video and GPS but not all, some ...
0
votes
1answer
32 views

FFmpeg HEVC -crf attribute

I am using FFMPEG version 20140406-git-59c1023-win32-static with the following cmd ffmpeg -i "C:\1.mkv" -c:v libx265 -crf 18 -preset veryslow "C\2.mkv" The produced output filesize from running ...
0
votes
0answers
34 views

What does the FFmpeg warning “Missing picture in access unit with size x” mean?

I've recently updated to the most recent version of ffmpeg and now everytime I edit a flv, I always get endless warnings: [Null @ 002de180] Missing Missing picture in access unit with size xxxx ...
0
votes
1answer
26 views

Can't get codecs for mp4 on Ubuntu

I cannot enable mp4s on any sort of video player on a fresh install of ubuntu, though admittedly Ubuntu 10.10, which I have attempted to update via the Ubuntu-Software-Center route. Is there a simple ...
0
votes
1answer
25 views

Multiple Ffmpeg instances choking up the CPU to 100%

I have a task to record timelapse videos from multiple IP-cameras (e.g. camera1.mp4, camera2.mp4, camera#.mp4,etc.). Currently i am running separate ffmpeg.exe instances simultaneously on an MS Azure ...
0
votes
0answers
40 views

ffmpeg - how to create 5 second video zooming out effect with 1 image

I know how to make 5 second video "zooming in" effect with 1 image using zoompan. ffmpeg -loop 1 -i image1.jpg -vf "zoompan=z='min(zoom+0.0015,1.5)':d=125" -c:v libx264 -t 5 -s "800x450" zoomin.mp4 ...
0
votes
1answer
9 views

ffmpeg edit avi metadata and audio track naming

I have a bunch of movies in avi format on my disk. However, they don't contain any metadata like title etc. I found a command which would do it for me : ffmpeg -i input.avi -metadata ...
0
votes
0answers
37 views

FFmpeg/avidemux: fix packed B-frames

I'm transcoding some of my old mpeg4 videos (in avi containers) to h.264 with FFmpeg. Basically ffmpeg -i input.avi -c:v libx264 [x264 settings] -c:a libfdk_aac [aac settings] output.mp4 When doing ...
1
vote
0answers
41 views

FFmpeg Upscaling Video

First I just want to say a bit more about my title, I am not referring to the fact that upscaling doesnt add data(as often asked when upscaling) - but something different. Example I have raw video ...
0
votes
1answer
42 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
19 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 ...
0
votes
1answer
64 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
29 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
0answers
25 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 ...
1
vote
1answer
65 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 ...
-1
votes
1answer
38 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 ...
0
votes
0answers
19 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
10 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]; ...
0
votes
1answer
34 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
38 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 ...
0
votes
1answer
47 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
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 ...
0
votes
0answers
12 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
49 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 ...
0
votes
0answers
33 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, ...
1
vote
0answers
38 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 ...
0
votes
0answers
41 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 ...
0
votes
0answers
20 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
13 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 ...
0
votes
1answer
32 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 ...
0
votes
0answers
39 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 ...
0
votes
1answer
93 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 ...
0
votes
1answer
56 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 ...
0
votes
0answers
247 views

Streaming an RTMP live stream from NGINX to Icecast2 on CentOS

I have had success with using exec_push in NGINX's RTMP module to have FFMPEG convert live streams to HLS. The next thing that I would like to do is publish an audio stream from the same source to ...
2
votes
0answers
79 views

How to merge MP4 files with different bitrates?

I want to merge two or three MP4 videos with MPEG-4 AVC video codec and MP3 (sometimes MP3 Surround) audio codecs. Both audio and video can have different bitrate. If it will be possible, without ...
0
votes
1answer
43 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 ...
1
vote
0answers
21 views

How can I select the most “steady” frames from a video with ffmpeg, where less motion occurs?

I would like to use ffmpeg to select out frames from a video to make a preview picture. In the past I selected out frames manually: I extracted 1000 frames at equidistant time and then I picked out ...
0
votes
1answer
33 views

Fast-Play 1 Hr. Video (with Audio stream) in 2 min

For a Research Project in brain and cognition we need to show the subjects 1Hr. videos in 2 mins. I understand there is a function in most media players out there to speed up the video. But I'm not ...
1
vote
1answer
27 views

Piping xpra to ffmpeg

I'm trying to record a headless, xpra display. (I've attempted both the xvfb and Xdummy options). The issue is with ffmpeg's "x11grab". The command being used is: /usr/bin/ffmpeg -y -framerate 2 ...
0
votes
0answers
45 views

Converting RAW Blackmagic Intensity Card frames

I am trying to convert raw video frames that I have captured using a Blackmagic Design Intensity card. The output frames are of the format: YCbCr 4:2:2 packed 8 Bit UYVY Abekas How can I convert ...
1
vote
1answer
37 views

Is it possible to autocrop black borders of a video with ffmpeg?

I think it has a "blackness" video filter, which can determine if a picture sequence is black. Maybe it also has a filter to determine crop values automatically to remove black borders form edges of a ...
1
vote
1answer
17 views

FFmpeg pass through

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
0answers
40 views

FFplay : How to play multi audio track at the same time?

I'm trying to play a video with multi audio track in it. It's a conversation on three different tracks. At the moment, I'm only able to play one track at a time. I can't find a player that work this ...