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

Muxing Audio Over Video Using Ffmpeg

So i have been through lots of tests and i still cannot seem to get audio to mux over video using ffmpeg and cannot figure where i am going wrong so would really appreciate some help. I have this ...
0
votes
1answer
19 views

ffmpeg - images from video at different sections and incrementally numbered

I am using ffmpeg to extract still images from a video. From a given time, for a given duration using the -ss and -t parameters. ffmpeg -ss 00:10:01 -t 2 -i /Volumes/OO_8/VideoSource.mkv -qscale:v 2 ...
1
vote
0answers
11 views

How to use ffmpeg frei0r filter with mixer2 plugins

I'm using frei0r-20121203-git-f4bac51-filters-win64.7z and zeranoe ffmpeg, then set PATH. twolay0r plugin is fine, but value plugin is error. set FREI0R_PATH=frei0r-20121203-git-f4bac51-filters-win64 ...
0
votes
0answers
9 views

ffmpeg “-bug” parameter explanation

I found "-bug" parameter for ffmpeg in one of encoding scripts, and have no idea what it is. ffmpeg man page says that it's action for not autodetected encoder bugs, but I can't find any information ...
0
votes
0answers
16 views

how to improve pixel clarity using ffmpeg to resize .gif to .gif format

Here is the ffmpeg image resize command which I used. ffmpeg -i input.gif -y -s 500x327 -pix_fmt rgb24 output.gif Input image - 1024x768 The resized output image was reduced in pixel and even the ...
0
votes
0answers
6 views

Pipe remote jpg webcam image to ffmpeg as video

I have a cheap ip webcam. All it provides is a single http url to a static jpg file. Such as http:///image.jpg. Repeatedly requesting the same url will provide subsequent frames from the ip camera. ...
0
votes
1answer
40 views

Force ffmpeg to use 100% of CPU

I'm using ffmpeg to extract frames from video, but the process is so slow. Looking at CPU usage I see that ffmpeg use only 50% of my CPU. I've tried also to add -threads 4, but it seems it doesn't ...
0
votes
0answers
11 views

How can I batch convert all of my video files to AAC audio without converting the video?

I've used XMedia Recode to do this and it works great. I set video to "copy", audio to "convert", and it takes 2 minutes for a 2GB file. There's two problems with it for batch work though. It doesn't ...
1
vote
1answer
28 views

ffmpeg mapping help, encode 1 6ch audio into multi-tracks

I have 2 input files: cover.jpg audio.dts (6 channel) My target file will be a mp4 with 1 video and 3 audio: audio 1 is 2 channel aac audio 2 is 6 channel ac3 audio 3 is 6 channel dts Here is ...
2
votes
1answer
29 views

FFMPEG filter to boxblur and greyscale a video using alpha mask

Can someone show me how to enhance the example found here: FFmpeg - Apply blur over face To do the following: Use an input alpha mask PNG instead of a declared rectangular region both blur and ...
0
votes
0answers
37 views

Getting an mp4 to play on iOS Safari with ffmpeg

I have a script that cuts and splices some video from youtube with ffmpeg to make an mpeg thumbnail. The final result is an mp4 that runs fine with the HTML <video> tag on Mac OSX Safari, ...
1
vote
2answers
26 views

ffmpeg wants to overwrite existing images

I want to make a timelapse movie with ffmpeg. For now I use mencoder with following command: mencoder mf://*.jpg -mf fps=12 -nosound -noskip -ovc copy -o Zeitraffer$begin.avi I'm trying to make a ...
1
vote
1answer
22 views

FFmpeg - PNG / JPG - Invalid data found when processing input

I am trying to add a watermark to a video with FFmpeg. I have a custom build of FFmpeg that I am creating with a view to keep the binary size down. I seem to have excluded the ability for FFmpeg to ...
0
votes
0answers
58 views

Can't play h264 movies using ffmpeg / vlc / mplayer [closed]

OS: Arch linux, kernel version: 4.0.2 Graphic card: Intel Graphics. I can't play h264 videos using ffmpeg / vlc / mplayer: Here are the logs: ffplay: ffplay version 2.6.2 Copyright (c) 2003-2015 ...
0
votes
0answers
25 views

FFMPEG conversion error “unable to find a suitable output format for 'pipe:' pipe::”

ffmpeg -i input.wmv -ab 128k -ac 2 -ar 44100 -b:v 900k -r 29.97 -s 640x480 output.wmv Hi, I am trying simple ffmpeg transcoding and I am getting an error in my code above. The error I am getting is ...
1
vote
0answers
114 views

container format requires global headers

Using this file: youtube-dl --youtube-skip-dash-manifest --format m4a --output alpha.m4a 19GFDljxrY0 If I run this FFmpeg command: ffmpeg -i alpha.m4a -c copy bravo.m4a I get this message: ...
0
votes
1answer
37 views

