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

ALSA buffer xrun when recording with ffmpeg

Is there any way to increase the ALSA buffer size? When running this command: ffmpeg -f alsa -ac 2 -i hw:1 -ar 44100 -b 64k output.mp3 I get a "ALSA buffer xrun" before my system locks up Input ...
1
vote
0answers
186 views

ffmpeg cpu stuck at 99%

I get this sometimes when using ffmpeg Stream mapping: Stream #0:0 -> #0:0 (mjpeg -> mjpeg) Press [q] to stop, [?] for help Input stream #0:0 frame changed from size:559x1425 fmt:yuvj420p ...
1
vote
0answers
575 views

FFmpeg AVI to MP4 preserves sound, but not images

Working with FFmpeg at a conversion (any file to MP4 (H.264/AAC)): ffmpeg -y -i testdatei.avi -i logo.jpg -filter_complex overlay=15:15,scale=-1:720 -c:v libx264 -profile:v baseline -preset medium ...
1
vote
0answers
423 views

ffmpeg and matching encoding options

I have two mp4 files captured from different android devices. the ffmpeg output of each file is listed below. Can i re-encode two.mp4 so that the encoding options are the same as one.mp4? I cant see ...
1
vote
0answers
153 views

Stop ffmpeg from creating multipart avi files

I am trying to convert h264 avi files to Xvid format using FFMPEG. The video files are about 90min long. The code I am using is: ffmpeg -i input.avi -c:v libxvid -r 15 -an -vtag xvid -f avi ...
1
vote
0answers
262 views

what is missing in this ffmpeg statement to create a working video conversion

I want to convert videos to a format that my camera reads with ffmpeg. I have some sample videos from the camera and analyzed them with mplayer -frames 0 -identify DSCN0001.mov and with ffprobe ...
1
vote
0answers
320 views

FFmpeg failed to transcode

I have successfully installed Video Module with FFmpeg/avconv in local machine. My current version of FFmpeg is "0.6.0-svn". I have downloaded the video preset package from drupal.org for FFMPEG and ...
1
vote
0answers
503 views

Creating video from DNG images with FFmpeg

I'm trying to make a video from TIFF images that are DNG pictures. The problem is that the resulting video that FFmpeg creates, have a resolution lower than the original pictures I tried with image2 ...
1
vote
0answers
575 views

how to reduce h264 annex B NAL unit sizes to avoid IP fragmentation?

I'm trying to stream a video over to a terminal using RTP. The video is coded in h.246. I'm using ffmpeg to extract the byte stream according to h.264 annex B : ffmpeg -i test.h264 -vcodec copy -vbsf ...
1
vote
0answers
805 views

FFMPEG - streaming a playlist of videos to RTMP

I'm aware that you can stream files to a video server using FFMPEG - something like the following. fmpeg -re -i localFile.mp4 -c copy -f flv rtmp://server/live/streamName Is anybody aware of ...
1
vote
0answers
680 views

Webcam stream doesn't work on Logitech E2500

I'm currently trying to get webcam streaming to work on a Logitech E2500 with ffmpeg. Running the command gives me some kind of buffer length error. pi@raspberrypi ~/ffmpeg-dmo-1.0 $ sudo ...
1
vote
0answers
301 views

FFmpeg encoding for meta data wrong – need it in UTF8

When I run this command ffmpeg.exe -i test.mp3 -metadata title="The Title You Want" -metadata artist="ÄÄÄßß!`n Artist Name" -metadata album="Name Fö#'ddp+!of the Album" -c:a copy -id3v2_version 3 ...
1
vote
0answers
398 views

mjpeg mov created by the newest FFMPEG looks in Windows Media Player like half sized videos

I have new version of FFMPEG installed and created mov compressed with mjpeg. Is looks pretty in Afx, Premiere and QucikTime player but it looks like half-sized video in Windows Media Player. There ...
1
vote
0answers
511 views

.MOV video compressed with PNG has no alpha channel

