Questions tagged [ffmpeg]

FFmpeg is a free software project that produces libraries and programs for handling multimedia data. The most notable parts of FFmpeg are libavcodec, an audio/video codec library used by several other projects, libavformat, an audio/video container mux and demux library, and the ffmpeg command line program for transcoding multimedia files.

Filter by
Sorted by
Tagged with
0
votes
1answer
132 views

Overlay multiple images on one video using ffmpeg?

I need to encode multiple images over the same video at different times in a single pass. I have a fair grasp of doing this with a single image, such as ffmpeg -i video.mp4 -i picture1.png -...
0
votes
1answer
15 views

Is it possible to drop some specific frames when comparing SSIM by ffmpeg?

I would like to calculate the SSIM for two videos by ffmpeg: the original video and the distorted video. The case is the distorted video was generated by some kind of GPU of android devices, and it ...
0
votes
1answer
32 views

Is there a way to smooth random audio dropouts with ffmpeg or Premiere?

I have large amounts of footage with audio tracks that have random dropouts throughout which last for ~0.5 seconds each (all audio dropouts are consistent in duration). I need to smooth out the drops, ...
0
votes
0answers
34 views

Windows FFMPEG concat from list and log each file inputted into to ffmpeg

Ok i have a working batch file, where I grab from a text file a list of videos to concat as such ffconcat version 1.0 file 'dan_Ep_01HardWater.ts' file 'dan_Ep_02GoldieTheGoldfish.ts' file 'list2.txt ...
0
votes
0answers
38 views

Convert .webm to .mp4 with same quality - Getting conversion failed with Too many packets buffered for output stream 0:1

I am trying to convert an example.webm file to example.mp4 using the command below, ffmpeg -i example.webm -vf "select=(29.97*TB)" -framerate 29.97 -r 29.97 example-output.mp4 When I ran ...
0
votes
0answers
27 views

encoding DTMF Tones with FFmpeg

so i know how to create a nice smpte bars with tones using sine bin\ffmpeg -hide_banner -loglevel 0 -f lavfi -i "smptebars=duration=%duration%:size=1280x720:rate=60000/1001" -f lavfi -i &...
0
votes
0answers
35 views

Converting first audio track from 7.1 or DTS to 5.1 AC3

I have two folders full of movies in mp4 container. One folder has 7.1 AAC track first, AAC stereo track 2nd. The other folder has a DTS track 1st, AAC stereo track 2nd. For compatibility reasons I ...
0
votes
1answer
117 views

Creating transparent video from transparent png files using ffmpeg

I have a set of 300 transparent png files and I would like to create a transparent video file from them. I'm using the ffmpeg command as follows: ffmpeg -f image2 -i anim.%04d.png -r 30 -vcodec png ...
0
votes
1answer
80 views

Monitor FFMPEG Rtmp live stream with FFPLAY pipe

I have wrestled with this for hours and can not figure out how to pipe this to ffplay so that i can monitor it. google searches and searches on here and stack overflow come up empty ffmpeg -...
0
votes
0answers
18 views

ffmpeg old version more compatible how to emulate it with the new one?

convert command like this: ffmpeg -i res.ogv -vcodec libx264 -vb 2000k -preset ultrafast -f mp4 res.ogv.mp4 with ffmpeg version 2.8.10 from Fedora 23 it generates file: Metadata: major_brand ...
0
votes
0answers
44 views

ffmpeg showing “Thread message queue blocking” error while encoding (non real time)

Hope someone can help me. I'm using ffmpeg to extract the frames from an old video as images, batch enhancing and upscaling the images, then renecoding the images together with the original audio to a ...
0
votes
1answer
23 views

Combining a short video and long audio file efficiently using Vegas or FFMPEG

I have a need to repeatedly create videos that have a short 15 second intro that fades to black and have really long audio tracks like 8 hours. I generate the video in Vegas and the audio in Cubase. ...
1
vote
2answers
64 views

ffmpeg + libfdk_aac + vbr => wrong “BitRate_Mode”

I'm trying to encode sample video clip or audio track with ffmpeg and libfdk_aac with variable bitrate mode-vbr 3: ffmpeg -i sample.mp4 -crf 21 -vcodec h264 -acodec libfdk_aac -vbr 3 -ac 2 out.mp4 ...
1
vote
1answer
50 views

How to BATCH remux combine video and audio to one file?

How can BATCH remux video and audio to one file? I'm trying this on mine android termux. So what I'm trying: I want to rip audio from video and convert to wav. ffmpeg -i inp.mkv -map 0:1 audio.wav ...
1
vote
0answers
24 views

Why does ffmpeg cut/trim off the end of my video when the bitrate is higher than normal?