Skip parts of video while converting it to images with ffmpeg

I use this command on ffmpeg to convert a video into images: ffmpeg -i video.mp4 -q:v 1 -r 1 -f image2 frame-03d%.jpg What I want to do is to skip the first x seconds and the last y seconds of the ...
1
vote
1answer
30 views

Problems with joining videos in FFmpeg with a cross-fade effect (buffer queue overflow, frames dropped)

I can successfully join a couple of videos into one (using this method) with a nice cross-fade effect in between, but the output video contains no audio. I'm using the -filter_complex command. I've ...
1
vote
1answer
33 views

ffmpeg mp4 audio trim

My mp4 is h264+aac I want to use ffmpeg.exe to add a background music to it , this musci is shorter than the mp4,thus the music should loop I have tried ffmpeg -i test.mp4 -i background.m4a ...
1
vote
0answers
26 views

FFmpeg - Seek to pkt_pos?

I know that FFmpeg can start seek in terms of PTS/DTS, and that there is a limitation regarding seeking in frame number, but is there a way to seek in terms of pkt_pos? I'd also like to be able to ...
1
vote
1answer
31 views

How to merge two 4 channel audio into a single 2 channel output

I'm trying to merge these two WAVs (L.wav and R.wav) into a single, dual-channel stereo OGG. This is what I'm trying: ffmpeg -i L.wav -i R.wav -c:a libvorbis -q:a 5 \ -filter_complex ...
0
votes
0answers
27 views

How to convert video audio codec with ffmpeg

I am trying this command but it fails I need to convert audio track of 17gb movie file with fastest way So i only need to convert audio and leave video file alone Here the command But it fails It ...
0
votes
1answer
33 views

FFmpeg – Keep original video orientation

I'm converting 3gp video to mp4 format and that is working. But I have one issue: original video orientation is not kept. I know about rotate, flip and other commands, but I'm converting video ...
0
votes
0answers
34 views

FFmpeg - Transcode video and keep original EXIF metadata in the transcoded file?

I am trying to transcode a video from a .mov (recorded with the iPhone) and add the original metadata (EXIF) to transcoded file, how can I achieve that? The original video contains EXIF metadata, etc. ...
0
votes
0answers
38 views

MP4 file ignores subtitle settings in VLC

When playing an MKV movie (h264/aac) with a separate .SRT file, VLC lets me control the looks of subtitles perfectly from the menu. However, after losslessly converting the MKV/SRT to MP4 with ...
-2
votes
1answer
63 views

Analyzing h264 100GB video stream

I have a big file, an h264 stream video of a CCTV. I analyze this file with ffprobe and the result is this: [h264 @ 0000000002d24480] no frame! [h264 @ 0000000002d24480] non-existing PPS 0 referenced ...
1
vote
1answer
29 views

Segmenting video to X seconds parts with ffmpeg

