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

0
votes
0answers
53 views

FFmpeg filter graph (multiple crop)

I have an input video (0) and multiple images (1) (of the same sizes which context is aligned at (0,0) - as FFmpeg does not receive multiple images of different sizes over pipe). I want to overlay ...
1
vote
1answer
100 views

FFmpeg video overlay

I am trying to overlay an input video with many images where each image should be shown for a short time. I achieved this using complex filter (the command below). The problem is that I have many, ...
0
votes
0answers
259 views

Stream video from camera using ffserver on Raspberry Pi?

I'm trying to stream video from the camera module using ffserver. The idea is to let raspivid output h264, and let ffmpeg/ffserver stream it without re-encoding. My server configuration is HTTPPort ...
0
votes
0answers
52 views

How to make left-right transition of overlay image using ffmpeg

I have used the below command to make a left to right transition of overlay image: ffmpeg -loop 1 -i download.jpg -filter_complex ...
1
vote
0answers
22 views

FFMPEG: Creating video stream from non-consecutively numbered png sequence

I have used VLC to decompose a video stream into frames, and it decomposed in a way that it leaps 5 frames per save, so the images are ordered like this: scene04436.png scene04441.png scene04446.png ...
1
vote
1answer
185 views

ffmpeg video recording freezes after “Invalid data found when processing input”

I am trying to record my old VHS tapes using a USB video capture device and the following command: ffmpeg -f alsa -ac 2 -i default -f v4l2 -standard pal -i /dev/video0 -c:v libx264 -qp 0 -preset fast ...
0
votes
0answers
67 views

How to make ken burn effect using ffmpeg

I have used the below command to make a video from multiple images with zooming effect, this command also working fine. But i want to make left-right transition, left-right transition is not working ...
0
votes
1answer
73 views

FFMPEG command to apply echo effects

How to apply echo effect on a video (sound) using ffmpeg. Please advice me ffmpeg command for the same.
1
vote
1answer
49 views

Data loss due to transcoding video[ffmpeg]

I have a app which takes in user's video and does some processing. the processing pipeline consists of multiple steps. The code which i have written so far assumes h264 codec for input video. But ...
1
vote
1answer
62 views

How accurate and reliable is loudness analysis (ebur128) in ffmpeg for PCM?

I need to test a lot of files on possible audio normalization issues, files can be of various containers and audio encoding formats but mostly PCM audio. I tried Rhozet QC solution but found it ...
1
vote
2answers
57 views

bash process to copy subtitles in their respective mp4 with FFMPEG

I have many video files (mp4), with their respective subtitles (each video and subtitle have the same name). The idea create a bash to copy each subtitle in their video without re encode again. To ...
0
votes
0answers
29 views

FFMPEG video cutting

When using fast seeking in FFMPEG (seek before i option) and by specifying the time to retain, is there any way to tell which frame is actually split-frame ? So using this: ...
1
vote
0answers
59 views

ffmpeg pipe images extracted from video

I can use the following command to extract images from a video using ffmpeg, saving them to the filesystem: ... | ffmpeg -i - -f image2 'img-%03d.png' I would like to pipe these images to another ...
0
votes
1answer
82 views

overlaying in ffmpeg failed due to audio codec how to fix it?

I am using ffmpeg to overlaying searies of images on video but on some occasions on some mp4 videos it fails some time it works perfactly my command gives error like Could not write header for output ...
0
votes
1answer
54 views

Batch extracting multiple .aac tracks from an .mp4 using ffmpeg?

How do I create a ffmpeg .bat file that will let me drop in .mp4 file(s) and extract multiple .aac tracks without any converting or transcoding taking place ? I do know that there will always be 3 ...
1
vote
2answers
61 views

Option http_proxy not found

I'm trying to run this command ffmpeg -http_proxy http://proxyip:1234 -i ...
0
votes
0answers
152 views

compile error ffmpeg: undefined reference to `x264_encoder_open_148`

I have been compile ffmpeg following this. # ./configure --enable-version3 --enable-libopencore-amrnb \ --enable-libopencore-amrwb --enable-libvpx --enable-libfaac \ --enable-libmp3lame ...
0
votes
1answer
37 views

FFMPEG overlay filter partly conversion

I am trying to apply the overlay filter on the video to blend a single image for a few seconds. Since my video duration is about 1 min it seems wasteful when FFMPEG tries to re-encode the whole video ...
0
votes
1answer
37 views

Byte position of frame with closest timestamp with avprobe