I'm using ffmpeg to transcode some larger videos (10GB+) with higher bitrates (20Mbps), and I noticed that some (I can't find any pattern yet) will trim of a portion at the end (between 1 and 5 ...
0
votes
2answers
65 views

Halve framerate without complete re-encoding

Is there any tool that can manipulate / transcode h264 or h265 video streams throwing away approximately half of the frames, without performing a full re-encode? I'm thinking it would be theoretically ...
1
vote
1answer
32 views

Setting points and doing a quick “snip”, dynamically playing the video

I need to cut out "best moments" from 1hour videos.(up to 6 moments per video) What software is able to set in/out marks and save marked periods with keyboard shortcuts while watching the ...
0
votes
1answer
38 views

ffmpeg produces the same output file with different bitrate settings

My input is an uncompressed video captured from old Hi8 cassettes, mediainfo: Format : RGB Codec ID : V_UNCOMPRESSED Codec ID/Info ...
1
vote
0answers
33 views

HLS stream playing only when first segment is in m3u8 list

I am transcoding a live DVB-T2 HEVC stream to H264 using ffmpeg. I have decided to use the HLS (segmented) output format (because I want to play the stream in a web browser, e.g. on Android phone). I ...
0
votes
0answers
21 views

Make FFMPEG use Mobile GPU

I have two GPU on my laptop, one is AMD Vega 8 and one is RX 560X. I run a VOB to MP4 conversion using Windows Powershell with this command: ffmpeg -i VTS_01_1.VOB -vf yadif -c:v h264_amf -preset slow ...
0
votes
0answers
14 views

Is a video capture device with external coding useful for OBS?

I'm awfully new to this, so bear with me if this is a dumb question, but ... I'm in the market for a video capture device so I can use my DSLR for some live streaming video. In investigating external (...
0
votes
1answer
29 views

How to convert a black and white video to a APNG file while setting a color as transparent?

I created a small video with threshold filter to get black and white pixels (no greyscale): ffmpeg -y -i /dev/video0 -f lavfi -i color=0x606060:s=640x480 -f lavfi -i color=black:s=...
0
votes
1answer
38 views

FFmpeg on windows cut and fade question

so i am using the following code to in a windows .BAT file to cut up a video at X time: bin\ffmpeg -hide_banner -loglevel 0 -i "%video%" -c copy -map 0 -f segment -segment_time %...
0
votes
0answers
14 views

Youtube livestream stops receiving video from time to time (ffmpeg)

I have ip cam, raspberry pi with ffmpeg on board and I am trying to do 24/7 youtube livestream. I have set up a service that start ffmpeg on boot. It receives rtsp stream from camera and sends it to ...
0
votes
1answer
68 views

ffmpeg converting Nikon .mov file to a format for Da Vinci Resolve Linux

Hi folks I've spent 2 days on this now and I'm no closer to finding the perfect ffmpeg command line to do an exact conversion of a Nikon D850 .mov file to a format that Da Vinci Resolve on Linux can ...
0
votes
1answer
33 views

FFMPEG fade out image overlay issue on windows 10

sorry if my question is not exactly the correct format, this is my first post here I have created a ffmpeg one line code that will fade in and fade out a transparent .png as a overlay here is my ...
0
votes
0answers
63 views

Infinite loop RTMP Stream Using FFmpeg or Equivalent

I'm trying to do an infinite loop RTMP stream on a CentOS 7 server and it seems like FFmpeg would be the best way to accomplish that. However, I cannot seem to coax FFmpeg into doing it despite ...
0
votes
0answers
7 views

When combining videos, what do frozen frames or blocky grey corrupted areas indicate?

I'm trying to concat a bunch of .mp4 videos using ffmpeg. They all play fine in VLC individually, but when I concat them together, I get frozen frames, blocky grey corruption, pixellation where the ...
0
votes
0answers
38 views

Download/save HLS video using FFMPEG with separate URL of video and audio playlist

First time here and new to all this. Learning as I go. There is a video stream I would like to save on my computer for future viewing. I was able to retrieve the master.m3u8 file and therefore was ...
0
votes
0answers
14 views

ffmpeg and blocky corrupted video clip after concatenation

I am attempting to concatenate a bunch of video clips using ffmpeg. The command line I am using is: ffmpeg -f concat -safe 0 -i mylist.txt -c copy output.mp4 One of the video clips in particular ...
0
votes
0answers
23 views

Finding and repairing duplicate sound with ffmpeg

I have a number of videos that contain sound sequences that repeat with a corresponding video freeze. I have an example clip that contains a sound sequence from 51.194s -- 60.133s that repeats again ...
0
votes
0answers
22 views

MP4 vs VP8, what's the best codec & fps for text-editing video?

What's the best codec & fps (and other CLI config) to minimize bandwidth usage for streaming text editor videos? Specifically: high res (as close to original as possible) low fps (<= 8 is fine)...
0
votes
1answer
37 views

Are two videos “identical” if their decoded data is the same, but not the encoded data?

Say I have two files A.mkv and B.mkv which are meant to be (told to me to be) the same content at the same quality. However my source tells me they suspect that there is a minor difference, but can't ...
0
votes
0answers
20 views

Can I use ffmpeg to encode a video for Camtasia import?

I'm using ffmpeg to create screencasts. The command looks like this: ffmpeg -f x11grab -framerate 30 \ $(xwininfo | gawk 'match($0, /-geometry ([0-9]+x[0-9]+).([0-9]+).([0-9]+)/, a)\ { ...
0
votes
1answer
25 views

FFMPEG shows error message

I am pretty new to ffmpeg, sorry. I am trying to compose a video from individual images. The images have size 2667 x 1500. The following command gives me an error: "/usr/bin/ffmpeg" -y -f ...
0
votes
0answers
81 views

Sampling and using afftdn with ffmpeg - how with complex filters?

I'm merging together a bunch of videos (30 so far) into a "Brady Bunch" style amalgam using ffmpeg, and I've got that working reasonably well. The last big problem is the background noise. ...
1
vote
1answer
27 views

Why is ffmpeg producing a background?

I am a chemist and since a few weeks I am making short videos with ffmpeg by combining images, I am using the command below (for some reason without profile:v high, powerpoint crashes when I would ...
0
votes
1answer
165 views

Using select in ffmpeg to choose frames

I am trying to use the select filter to choose frames to be included in the output file, but the resulting output file actually has more frames than the input file, which is completely baffling. ...
0
votes
1answer
12 views

After subtitle video one of my audio track is missing

I have a video and a soft subtitle of the video.The video had 3 audio(track1 track2 track3) I use this command ffmpeg -i /sdcard/input.mkv -vf subtitles=/sdcard/input.ass /sdcard/hrdcoded.mp4 In this ...
0
votes
1answer
104 views

no such filter, when using filter complex with pre-scale

the desired output is combining 3 vids, and using scale or pad (do some processing on the input). ffmpeg -i in.mp4 -i in2.mkv -i in3.mkv \ -filter_complex "[0:v][v0];[1:v]scale=-1:1440[v1];[2:v][...
0
votes
1answer
16 views

How to automate cutting the part with audio on a certain track out?

How to automate cutting the bits with audio on a certain track out? So here is the deal. We live recording radio shows with video. But we do not have permission to use the music played. So we need to ...
0
votes
0answers
8 views

removing unplayable part of stream

I have broken part of an mp4 file, and I know it caused by a network error when downloading it. I think FFmpeg capable of removing the unplayable part. Error while decoding stream #0:0: Invalid data ...
0
votes
0answers
15 views

ffmpg (copy existing settings?) or crop a .mov with alpha and have it be open-able using Quicktime (not VLC)

How do you have ffmpeg copy all existing settings except the crop dimensions of a video file? I've been struggling to crop an .mov with alpha channel (transparent video), so that it can be opened ...
2
votes
0answers
15 views

ticker text does not run really smooth

I want to create a ticker text video like the news ticker you see sometimes in TV. So I use ffmpeg -loop 1 -i Transparent_800x20.png -vf drawtext="fontsize=16:fontcolor=black:fontfile=...
0
votes
0answers
65 views

Convert 4k 30fps iPhone footage (.mov) from variable framerate to constant framerate and keep .mov format

When I shoot video at 4k 30fps with an iPhone 11 and an iPhone XR as secondary camera, the resulting files have a variable framerate (VFR). When I try to edit them in iMovie (I will upgrade to Final ...
0
votes
0answers
20 views

FFMPEG: Timing wrong in output

one question that currently drives me crazy. I used the following command to cut a video: ffmpeg -i origin.mp4 -ss 00:09:53 -to 00:11:53 -async 1 output.mp4 However, the output does not start at 09 ...
0
votes
1answer
338 views

Fix mp3float Header missing without re-encode

I'd like to fix some old AVI files without re-encoding them. I was hoping ffmpeg would do the job, but for some reason I cannot find the right command to fix the MP3 header. Steps: % ffprobe -...
0
votes
0answers
92 views

ffmpeg: Unknown decoder 'copy' when concatenating clips

Basically I was following https://video.stackexchange.com/a/15701/26767, which states: This should work faster... ffmpeg -ss 1:00 -t 5 -i in.mkv -ss 2:00 -t 5 -i in.mkv \ -filter_complex "[0][1]...
0
votes
1answer
81 views

“Cannot find a matching stream for unlabeled input pad 2 on filter Parsed_amerge_2” ffmpeg

The error I'm getting is in the title. I want to merge the two audio streams from a video into one (yes, I've checked if there is two and there is). This is the command I'm using: ffmpeg -i input.mp4 -...
1
vote
0answers
156 views

Cannot find a matching stream for unlabeled input pad 1 on filter Parsed_concat_0 (a different case)

I saw this answer ffmpeg batch overlay Error: "Cannot find a matching stream for unlabeled input pad 1 on filter Parsed_overlay_0" for same error message but doesn't seem to be same case : I ...

1
2
3 4 5
35