I have one video with duration of one minute and 35 seconds. I am able to split it into multiple 30 second segments (I am fully aware of other ways to split a video but chose this for a particular ...
0
votes
1answer
43 views

ffmpeg changes audio bitrate when transcoding from MKV to FLV

I have one file - sample.mkv ========================================================= File: sample.mkv Width: 854 pixels Height: 480 pixels Aspect ...
0
votes
0answers
13 views

Video shows a short length but contains a hour of content based on the file size. Can FFMPEG see past the error?

I have a 3 hour file that I shot... the file size is consistent with that length (100 gigs)... but when i play the file it only plays the first 12 min. VLC player says the file is 3 hours but only ...
0
votes
0answers
33 views

FFMPEG / libx264: How to specify a variable frame rate but with a maximum?

Instead of providing a fixed frame rate to FFMPEG/libx264 (-r/-framerate), I would like to specify a variable frame rate with a MAXIMUM value, and allow libx264 to down the frame rate as it sees fit. ...
1
vote
2answers
93 views

What is the CORRECT way to fix keyframes in FFMPEG for DASH?

When conditioning a stream for DASH playback, random access points must be at the exact same source stream time in all streams. The usual way to do this is to force a fixed frame rate and fixed GOP ...
1
vote
0answers
19 views

FFMPEG set a upper limit to bitrate only a a interval of video

How i can define a variable bitrate from 500k to 1024k between 0~1min30, between 1min30~3min up it to 2048 to 4096 and from 3min until end down it to 500~1024 again?
0
votes
1answer
48 views

Correct aspect ratio without re-encoding video file

I have a video stream with the following properties: Stream #0:0: Video: mpeg4 (Advanced Simple Profile) (XVID / 0x44495658), yuv420p, 720x416 [SAR 1:1 DAR 45:26], 1908 kb/s, 25 fps, 25 tbr, 25 tbn, ...
0
votes
0answers
21 views

Green screen issue on ffmpeg

I have been trying to use ffmpeg binary for compressing the screenshots taken from adb. The following is the command being used : screencap | /data/local/tmp/ffmpeg -f rawvideo -s 1440x2560 -pix_fmt ...
1
vote
2answers
63 views

Convert all files in directory using FFMPEG

I'm trying to write a script to convert all the files in a directory to m4v, whilst trying to keep similar (if not the same) quality and compress the file to reduce the overall size. I've pieced ...
0
votes
0answers
62 views

How to change scan type / field order in video's metadata?

VLC plays my 50i H.264 MOV incorrectly when I try to do Deinterlace = on and Deinterlace mode = Yadif 2x. The video is jumpy like crazy. Looks like it's detecting the field order incorrectly. So what ...
0
votes
1answer
72 views

ffmpeg: Highest quality 50i to 50p conversion, comparable to Adobe Premiere

I have 50i footage (more specifically tagged as 25 fps but does contain movement on the secondary fields). I am able to get pretty good quality conversion to 50p from Adobe Premiere by simply ...
0
votes
1answer
18 views

Do filtergraphs copy audio streams by default in FFMpeg?

I 've got the following command in FFMpeg: ffmpeg -i file_input.mp4 -filter_complex split=2[i1][i2];[i1]scale=trunc(oh*a/2)*2:480[o1];[i2]scale=trunc(oh*a/2)*2:640[o2] -map [o1] -map 0:a -pix_fmt ...
-1
votes
1answer
51 views

How did ffmpeg appear on my Windows computer? [closed]

ffmpeg is a great program to (among other things) create videos from lots of images and vice versa. I just recently learned about it and used it on my Linux machine to create time-lapse videos. The ...
0
votes
0answers
38 views

FFmpeg - Possible to scrub in FFplay window using lavfi?

After some help on here earlier today, I'm able to get to FFplay to render a video with some filters using lavfi. Here is an example of a simplified working command: ffplay -f lavfi ...
1
vote
1answer
43 views

Weird sound problems cropped up on Ubuntu 14.04

Please help! Today I was trying to edit some home video with KDENLive and when I'd try to preview my videos, they'd play for about a second then lock up the program. In troubleshooting, I ...
1
vote
1answer
30 views

ffmpeg using -re and -ss together

I'm using ffmpeg to livestream a video file to an RTMP server. I'm using the -re option to ensure the video is streamed at the proper rate to the live source. Occasionally I want to stream the video ...
0
votes
1answer
98 views

.MKV to .MP4 with 2 soundtrack (audio)

I found this thread: Handbrake settings to convert MKV to MP4 while retaining the original quality And I can "convert" .MKV to .MP4 with the following code: for %%a in ("*.mkv") do ...
0
votes
0answers
33 views

Capture desktop with FFMPEG on MacOSX 10.6.8

I tried to capture the desktop/screen-recording with this command ffmpeg -f avfoundation -i "1:0" out.mp4 this doesn't work because avfoundation is a framework on OSX >= 10.7 and my OS version is ...
2
votes
1answer
49 views

ffplay - Unable to Find File Using lavfi [duplicate]

I'm having some trouble using lavfi within ffplay to apply filters. I'm simply trying to pad one video, and overlay another video within the padded area. My command and console output is as follows: ...
0
votes
0answers
42 views

FFMPEG: Windows binaries with globbing (libavformat) support?

I am struggling to get ffmpeg to combine a bunch of images in to a video which have a format with a full 17 digit timestamp. 17 digits is well beyond what -i %d will support. So I want to use ...
0
votes
1answer
576 views

FFMPEG “Past duration 0.xxxxxx too large”

I'm recording an HLS streaming and I would like to save in a FLV Container. My ffmpeg's cmd is: /.../recorder/class/ffmpeg-2.6.1-32bit-static/./ffmpeg -i http://server/url/playlist.m3u8 -b:a 128K ...
1
vote
0answers
160 views

FFMPEG capture snapshot image from RTSP IPCamera

Hi I am able to stream video successfully from my IP Camera with VLC using the URL: rtsp://192.168.0.6:554/cam/realmonitor When attempting to use FFMPEG it is failing with the following errors: I ...
4
votes
2answers
164 views

Re-encoding in FFMPEG using the exact same settings as the input file

I have a use-case where I take a few MPEG-4 files, trim them and concatenate them in to one file. I have a second use-case where one of those files are trimmed and also cropped/scaled, these files ...
0
votes
1answer
72 views

ffmpeg HEVC with HLS specific fragment duration

I use a 10bit build of ffmpeg/x265 to run the following command where I decode an input x265/10bit video, pipe it into another cmd line tools and pipe again the output into a new ffmpeg instance where ...