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

1
vote
0answers
463 views

ffmpeg extract I-Frames, GOP to jpeg sequence

This is kind of hard to explain, so bear with me. So I'm looking for some way to export video GOP frames to jpegs. I'd like to preserve the I-Frames, P-Frames, B-Frames, etc. So that the next frame ...
1
vote
0answers
804 views

How to get ffmpeg to drop frames / change rate for live source?

I’ve got a webcam and want to dump a frame once a second to disk. A command like this works well to drop 5 frames per second to disk: ./ffmpeg -y -f video4linux2 -input_format mjpeg -r 5 -i ...
1
vote
0answers
500 views

compile ffmpeg to enable libmp3lame

I am using the following command in MinGW in windows to build my ffmpeg, I have already downloaded libmp3lame from here sourceforge.net compiled the build and compile and install the libmp3lame, now ...
1
vote
0answers
140 views

mp3 bug after ffmpeg converting

I'm converting wav (ima adpcm) to mp3 by ffmpeg ffmpeg -i audio.wav -acodec libmp3lame audio.mp3 and play it in browser by html5. But audio doesn't end at about 1-2 seconds from the end of file ...
1
vote
0answers
429 views

Convert interleaved video into separate left/right videos

I'm trying to make two files from video recorded on 3d camera and can't find how can I separate one video onto two. ffprobe video.m2ts gives me Input #0, mpegts, from 'video.m2ts': Duration: ...
1
vote
0answers
204 views

High quality video frame grab under Linux

There is a software (I suppose there are more) under Windows, which claims to take high quality frameshots from videos, called Moment I suppose it works in a way that it takes a set of consecutive ...
1
vote
0answers
950 views

how to create or extract a silent mp3 from a video file using ffmpeg or mencoder?

I am looking to create an mp3 of silence that is the same duration as the input video file using either ffmpeg or mencoder. Using ffmpeg I have tried this: ffmpeg -y -i in.avi -ab 8k -ac 1 -vol 0 ...
1
vote
0answers
290 views

How to display and capture webcam stream at the same time?

This command works perfectly for saving a webcam stream to a file: ffmpeg -f alsa -i default -itsoffset 00:00:00 -f video4linux2 -s 1280x720 -r 25 -i /dev/video0 out.avi How would I simultaneously ...
1
vote
0answers
2k views

Recording Webcam and Audio with ffmpeg on Windows

I am trying to record video + audio with ffmpeg of my defualt webcam. This works with video: ffmpeg -f vfwcap -r 25 -i 0 -ab 64 -ar 22050 -ac 1 output.avi but no sound is recorded. Is it ...
1
vote
0answers
134 views

ffmpeg -t doesn't conversion section of WMV, converts whole video

I'm trying to run the command: ./ffmpeg -ss 0.0 -t 1 -y -i Wildlife.wmv output.mpg to convert the first second of the WMV video, but it converts the whole 30 seconds of the video. Am I doing ...
1
vote
0answers
479 views

Audio Video mixing out of sync with ffmpeg

I am trying to mix a wav file and video file using ffmpeg to get a mpg file. The files are getting mixed but the issue is that the audio runs ahead of video. Please suggest a way to get them in sync. ...
1
vote
0answers
1k views

Convert compressed SWF to AVI (or MPEG etc) via FFmpeg

ffmpeg -i compressed.swf out.avi gives the error [swf @ 0x10180b000]Compressed SWF format not supported so I tried swfcombine -d compressed.swf -o decompressed.swf ffmpeg -i decompressed.swf ...
1
vote
0answers
873 views

ffserver, ffmpeg, flowplayer - stream delay

Good day to all I have a little problem with a stream. I configured a ffmpeg to get a stream from vlc and then stream it again over http with ffserver. Ok... the problem is this: if I configure ...
1
vote
0answers
476 views

Limit MJPEG stream bandwidth

I have a very simple webcam, but it supports MJPEG streaming. Webcam is in remote location, and that location internet connection has a very low upload speed. I can capture that MJPEG stream with ...
1
vote
0answers
662 views

How to provide multiple input to ffmpeg?

I'm using ffmpeg to create time-lapses and it's working great. As input I have images named 001.jpg, 002.jpg, etc. and then with the command ffmpeg -i %3d.jpg -sameq -s 1440x1080 video.mp4 I create ...
1
vote
0answers
545 views