With ffprobe I managed to get the byte position of the frame closest to a specified timestamp: the pkt_pos in ffprobe -i audio.mp3 -show_frames -read_intervals 01:30%+#1. Now I am on a Debian system ...
0
votes
1answer
105 views

FFmpeg converting video convert only audio in linux

I'm trying to convert .flv to .mp4 in CentOS. I used ffmpeg -i test.flv test.mp4, which worked well in Windows, but in Linux the result has no video, just audio. I installed ffmpeg 3.0 using yum. ...
0
votes
1answer
33 views

FFmpeg and pressing d during encode, how to continue?

I am encoding a huge video which takes forever. I'm using Windows and a command prompt. And I accidentally pressed d while the window was active. That seems to have triggered some kind of debug mode. ...
0
votes
0answers
39 views

ffmpeg: demux a section of a file

I have an interesting challenge that I think can be solved with ffmpeg. I'm being sent the first few hundred kb of a file (mov/prores or h.264), and a 1-2 meg chunk from the same file, closer to its ...
1
vote
1answer
42 views

ffmpeg command generates never stops

I am overlaying 2 series of images on a video but command never stops execution until I I force stop process my command is as below ffmpeg -y -i vid.mp4 -loop 1 -i img_%d.png -loop 1 -i ...
0
votes
0answers
58 views

How can I pipe multi-streamed http input (i.e., parallel downloads for greater speed) into ffmpeg

I'm trying to pipe multi-stream (really parallel download streams/connections) http video into ffmpeg so I can load data faster than the native http client in ffmpeg. i.e., let's say one connection ...
1
vote
1answer
38 views

Limiting ffmpeg output

I just started compiling my own ffmpeg. I noticed with the precompiled builds, there is not a lot of output while ffmpeg is running, -nostats option. Is there either a way to compile those types of ...
0
votes
1answer
42 views

FFmpeg - possible to select X frames every N frames?

I am trying to select 10 frames out of every 100 frames of video and write that to a new output. In a 1000 frame video, I want the output to only include frames: 1-10, 100-110, 200-210... etc. Is ...
0
votes
2answers
35 views

Combine video and audio and make the final duration the same as first input with FFmpeg

I have two files - video.mp4 and audio.mp3, and I want to combine them. The final video must have duration of the video.mp4. I don't know which of these two files is longer so I cannot use the ...
1
vote
1answer
56 views

Merging several videos with audio channel and without audio

I need to merge very different videos into a one output video. Input videos can have different resolutions, framerate, channels and so on. So some videos can be without audio channel and should be ...
0
votes
2answers
75 views

Windows: ffmpeg drawtext with mp3 metadata

Trying to make ffmpeg create image/video with data from mp3/id3 (pref. id3v2) tags, for ex: ffmpeg -f lavfi -i "color=c=white:s=720x480" -i "01 - Steel Guitar Rag.mp3" -shortest -filter_complex ...
0
votes
0answers
34 views

How can I convert .mov to h.264 video MPEG-TS container (with DVB subtitles) using ffmpeg

I have to achieve these results: Vídeo ID : 481 (0x1E1) ID in Menu : 1 (0x1) Formato : AVC Format/Info : Advanced Video Codec Format profile : High@L4 Format config, CABAC : Yes Format config, ...
0
votes
1answer
53 views

get timestamp of a keyframe exactly before a given timestamp with FFmpeg

I want to cut lengthy segments of a video file and then join them. But without re encoding precise cutting isn't possible as ffmpeg seeks to the key frame before my listed time stamp and cuts from ...
1
vote
1answer
131 views

Extract alpha channel from webm video

I'm trying to extract a mask from a webm video with alpha transparency: ffmpeg -i test.webm -vf "alphaextract" -y output.mp4 But I'm getting an error: [Parsed_alphaextract_2 @ 0x7f924b700d00] ...
3
votes
1answer
103 views

How do I use ffmpeg to split a video into images and then reassemble exactly the same?

I have an MP4 which has an audio and video streams and I need to modify every frame of the video. The pipeline I'm using is: Split the audio out of the video: ffmpeg -i in.mp4 -vn -acodec copy ...
0
votes
1answer
69 views

Audio MD5 Checksum with ffmpeg

I'm getting these results under Windows (ffmpeg version N-78636-g45d3af9) ffmpeg.exe -i TEST.mp3 -c:a copy -f md5 - MD5=cb017003b355c2b39d71e8020bd76f5b ffmpeg.exe -i TEST.mp3 -f md5 - ...
0
votes
1answer
49 views

Recording Lenovo Easy Camera with ffmpeg - framerate too low

