Media tool with support for multiple codecs, filters, and containers. Include your actual command and the complete console output when asking questions involving FFmpeg tools. An easy way to do this is by adding `-report` to your command and pasting the contents of the logfile generated.

learn more… | top users | synonyms

2
votes
0answers
101 views

How to frame accurately cut a video with ffmpeg?

I have a video. Here is it's ffprobe output: > ffprobe 7347-00009\ kliksa.mp4 ffprobe version 2.6.1 Copyright (c) 2007-2015 the FFmpeg developers built with Apple LLVM version 6.1.0 (clang-602.0....
0
votes
0answers
121 views

FFMPEG / x264: can I use pass 1 from one encoding session as pass 2 for another?

Question: Is it legal to use a "pass 1" encoding of a source video at one resolution/bitrate as the input to a "pass 2" encoding of the same source at a different resolution/bitrate? I tried it and ...
1
vote
0answers
104 views

How to set audio delay when muxing with FFmpeg?

I have the following command for muxing audio and video with FFmpeg: ffmpeg.exe -i "D:\Project\Output.webm" -i "D:\Project\Vorbis.ogg" -c copy -aspect 16:9 "D:\Project\Final.webm" Audio is early by ...
-1
votes
1answer
123 views

How to cut a VOB file with FFmpeg?

How do I cut a decrypted VOB file with FFmpeg? For example, to keep the first 5 minutes of a VOB file?
0
votes
1answer
224 views

When doing 2 pass video encoding with FFmpeg, how to find the optimal bitrate?

When doing 2 pass video encoding with VP8 (libvpx), is there a way to figure out the optimal bitrate, so I don't have to guess? Something like a small compression test, or some ffmpeg command, that ...
0
votes
1answer
136 views

Break video into (equal or unequal) chunks using ffmpeg in windows

While split video using in ffmpeg in batch mode has many answers for linux users, I found this or or this useful. There are many others. One syntax may be ffmpeg -i input.mp4 -c copy -map 0 -...
0
votes
1answer
224 views

How to mux Vorbis audio and VP8 video into WebM format with ffmpeg?

I have a Vorbis audio and VP8 encoded video, and would like to mux them into WebM format. How do I mux them with FFmpeg, and also set the display aspect ratio to 16:9? I'm using Windows 7 with the ...
1
vote
1answer
343 views

how to convert a video to a MOV file with h264 yuvj420p and pcm u8

