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

using ffmpeg to stitch together image files, having troubles with audio synchronization

I'm going to be stitching together images recorded alongside a video, and then use the audio track from the original video. To make sure things work as expected, I run a simple test that splits a ...
0
votes
0answers
337 views

ProRes transcoding in ffmpeg too slow

We are trying to transcode movies / clips into ProRes LT by using following options: ffmpeg -threads "16" -i "$2" -flags +ildct -vcodec prores -profile 1 -qscale 4 \ -threads "16" -r 24 -vf ...
3
votes
1answer
375 views

ffmpeg - different input and output duration

I have strange duration issue when converting videos from mp4 to flv. Also there is a different "start_time", what is that? What does start_time means? input duration - 0:00:29.577000 input ...
2
votes
1answer
352 views

How to use slow motion effect in a specific time interval with ffmpeg

I'm trying to use slow motion effect on my videos. Let's say I have a 2 minutes long video and I want to use this effect between 20 and 30 seconds. I found this command from a blog: ffmpeg -i ...
1
vote
1answer
184 views

pasting audio from one video file to another with a known time offset

I have two video files that also have audio tracks. I would like to copy the audio track of one file to the other with a 5000msec time offset. The only problem is that the video files does not have ...
0
votes
2answers
1k views

ffmpeg stereo channels into two mono channels

I wanted to know if there is a way to split stereo into two mono wav files. My first guess was ffmpeg -threads "16" -i "$2" -map 0:1:1 "$3" because my example video has the following informations: ...
1
vote
1answer
103 views

Append audio file to videos

I have the following files: 01.mp4 G:\>ffmpeg -i 01.mp4 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '01.mp4': Metadata: major_brand : isom minor_version : 512 compatible_brands: ...
0
votes
0answers
82 views

FFMPEG | Streaming video frames from server

I am sending frames of a video in form of JPEG images to my server on RMTP stream. At server side, I want to connect the stream (ip + port) to ffmpeg so that it can grab images from stream and create ...
2
votes
1answer
210 views

ffmpeg stripping out third stream not working

I have files with a third stream which could be some metadata from FCP. This is the output of ffprobe: ffprobe 00700.mov ffprobe version 2.0.1 Copyright (c) 2007-2013 the FFmpeg developers ...
0
votes
0answers
165 views

High profile doesn't support lossless

I ran this command $ ffmpeg -i infile.mp4 -qp 0 -profile:v high outfile.mp4 x264 [error]: high profile doesn't support lossless [libx264 @ 03f8b020] Error setting profile high. So "high" profile ...
1
vote
2answers
2k views

Create an FFmpeg preset file from x264 options

I want to create an FFmpeg preset file. If I run a sample command it shows the currently used presets $ ffmpeg -i infile.mp4 outfile.mp4 [libx264 @ 0000000002a9a5c0] 264 - core 140 r2377 1ca7bb9 - ...
0
votes
1answer
187 views

Cutting videos with ffmpeg : length not accurate

I was trying to cut a 5 second longer sengment from a video test.wmv (10 minutes length) starting from 00:03:00 position. So I used the following ffmpeg command. ffmpeg -ss 00:03:00 -t 00:00:05 -i ...
1
vote
0answers
256 views

Ffmpeg dropping frames, but not using more the 10-20% of cpu

I have some old hardware so I'm not expecting miracles. I want to stream from a webcam to ustream at standard quality. I'm using a code like sudo ffmpeg -re -f v4l2 -i /dev/video1 -f flv ...
0
votes
3answers
3k views

How can I pipe data losslessly to and from FFmpeg?

I piped a stream from one instance of FFmpeg to another, but because compression was used on the intermediate stream the final result was ugly. I need a lossless pipe to prevent this, and I want it to ...
0
votes
0answers
180 views

Extra seconds on Red5/AMS recorded FLV video

I am recording audio/video on my website using a Flash application through Red5 Server and the generated output contains extra 30 seconds of freezed portions. I have checked the video through ffmpeg ...
0
votes
1answer
1k views

Converting Audio to AAC using ffmpeg

