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
0answers
49 views

PTS: Format to S:MSS

I'm using ffmpeg in a bash script to have a timer overlay in the video: fps=30 seconds=5.53; lowerFont=30; fpath="./input.mp4"; ffmpeg -y -i "$fpath" \ -c:v libx264 -r $fps -t $...
0
votes
0answers
26 views

ovelays not embedding properly and no audio

I have a bunch of small mp4 files (without audio), and an mp3 audio file. Using the concat protocol, I concatenated them with -shortest flag ffmpeg -f concat -safe 0 -i "list.txt" -i ".....
0
votes
0answers
15 views

Move videos audio track few miliseconds further

My videorecorder made audio out of sync few miliseconds. Is there any way how I can fix all the footages in my timeline in Final Cut pro ? If not, maybe I can use ffmpeg to fix them at once somehow ? ...
0
votes
0answers
34 views

How can delay images input in ffmpeg

I'm adding pictures to the video to form an animation. And the animation needs to start with a delay. ffmpeg -i a.mp4 -t 7 -r 25 -itsoffset 3 -stream_loop 1 -i %d.png -filter_complex "[0:v][1:v]...
0
votes
1answer
147 views

Frame-accurate cuts with ffmpeg for 29.97 fps

I want to cut a video into many segments and then stitch them back together. To account for videos that have a framerate of 29.97 I cut them into 100-second videos via ffmpeg -ss 0 -t 100 which works ...
0
votes
2answers
81 views

Importing uncompressed video into Final Cut Pro without (too much) transcoding

I have recently digitized a VHS tape using VirtualDub. Here is the MediaInfo of the original file. General Complete name : capture.avi Format ...
0
votes
1answer
64 views

Compiling x264 in MinGW

I'm trying to do a minimal build of ffmpeg in MinGW including x264. For some reason the x264 package depends on ffms2 which depends on ffmpeg which itself has a huge list of dependencies. I will try ...
0
votes
0answers
11 views

Add splashscreen before video

I have: splash.png having the same size as video resolution video.mp4 in 60 fps already encoded via -vcodec h264 -crf 23 -acodec copy I want to prepend (not overlay) video video.mp4 with ...
0
votes
1answer
128 views

ffmpeg convert 1 jpeg frame to 10 sec video

I have a 952x600 jpeg image, generated by a PHP script. I want to create another PHP script that uses ffmpeg, which converts that jpeg image to a mp4 video, which has only 1 frame that lasts for 10 ...
1
vote
1answer
291 views

How can I put a VP9 video stream into a QuickTime/MOV container?

FFmpeg has no trouble putting all sorts of weird video codecs into QuickTime/MOV containers, including utvideo, hap, snow, ffv1, and cinepak. This makes sense, as it is my understanding that the MOV ...
0
votes
0answers
13 views

FFMPEG Incorrect Video Duration After Convertion

I have a 10 second video which after converting to mp4 using FFMPEG the iamge is frozen and the duration is 3 hour and 3 minutes long. Using MediaInfo the video is detected a 10 seconds long. using ...
1
vote
1answer
141 views

Black fontcolor being transparent in drawtext in ffmpeg

I am using the command below to drawtext with rotation. This works but when set fontcolor=black It becomes transparent color. I am not understanding the reason. ffmpeg -i input.mp4 -filter_complex &...
0
votes
0answers
437 views

Streamable Container for gstreamer with ngnix / RTSP on jetson nano

Im working on this project : https://www.hackster.io/jonmendenhall/jetson-nano-search-and-rescue-ai-uav-9ca547 At  some point I will need to mount my camera (waveshare ; IMX219-77IR) on  top of the ...
0
votes
1answer
77 views

Converting h265 video to h264 with ffmpeg results in glitchy visuals with Chromecast

I'm having a lot of trouble casting a specific file on my Chromecast. At first it was because it was encoded with H265, which is not supported by my Chromecast device (2nd gen). I tried changing its ...
0
votes
1answer
932 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
46 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
70 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
71 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
78 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
71 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
73 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 ...
1
vote
1answer
1k 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 ...
1
vote
1answer
269 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
33 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
1answer
478 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
81 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
222 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
146 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
28 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
123 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
35 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
95 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
203 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
33 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
30 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
81 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
51 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
22 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
173 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
84 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
251 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
12 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
136 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
32 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
47 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
27 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
49 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
1answer
88 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
50 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
277 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
3 4
5
6 7
37