I have a QuickTime file .mov with alpha channel compressed with PNG codec. What I need is to create smaller version of this file using ffmpeg. Everything works except new mov has no alpha (Adobe After ...
1
vote
0answers
727 views

Fade in a movie from white with FFmpeg

I have an AVI file and I want to create a fade effect, BUT I want the fade-in to begin with white, meaning I want the first frame to be white and the movie should slowly (and continuously) appear ...
1
vote
0answers
1k views

Failed to convert a wmv file to mp4 with ffmpeg

i need a help with this command FFMPEG COMMAND: ffmpeg -y -i /input.wmv -vcodec libx264 -acodec libfaac -ac 2 -bufsize 20M -sameq -f mp4 /output.mp4 Output: ffmpeg version 1.0 Copyright (c) ...
1
vote
0answers
160 views

FFmpeg cuts video duration while transcoding

When using ffmpeg on linux, my 4.3GB 2.21 second video is being chopped down to 1.56 duration. I'm trying to reduce file size, but not lose frames. steve@steve-OptiPlex-170L:~/Desktop$ ffmpeg -i ...
1
vote
0answers
698 views

Cannot stream webcam using ffserver because of malloc error

I was following this tutorial RaspBerry Pi webcam and when I run the following command from root: $ ffserver -f /root/ffserver.conf & ffmpeg -v 2 -r 5 -s 640x480 -f video4linux2 -i /dev/video1` ...
1
vote
0answers
509 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
830 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
567 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
145 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
462 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
206 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
310 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
484 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
931 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
489 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
678 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
555 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
965 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
22 views

Find if a short MP3 exists in a longer MP3

I have 2200 MP3s are were cut from longer MP3s in Audacity and export at 128 kb/s. Unfortunately, I would like to have these re-cut at 320 kb/s (the same as the source MP3s). Is there a tool that can ...
0
votes
0answers
43 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
20 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
0answers
28 views

avconv and ffmpeg: errors reading png files

I'm trying to use avconv to overlay data onto a video. I generate PNG files representing the overlay data at 4fps. The PNG files are the 120px wider and 60px taller than the original video, because ...
0
votes
0answers
16 views

How to enable php extention in centOS 6.5 with php 5.5

I have installed ffmpeg extension using this tutorial in Cent OS 6.5 with PHP 5.5. When I check with # ffmpeg command in terminal. it shows me following output ffmpeg version 2.2.1 Copyright (c) ...
0
votes
0answers
33 views

ffmpeg error when encoding h264 mp4 video

I'm trying to do a simple encoding of an mp4 in h264 to mp4 but I keep getting the error: Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width ...
0
votes
0answers
37 views

What is the lightest possible way to record a screencast with ffmpeg?

I would like to capture a sreencast at 60fps. I tried with this: ffmpeg -f alsa -ac 2 -i pulse -c:a pcm_s16le -f x11grab -r 60 -s 1920x1080 -i :0.0 -c:v libx264 -preset ultrafast -crf 0 out.mkv ...
0
votes
0answers
20 views

Resume transcoding a video with ffmpeg

I have a node server that uses child-process to use ffmpeg to convert a video to mp4. However if the server crashes while transcoding, then I'd like to resume transcoding the file (similar to -C with ...
0
votes
0answers
17 views

Add credits to the end of the video

Is it possible to use ffmpeg to make credit titles at the end of the video ? I have a very long string of authors separated by comma as input. Managed to create 1 frame and append all the string to ...
0
votes
0answers
17 views

sample_full_transcode , Video is not converted properly using Hardware acceleration

On going through sample_full_transcode provide @ https://software.intel.com/sites/default/files/MediaSamples_Windows_5.0.491.98719.msi I observed trancoding video is good with Software acceleration, ...
0
votes
0answers
18 views

How to add filters to ffmpeg, mp

I tried to use ffmpeg filter 'mp' but it reports there is no such filter. what I tried: 'ffmpeg -i input.avi -vf mp=ep2=xxx output.avi' And I build ffmpeg from this link: ...
0
votes
0answers
63 views

How to make ffmpeg segment filename have the time created

I'm using ffmpeg to segment a video stream and I would like ffmpeg to name the segment files with a created date/timestamp. Is this possible? Let's say I have segments of 30sec video each: 0000.flv, ...
0
votes
0answers
35 views

FFmpeg HLS muxer .ts file name format

Is it possible to have .ts files named by date/time (any format) instead of sequence number when using the HLS muxer? If so, how can it be done? ffmpeg -i - -hls-some-option-here test_stream.m3u8 ...
0
votes
0answers
36 views

VLC and MPC-HC struggle to play m2ts with srt subtitle. Any other ways to use m2ts with srt?

So, I've got a m2ts file with the following parameters: Format : BDAV at 34.2 Mbps Length : 12.0 GiB for 50mn 8s 10ms Video #0 : AVC Aspect : 1920 x 1080 ...
0
votes
0answers
37 views

Is it possible to modify the timecode format of ffmpeg?

I am trying to overlay my video with the timecode. Currently, I have this: ffmpeg -y -i input.avi -vf "drawtext=:fontfile=/Windows/Fonts/myfont.ttf:timecode='00\:00\:00\:00':rate=$framerate: ...
0
votes
0answers
16 views

FFMpeg video creation from png not all images used

I am trying to turn png files into a video using ffmpeg. I am getting videos but the ordering is all wrong. My directory looks like this: *otherstuff..not pngs* file_01.png file_02.png ... ...
0
votes
0answers
36 views

Video capture , streaming & archiving with TENVIS camera JPT3815W

I want to publish an ASF live video stream over the internet and also copy the backup to disk (without sound to spare disk space) I'm running debian 7.7 wheezy / ffmpeg 2.2 and ffserver 1.2.9. The IP ...