I want to convert some videos to be playable on a Canon digital camera. The videos from the Canon PowerShot camera have the following specifications: Video: h264 (Constrained Baseline) (avc1 / ...
0
votes
1answer
22 views

Appending text to a video using ffmpeg

I would like to add a blank screen at the end of my video with some white text in the middle (in bold). I've seen this post and I would like to do something alike, but the text should be added at the ...
0
votes
1answer
206 views

With FFmpeg, how do I normalize AC3 to stereo WAV file?

I'm converting 5.1 AC3 file to stereo WAV with FFmpeg: ffmpeg.exe -i "D:\Project\AC3.ac3" -ac 2 "D:\Project\WAV.wav" How do I normalize the file? Is there a way to know how much I can increase the ...
0
votes
1answer
43 views

How to do a variable time scale?

I have a video where I would like to change the time scale of a video based on ratios read in from a file. I have figured out that to double the speed for an entire video I could use the setpts ...
1
vote
1answer
458 views

Concat videos after applying filters

I want to concat a few videos from my phone camera: ffmpeg -f concat -i /storage/emulated/0/tmp.sc -codec copy -threads 3 -strict -2 -y /storage/emulated/0/final.mp4 Basically it works good. But I ...
0
votes
1answer
239 views

Crop and scale a video takes significant amount of time

I have a 5 seconds .mp4 video 1280x720 and I want to scale, crop and rotate it: ffmpeg -i input.mp4 -filter_complex scale=1138:640, crop=640:640:249:0, transpose=1 -threads 3 -preset ultrafast -strict ...
1
vote
1answer
169 views

FFmpeg/AVconc - Capture Seamless Video

I have several IP cams that I want to capture video from continuously. I'm building a script that will wrap around ffmpeg to capture from the various RTSP sources. But I'm struggling with how to ...
0
votes
0answers
88 views

Why does my ffmpeg-deinterlaced video have different duration than the original?

I recently used yadif in ffmpeg to deinterlace a video. ffmpeg -i input.mpg -vf "yadif=1:0:0" -codec:v mpeg2video -codec:a ac3 output.mpg The original video is in 10 minutes and the output video ...
1
vote
1answer
120 views

FFMPEG won't stop after after alert “Past duration …”

I'm using ffmpeg to add 2 watermarks into a video. It works well, like a charm. I just have this small problem: ffmpeg won't stop encoding unless I press CTRL+C to exit the process. Here is my ...
1
vote
0answers
124 views

FFMPEG: Convert while file is being uploaded (an incomplete file)

I am designing a media upload function using HTML5. My design looks like this at the moment: User selects a file for upload FileApi (JS) reads this file chunk by chunk and uploads it to the server ...
1
vote
1answer
490 views

Corrupted file when recording using ffmpeg

I am trying to record video from the USB WebCam connected to my Windows desktop. Sometimes, I get a mp4 file which I can play using VLC. But sometimes, I can't play mp4 file at all (the file size ...
0
votes
1answer
126 views

ffmpeg bit depth 10 bits, file size same as 8 bits?

I am working on raw camera file, in 12 bits color depth. I installed ffmpeg with all libx265 features. I used: -pix_fmt yuv420p10le for 10 bits But seems -pix_fmt yuv420p (8 bits) return the same ...
1
vote
1answer
64 views

Grabbing images from mp4 using ffmpeg: How to get image after X seconds

I am trying to grab images from an mp4. The video is 241 seconds long and looking at data from VLC player I can see that the Frame rate is 4. I would like to grab an image from the video every 5 ...
1
vote
1answer
30 views

Why is this wont work in BATCH, FOR command? Standallone it works

I want to export images from films, as thumbnail, I'm using ffmpeg. My batch command: DEL *.jpg setlocal dir *.mp4 /a:-d /b > foldersTemp.txt FOR /f %%A IN (foldersTemp.txt) DO ffmpeg -i %%A -vf ...
2
votes
2answers
83 views

'Unable to find a suitable outpit format for '-ss' in FFmpeg

Sort of at a loss here. I'm trying to extract a single frame from a video to use as a preview image using FFmpeg on an Ubuntu server. Dozens of guides, wikis, and StackExchange answers tell me to ...
0
votes
1answer
51 views

Can't set audio bitrate

I am converting some high quality Apple ProRes files to H.264. Everything works but the audio bit rate. What is the correct way to do this? Ffmpeg command line: -i source.mov -vcodec h264 -b:...
0
votes
0answers
302 views

How to find out error of a mp4 video exact bytes

I downloaded a huge videos (each video is about 1GB and there are 20 episodes were downloaded) via aria2 with using -s16 option but the PROBLEM is that when aria2 merging 16 parts of videos it doesnt ...
0
votes
2answers
420 views

How to display current time with the ffplay.exe?

I need to play video files by the ffplay (or the ffmpeg if is it possible) and display current play time. Please tell me how can I see the current play time (as H:M:S) with ffplay? OS = MS Windows 7
0
votes
0answers
104 views

Dump RTSP stream into JPEG frames

I'm trying to dump the frames from an RTSP stream into a series JPEG images. After reading the documentation, I've come up with the following command line that very nearly does what I want it to do. ...
0
votes
0answers
312 views

convert RTSP stream from ip camera to MPEG-TS

I have an ip cam that I can see its stream via RTSP on vlc media player. I want to use this stream on another device that does not supports RTSP, it only supports MPEG-TS, is there anyway I can ...
0
votes
1answer
32 views

FFmpeg putting one video above its filtered version [duplicate]

I'm trying to make a combination of two videos. The first video is my input unaltered while the second one (placed below the first) is a filtered version of the first video. I'm able to filter the ...
0
votes
1answer
40 views

FFMPEG merge consists of only one a single video instead of all of them

I am trying to merge several mp4 videos together in a folder. However, when I run the following script, sometimes only 1 video is in the output. For example, if I have video1, video2, video3, and ...
0
votes
0answers
117 views

Is there any FFmpeg Build for windows with decklink-output-device support?

I need ffmpeg with decklink-output-device support , But I can't compile it. Is there any FFmpeg build for windows with decklink-output-device support?
1
vote
0answers
54 views

avconv / ffmpeg covert images to video skips frames when frame type changes

I have an instance of ffmpeg that captures one fps from our home CCTV cameras. At the end of the day I have an ffmpeg script that takes those images and turns them into a video. This is fine with one ...
0
votes
2answers
902 views

Splitting one stream 12 channel audio into separate mono channels?

I have a 12 channel QuickTime single audio stream which I am attempting to split into separate 12 audio streams in one output file. From MediaInfo my source audio configuration looks like the ...
0
votes
1answer
273 views

Why will this mp4 file (generated by ffmpeg) play on safari but NOT firefox?

I have an mp4 file (that's blank space, I use it to test subtitles) It's currently sitting at http://projectgrin.org/SubtitlePlayer/video/output.mp4. I generated it with ffmpeg. My notes are ...
0
votes
1answer
61 views

overlay with video offset not starting audio with same offset

I have a video with audio (overlayvideo.mov) that I'm overlaying over another video (basefilem.mp4) and I'm starting the overlay at 20 seconds. The output (finalvideo.mp4) looks great, but the audio ...
0
votes
1answer
53 views

Can I capture a series of images named according to its timestamp

I am successfully capturing a screen shot every 15 seconds with the command below but I need to correlate the images to where in the video the screen shot is from. The %d gives me an integer, but ...
0
votes
0answers
86 views

Add a scaled watermark to video thumbnails with FFMPEG

I'm trying to capture images from a video every 60 seconds AND add a copyright watermark at the bottom of each image that is captured. The below command captures and overlays, but the watermark doesn'...
1
vote
0answers
720 views

using ffmpeg to repair corrupted MP4 video files from Xiaomi Yi

did not know wether to create a new thread or to post in an existing one. Decided for the first option, as my case seems to be a little different as I do not have one video corrupted but plenty of ...
0
votes
0answers
57 views

Which audio codec is preferable to use for mp4 video?

I use standart codec for encoding and i don't like the quality of audio even if there is larger audio bitrate. ffmpeg -y -i input.avi -i watermark.png -filter_complex \"scale=-2:'min(360,ih)',overlay=...
1
vote
1answer
125 views

ffmpeg concatenate dynamic chunks (on-the fly)

The ffmpeg docs for concat lists the following way ffmpeg -f concat -i mylist.txt -c copy output The mylist.txt file contains file like file '/path/to/file1' file '/path/to/file2' file '/...
1
vote
0answers
58 views

How do you keep FFMPEG / libx264 from producing a high bitrate at the start of the video?

I have noticed that the Linux version of FFMPEG tends to blow its bit budget like a drunken sailor at the very beginning of a video. Is there a way to prevent this and/or suppress it? I looked thru ...
0
votes
0answers
14 views

Libvpx install with Yasm in non default directory

i can not install libvpx because it is looking for Yasm in the default directory is there a way to tell it where Yasm is installed?
0
votes
0answers
132 views

Using FFmpeg, can I make a batch file do nothing if it's going to upscale my input file?

I'm running an FFmpeg batch file through a digital media repository. My desire is for it to treat files similar to if it was uploaded to YouTube or Vimeo. To do this, I need it to convert the file ...
0
votes
1answer
22 views

Retrieving height with FFMPEG

I made the following command I use to get the height of a video: ffprobe -v quiet -print_format compact=print_section=0:nokey=1:escape=csv -show_entries stream=height "source.mp4" Sometimes it ...
1
vote
1answer
177 views

ffmpeg overlay last frame remaining in video

Have an issue where an overlay video has it's last frame remaining in the output video until the full video is complete. The full video is 10 seconds and the overlay video is 5 seconds. The overlay ...
2
votes
2answers
122 views

Fastest way to cut and remove parts of a video

I have a movie which is encoded using H264 (mp4) and is 800 MB in 720p format. I need to remove some parts of it for example remove 10:25 to 10:30 and so on. I've worked with adobe premiere buy it ...
0
votes
0answers
127 views

FFmpeg doesn't see any fonts in the directory set in fontconfig

FFmpeg's ASS filter works properly with the following fonts.conf file: <?xml version="1.0"?> <fontconfig> <dir>/Library/Fonts</dir> </fontconfig> But when I change ...
0
votes
1answer
139 views

Install package not in repositories so that dpkg knows about it

I am trying to compile some software for my raspberry. During the configuration process, the following appears: configure: error: Requested 'libavcodec >= 55.0.0' but version of libavcodec is 54....
0
votes
0answers
42 views

ffmpeg screencast detect screen resolution

I do not want to put the screen resolution my self. I would like to screen capture full size. Currently I do: ffmpeg -f x11grab -r 15 -s 1366x768 -i :0.0 -qscale 8 ~/Desktop/yoyoyo.ogv How can I ...
0
votes
0answers
229 views

Encode H265 to hvc1 codec

Here is the info of my source file: I want to keep audio quality and just encode the video track so I use this command: ffmpeg -i INPUT -c:a copy -c:v libx265 video-h265.mp4 This is the result: ...
1
vote
2answers
3k views

What ffmpeg command would convert a video for iPad/iPhone/iPod?

I'm currently using a batch file which (amongst other things) runs the following handbrakecli command line to convert a video: HandBrakeCLI.exe -v0 --input "D:\input.mkv" --preset="Universal" --ipod-...