Does anybody have a glue why I can't get ffmpeg to record my webcam higher than 8 fps, with ffmpeg? I've tried Cheese and GUVCView, under various settings, but all I get is a still picture. I'm ...
1
vote
0answers
241 views

ffserver ffmpeg stream mjpeg from webcam Logitech C930e to mjpeg format without re transcoding

I have premium webcam from Logitech (C930e) and this camera support mjpeg built in processing directly in the camera it self. My purpose is to get that stream with ffmpeg and pipe it to ffserver so ...
1
vote
1answer
237 views

Batch convert a folder of .mkv files to .m4v files using ffmpeg in MAC OS X

Is there a way to batch covert a folder of .mkv files to .m4v files using ffmpeg in Mac? I setup a service that will do individual files, but I really would like to batch them. The 'Run Shell ...
0
votes
2answers
170 views

FFMPEG audio out of sync when transcoding (demuxing) from DV

I've been stuck with this problem for months. I have over 50 DV tapes (from and old Sony camcorder) to be converted to a more modern, usable format (most likely H264). I've started off with pulling ...
1
vote
2answers
97 views

Reduce video frame rate without dropping useful frames

I have a video from a security camera that was originally recorded at a low frame rate, maybe 15 fps, maybe 10 fps, maybe even less. It has since been converted by someone else to 25 fps (without ...
0
votes
0answers
31 views

Not able to add time stamp using ffmpeg

I am trying to add time stamp over a video using ffmpeg : Below is my command which i am using for adding time stamp to image Adding Time Stamp to Image: ffmpeg -i "C:\Temp\android\My Movie.wmv" ...
0
votes
1answer
81 views

FFmpeg encoding to H265

I read that the new H265 is supposed to have around twice the compression efficiency of H264 and supposed files around half the size http://x265.org/hevc-h265/ All of my results trying to encode to ...
0
votes
2answers
146 views

Settings For ffmpeg For Best VP9 Quality for Web Publishing

I have video in Apple ProRes 422 format which I plan to encode to Google's VP9 for publishing on the Web. The source is: Stream #0:0(und): Video: prores (apcn / 0x6E637061), yuv422p10le(bt709), ...
1
vote
2answers
70 views

Converting 5.1 audio to stereo and keeping both tracks

Let's say I have a video file that has 5.1 audio (maybe AAC or something) and I want to convert that track to stereo so I can use it with Plex without doing any transcoding. Well, I also want to keep ...
1
vote
0answers
29 views

Windows Movie Maker file size

I'm using ShareX to make x.264/MP4 tutorial videos in which there is very little motion. Most of the time I'm just typing and highlighting text. I'm getting reasonable file sizes. I edit the videos ...
0
votes
1answer
24 views

How do I pass a file with square brackets in its name to ffmpeg

Consider this ffmpeg command ffmpeg -i old_video.mkv -vf subtitles=old_video.mkv -acodec copy new_video.mp4 It works nicely if old_video.mkv doesn't have square brackets in its name. However if ...
0
votes
0answers
30 views

How do I output FFmpeg to Wirecast?

I want to use my Logitech c920 in Wirecast Play on a Windows 8.1 desktop. (This was in the line of webcams that had notorious issues. A thread pointed out FFmpeg support via DirectShow.) I can now ...
1
vote
1answer
79 views

What is the best way to losslessly compress MJPEG to MP4?

I have a few digital camera movies recorded in MJPEG that are taking a few GB of storage space. I would like to better compress them, but losing as little detail as possible, or none. Since MJPEG ...
0
votes
1answer
45 views

FFmpeg - Changing audio bitrate of the output FLAC file

In my code: ffmpeg -i "video.m2ts" -vn -sn -acodec flac "audio.flac" The output .flac audio file gives me 500kbps bitrate, which makes the file size big. I want to lower down the audio bitrate but I ...
4
votes
1answer
67 views

How do I escape a certain character in a variable in a batch file

I made this script but it doesn't work : for /R %%f in (*.mkv) do ( ffmpeg -i "%%f" -vf subtitles="%%~nf.mkv" -acodec copy "%%~nf.mp4" ) PAUSE After looking for the problem, I found that the ...
0
votes
0answers
30 views

Rhythmbox, Banshee and Clementine do not import ADTS aac file

The file is an aac file Duration: 00:05:33.98, bitrate: 161 kb/s Stream #0:0: Audio: aac (LC), 44100 Hz, stereo, fltp, 161 kb/s Clementine, rhythmbox and banshee refuse to open this file. However, ...