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

concat a/v desync (only in MPC-HC)

I'm concatenating .ts chunks intended for an HLS player into a single .mp4 video. Unlike in other questions these chunks possess same stream properties, However, some chunks have audio stream shorter ...
0
votes
0answers
4 views

FFMPEG HD 1:1 to SD 4:3

Been trying to calculate HD 1:1 to SD 4:3. Of corse the left and right will need to be cropped to 720x480 and then the proper set dar applied. Going from 1:1 (1920x1080) to 1.33 (720x480) 640x480. Im ...
0
votes
0answers
14 views

FFMPEG not producing valid DASH manifest for dash.js but working with SHAKA player [closed]

I am trying to get dash.js working as a player within a browser, I'm sure I have had working before but for some reason it is no longer working, I was going to raise a post on dash.js issue log but ...
0
votes
0answers
13 views

Remove silence from video (stay synced + audio fading (if possible))

Goal: Remove silent parts from video (while complying with the constraints below) Constraints: Keep audio and video in sync. Don't remove silent parts smaller than x seconds. nice2have: treat sound ...
0
votes
0answers
11 views

Can I directly get H.264 and MP2 or MP3 from a C930e webcam?

I start the audio streaming with: ffmpeg \ -f alsa -i hw:1,0 -acodec mp2 -b:a 128k http://127.0.0.1:8090/wallaudio.ffm and I can see that it will encode the PCM S16LE to MP2: Stream mapping: ...
0
votes
1answer
48 views
+50

ffmpeg - resizing .mp4 changes the timebase (tbn & tbc)

I have been trying to write a script to merge multiple .mp4 videos using ffmpeg. As part of this process, while trying to alter the size found that it alters the timebase. However, for ffmpeg - concat ...
0
votes
0answers
26 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
11 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
13 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
8 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
37 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
14 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
8 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
9 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
15 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 ...
0
votes
1answer
44 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
7 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
14 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
30 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
17 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
25 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
12 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
22 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
29 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
28 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
20 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
24 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
38 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
42 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 -...
1
vote
0answers
13 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 ...
1
vote
0answers
18 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 ...
1
vote
1answer
21 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
1answer
23 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
39 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 ...
2
votes
0answers
22 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 ...
1
vote
2answers
43 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
31 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
31 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
24 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
16 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
13 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
26 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
31 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
11 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 ...
1
vote
1answer
55 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
25 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
53 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
6 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
21 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
13 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 ...

1
2 3 4 5
34