I have the following setup for ffmpeg ffmpeg version N-54790-g1816f55-syslint Copyright (c) 2000-2013 the FFmpeg developers built on Jul 17 2013 21:34:32 with gcc 4.4.7 (GCC) 20120313 (Red Hat ...
1
vote
2answers
794 views

Zoom video using ffmpeg commands

Is it possible to zoom a video and save it using ffmpeg commands? I searched a lot but I did not find any solution.
0
votes
0answers
214 views

Creating a movie from images using ffmpeg but getting only one frame

I read How to create an uncompressed AVI from a series of 1000's of PNG images using FFMPEG (specifically the section "Compressed RGB, But Also Lossless") and used this command: ffmpeg -i *.png ...
3
votes
2answers
2k views

How to add my logo for the first 30 seconds in a video with ffmpeg?

I'm trying to add my logo for the first 30 seconds in a video with ffmpeg. I have a video called d1.mp4 and a logo called logo.png. When the video starts, the watermark should be at the top left or ...
1
vote
1answer
229 views

Installing ffmpeg through Homebrew with options fails

Trying to install ffmpeg on osx 10.8.5 using homebrew. If I perform a default install without optional stuff it installs just fine. But if I want to add an optional component it fails with the ...
2
votes
2answers
273 views

FFMPEG add audio track while converting video formats

Background I need to convert AVI files to H264 (MP4). I am successfully doing so with the following: -i mymovie.avi -c:v libx264 -crf 19 -preset slow -c:a libfaac -pix_fmt yuv420p -f mp4 -b:a 192k ...
0
votes
1answer
524 views

omxplayer/ffmpeg error max_analyze_duration 0 reached at 0 microseconds

I have encountered an error with omxplayer that's usually an ffmpeg error When I issue the command omxplayer -info movie.mkv I get the following error: [matroska,webm @ 0xbc9450] ...
0
votes
3answers
495 views

ffmpeg command convert a part of video file to an audio file

I have a video file (duration 1 hour). I need any part of video file(30 min) to be converted to audio file ffmpeg -ss 00:30:00 -t 01:00:00 -i /opt/a.mp4 -vcodec copy -acodec copy /opt/b.mp4 then i ...
0
votes
1answer
272 views

How to lower the volume in a specific time interval with ffmpeg.exe

I am trying to lower the volume in a specific time interval with ffmpeg.exe . Let's say I have a 5 minutes long video and I want to lower the volume between 00:01:30 and 00:02:00. I read that we can ...
0
votes
0answers
164 views

Adding Border to the image using FFmpeg

I wish to add a border to the single strip of images, using FFMPEG. I have been trying to search this thing on google, I tried this command ffmpeg -i input.jpg -vf "draw box= : x=50 : y=10 : w=104 : ...
1
vote
0answers
156 views

Wrong duration for H.264 MOV files

We are using ffmpeg to get the metadata for video files. For H.264 MOV files, ffmpeg is wrongly giving the duration as 00:05:34, whereas the real duration of the video file is 00:00:30. It is ...
1
vote
1answer
480 views

ffmpeg: Trying to take thumbnail fps=fps=1/60 works but not fps/fps=1/600

I am following this doc from the ffmpeg site: This will create one thumbnail image every minute, named img001.jpg, img002.jpg, img003.jpg, ... (%03d means that ordinal number of each thumbnail ...
0
votes
0answers
246 views

Adding Image to Audio: HLS Live Stream using FFMPEG

I've been having trouble getting an image input in FFMPEG to appear when the audio is a live mp3 stream. When using the same command and an mp3 file on disk, it works. Here's the command: ffmpeg -i ...
7
votes
3answers
2k views

How can I remove multiple segments from a video using FFmpeg?

I am trying to delete a few sections of a video using FFmpeg. For example, imagine if you recorded a show on television and wanted to cut out the commercials. This is simple with a GUI video-editor; ...
0
votes
2answers
627 views

M3U8 hangs after a few seconds

I have a small experimental clip below : http://d3fnzeq4kk32oq.cloudfront.net/802/test_1.m3u8 The problem I am facing is that after a few seconds, the video hangs. I would appreciate if someone is ...
0
votes
0answers
93 views

Frozen video in Chrome after converting from flv to mp4 by ffmpg

I recently converted my flv video to mp4 by ffmpeg with libx264 encoder (H264 codec): ffmpeg -i video.flv -vcodec libx264 -preset ultrafast -profile:v baseline -level 3.0 -movflags +faststart ...
0
votes
1answer
579 views

FFMPEG does not have fps filter. How to fix it?

I am trying to user fps filter to take thumbnails but it gives error: No such filter: 'fps' I checked the list of filters using ffmpeg -filters and fps was not there. How to install it or fix ...
0
votes
1answer
1k views

ffmpeg/avconv async is not working - unsync audio

I have a javascript that records video from a webcam as webm and audio from microphone as wav together. I am encoding these webm and wave files to generate a mp4 file using ffmpeg/avconv. But i've ...
0
votes
0answers
144 views

FFmpeg: How to make video with silent sound from single image

I need to make a flv video from single picture with silent aac sound. Video params I needed: fps - 30 duration - 60 secs audio rate 44100 size 1920×108 pix_fmt yuv420p Here is the sample ...
0
votes
0answers
92 views

Getting the same number of frames/images from a video stream that I originally put in

I am using ffmpeg in a winform application. In my scenario I take 20 sparate jpeg images and add them to a ogg file. I then extract all the images from that ogg file (as a test). Despite making sure ...
4
votes
1answer
986 views

Processing YouTube video in ffmpeg

I'm using ffmpeg for taking screenshots from video. Is it possible to take screenshots from YouTube video without downloading video to hard drive?
0
votes
0answers
69 views

ffmpeg option, subchunk1size = 16

I have a wav file. How can I use ffmpeg with specific options to convert it to a wave file with subchunk1size = 16.
0
votes
1answer
151 views

Supplying a stream to ffmpeg

I know I can convert an array of images stored on my hard drive (if numbered correctly) using these arguments: -f image2 -r 10 -i h:\\streamin\\%05d.jpg -crf 23 -y -r 10 -f ogg - Is there a ...
2
votes
3answers
942 views

YouTube consistently messes up my video's quality

I'm having trouble encoding a video for YouTube. The content isn't very "compression-friendly" (it's Battlefield 4 gameplay footage), but I'm 100% positive the results could be better. Some links: ...
1
vote
0answers
31 views

“Freely positionable” Videos

The following is a requirement for loading a video into National Instruments DIAdem: The videos must be freely positionable, so that DIAdem can display each frame in the videos. Video - DIAdem 2012 ...
1
vote
2answers
910 views

Extract HEVC bitstream with ffmpeg

I would like to extract the raw .265 bitstream from HEVC mkv file. I use this: ffmpeg.exe -i hevc.mkv -an -vcodec copy -f hevc bitstream.265 I got this error: Requested output format 'hevc' ...
0
votes
1answer
769 views

Image streaming with ffmpeg to a server

I have an IP camera and I receive from that IP camera snapshot JPEGs. It averages around 10fps. Currently I am invoking a [web method] in my c# desktop application to upload the JPEG (converted into ...
1
vote
1answer
177 views

keepalive type and frequency in ffmpeg

My company has a bunch of IP cameras that we distribute - specifically Grandstream - and the manufacturer has changed their firmware. The normal keepalive that ffmpeg uses for the rtsp streams ( ...
0
votes
1answer
4k views

Add an image as watermark to a video file with ffmpeg

I would like to add a text to a video file with FFMPEG. While I was able to do this with plain text $FFMPEG -y -i $SOURCE \ -vf ...
0
votes
1answer
426 views

Not able to make video from images using ffmpeg

This is my log while making images from ffmpeg: Incompatible pixel format 'yuvj420p' for codec 'mpeg4', auto-selecting format 'yuv420p' [buffer @ 0x9e4f20] w:532 h:800 pixfmt:yuvj420p [avsink @ ...
0
votes
2answers
285 views

What is -crf used for in ffmpeg

When converting an array of jpegs to a video file (ogg format) I have been using the -crf option. What are the valid ranges for -crf? Currently I am using 23. I cannot find the bookmark I read to ...
0
votes
1answer
119 views

How to trim a wave audio in multiple time span with CLI in one line

I have a wave audio file that I want to trim in multiple points like this. The audio is 1 hour long and I want to have first 3 minutes and from 6 min to 30 min. In another word, I want to remove 3 ...
0
votes
1answer
159 views

How to convert a 5MB video to 2MB using ffmpeg

Is it possible to convert a video of any file size x to a specific file size y ?? I have a video test.mp4 which is 5mb i would like to set the size to 2mb Is it possible to get exact 2mb using ...
3
votes
0answers
630 views

ffmpeg minimal requirements configuration for encoding and decoding h264 files

I'm trying to compile ffmpeg with minimal requirements in order to encode/decode with h264. So far my command line configuration is : ./configure --disable-yasm --disable-everything ...
1
vote
1answer
3k views

Convert mp3 to wav using FFmpeg for VBR

What command should I use to convert a mp3 file to wav whose bitrate is variable. Or better how would I know whether that source audio is fixed bitrate or variable?