FFMPEG: Convert into avi compatible with mpeg2 DVB-T tuner

I have mpeg DVB-T tuner which plays avi with codecs: xvid and mp3. But when i convert video with libxvid, libmp3lame tuner prints 'Don't support this type'. What the command which successfully ...
1
vote
0answers
930 views

Why I am getting segmentation fault error while converting video using FFmpeg?

I am converting each type video to .flv video using FFmpeg but for some videos I got "Segmentation fault" error why this error was occurred? my code to convert .flv file is function ...
0
votes
0answers
9 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, ...
0
votes
0answers
15 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 ...
0
votes
0answers
22 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
0answers
30 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
0answers
33 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
0answers
32 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 ...
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
0answers
20 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 ...
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
0answers
11 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
31 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
36 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
19 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
0answers
38 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
0answers
205 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 ...
0
votes
0answers
42 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 ...
0
votes
0answers
39 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 ...
0
votes
0answers
24 views

Ffmpeg : I-Frame detection oddity on a single channel input

Summary: When trying to abstract out I-Frames from various positions in videos with slight time offsets, identical results were produced between different offsets. Through experimentation a workaround ...
0
votes
0answers
22 views

How to burn colorful subtitle into video using ffmpeg?

I want to burn an srt file into a mp4 video. To make the subtitles perfectly visible, I want the subtitle text to be yellow on a brownish semi-transparent background. I know that there are some GUI ...
0
votes
0answers
80 views

FFmpeg unable to find a suitable output format when run from script

I'm trying to write bash script, which I can use to start encode of my video for web player, and also log to file when it started / finished. It looks like this: #!/bin/bash ...
0
votes
0answers
46 views

Concatenate video files with mute audio

I am using FFmpeg commands to concatenate five video files. One of the files has only video, no audio. When I concatenate the files, the video is stitched properly but I have a problem with audio: the ...
0
votes
0answers
50 views

Motion - debian 7.5 cannot record movie with ffmpeg

Description I'm running the motion 3.2.12 standard package on debian 75 (wheezy). Motions are detected, events triggered and pictures save in the correct folder as awaited. On the other side, motion ...
0
votes
0answers
10 views

No audio with :start-time

Using the :start-time (or --start-time) option with VLC on the command line usually causes no audio to be played. There seem to be "sweet spots" where it does -- e.g. vlc foo.mkv :start-time=601 ...
0
votes
0answers
70 views

gstreamer: stream g726 encoded audio over rtp

I am trying to stream adpcm (G726: bitrate=32kbps, sampling=8000hz), audio from a host to a client through RTP: I have tried following commands from the client(receiver) and the host(sender). Both ...
0
votes
0answers
21 views

Change Audio title from English to Sinhalese using ffmpeg

I insert an extra Sound track in my video file and it works well. ffmpeg -i news.mov -i news.wav -map 0:0 -map 0:1 -map 1:0 -pass 1 -vcodec libx264 -preset fast -b 512k -minrate 512k -maxrate 512k ...
0
votes
0answers
47 views

Error in converting audio file format from ogg to wav

I am trying to convert an ogg format file that was created using webrtc (html5 usermedia content generated on firefox) and transferred and decoded on the server into a wav file through ffmpeg but am ...
0
votes
0answers
28 views

ffmpeg: get smudged image after 40 seconds of transcoding

I am using ffmpeg to transcode from RTSP to RTMP with: ffmpeg -re -i rtsp://username@127.0.0.1/axis-media/media.amp -vcodec libx264 -b:v 2400k -maxrate 2400k -bufsize 600k -f flv ...
0
votes
0answers
24 views

Setting start date in gource

I'm trying to run gource from a certain date, but it reports me a 'codec not found error'. This is the command without a start date: gource -1280x720 --seconds-per-day 1 --stop-at-end --hide ...
0
votes
0answers
52 views

DEBIAN / MOTION / FFMPEG not compliant - can't get up to date versions working together

Goals I'm running debian 7.5 (wheezy). In a previous post I described the problem I faced with motion 3.2.12 usage (Avcodec opening fails). To move forward I want to compile the same motion version ...
0
votes
0answers
54 views

VIDEO Streaming - How to output the video timestamp?

I would like to backup an ASF video stream with the time stamp (I mean the original recording date/time) on the output stream ? Usage I convert / store my video using the mkv format (Matroska) ...