Questions tagged [ffmpeg]

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. For help with CLI use only of ff* binaries - ffmpeg, ffprobe, ffplay. For help with API usage, post on Stack Overflow.

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

Hot to limit the HLS ts segments counter

I've been trying to live stream an IP camera by feeding the rtsp video to FFMPEG. I can see the ts segments are created and old ones deleted, but the names of the ts keep increasing in count. Like ...
1
vote
0answers
17 views

how to burn subtitles and transcode live stream with ffmpeg

I try to transcode live stream and scale the video i have managed to do this with this command : ffmpeg -i "udp://@239.253.251.14:5505?overrun_nonfatal=1&fifo_size=50000000" -vf ...
0
votes
1answer
24 views

What is the error in my “ filter_complex” settings?

I am a beginner. I have something to ask. I used this: -filter_complex "[1:v][0:v]scale2ref[d][v1];[d][v1]overlay=enable='between(t,495.8,509)'[v2];[d][v2 ]overlay=enable='between(t,517.5,561.8)'[...
0
votes
0answers
13 views

Encoding error in one environment but not in others

I am new to ffmpeg so apologies for pretending to know what I am talking about here. I am troubleshooting what should have been a simple ffmpeg install in support of a php website package. Site ...
0
votes
0answers
12 views

Howto redirect cheese webcam effect to new video device

I am on ubuntu 20.04, but v4l2 package is not working: so I installed it from here git clone git@github.com:umlaeute/v4l2loopback make sudo insmod v4l2loopback.ko exclusive_caps=1 video_nr=1 ...
0
votes
0answers
14 views

ffmpeg - constant frame-rate AND fixed bitrate

I am totally new to this and I am trying to transcode a video (.mp4) to make it having constant framerate and fix output bitrate (for video 24M, audio 240K). I have tried: ffmpeg -i <input> -...
0
votes
0answers
9 views

Can I use ffmpeg on STM32H743 MCU?

I am trying to make a video camera with stm32 which requires video compression and streaming. Can I use ffmpeg for video streaming on STM32H743 MCU?
0
votes
1answer
12 views

Issue while trying to just change the metadata through ffmpeg

Im just a beginner trying to fix audio metadata in an mp4 video. I want to change the audio language code from German to English. Issue I encounter is that the output file always has changes done to ...
0
votes
0answers
10 views

ffmpeg just cuts out after a time

I'm using ffmpeg to record a video. At some point, ffmpeg simply stops and there's no indication that there's anything wrong. Here's the full output: ffmpeg version git-2020-01-08-5bd0010 Copyright (c)...
-1
votes
0answers
12 views

FFmpeg API - reading pulseaudio mic, encode to opus and send via rtsp

My goal is to read pulseaudio microphone audio input and send it via rtsp encoded as opus. To play stream I am using ffplay. What step am I missing? Currently I am hearing mostly nosie when receiving ...
0
votes
1answer
25 views

ffmpeg - multiple videos in panes, background image - unacceptable rendering speed

In this ongoing saga of me putting together a video, I have one more step I'm trying to add. My requirements look like this: In these days of COVID, our choir director is recording a video which is ...
0
votes
1answer
14 views

ffmpeg - add multiple videos in panes, one master track, give offset start times how?

In these days of COVID, our choir director is recording a video which is the accompaniment, and then each choir member (at home) is listening to the accompaniment in headphones, singing along, and ...
-1
votes
1answer
31 views

Is there way to increase speed of adding subtitles to a WEBM video?

With MP4 I used this command ffmpeg -i INPUT.mp4 -vf ass=SUBS.ass -c:v libx264 -preset ultrafast -crf 22 -c:a copy OUTPUT.mp4 which has helped to increase the speed. But there are some problems with ...
0
votes
0answers
9 views

How can show a progress bar when mixing sound using ffmpeg in flutter?

I am mixing two files(a,b) into one output(c) using FFmpeg. As it takes a long time to mixing a file I would like to display a progress bar. Can someone please guide me on how to go about the same? ...
0
votes
0answers
16 views

Queue input is backward in time

Someday i got this error( Queue input is backward in time )Now i develop app for screen recording, and i have to catch this error for future testing. How can i catch/get this error again? Which ...
0
votes
1answer
46 views

ffmpeg - add multiple videos in panes, give offset start times how?

In these days of COVID, our choir director is recording a video which is the accompaniment, and then each choir member (at home) is listening to the accompaniment in headphones, singing along, and ...
0
votes
0answers
14 views

ffmpeg zscale error on Freebsd

Installed via: pkg install ffmpeg When I run an ffmpeg command with zscale, I get the error: No such filter: 'zscale' Can someone point me to directions for compiling with libzimg to get around this ...
0
votes
0answers
11 views

FFMPEG version 4.3.1 incompatible with HLS streaming at contrario of 2.8

I compared release 4.3.1 and 2.8 (https://formulae.brew.sh/formula/ffmpeg@2.8) and 2.8 is working as expected for HLS playout not 4.3.1 here is the URL where it fails with= ./ffplay 'http://195.238.31....
0
votes
0answers
16 views

Re-concat a video from RTSP stream, creates corrupt videos

I'm trying to build a simple NVR-application for myself that records camera input in chunks (in case the ffmpeg thread crashes) and exports frames like this: /usr/bin/ffmpeg -rtsp_transport tcp -i ...
0
votes
1answer
26 views

Reducing bit depth on png's generated from video using ffmpeg

I'm using ffmpeg to pull png image frames from a video: > ffmpeg -i video.mp4 frames%05d.png The png's that result are 24 bit depth, which is too large for my purposes. I would like to use 16 or 8 ...
0
votes
0answers
25 views

resize/change aspect ratio of PGS subtitles with ffmpeg

i have some blu-ray rips that i have re-encoded. they were letterboxed and so now have resolutions of 1920x816, 1920x804, etc. and this has caused some issues with the subtitles. in some video players ...
0
votes
0answers
43 views

Correct pixel format/codec for desktop streaming as dummy webcam

I've loaded the v4l2loopback kernel module, then started to grab the desktop screen and send it to the dummy webcam device: ffmpeg -f x11grab -framerate 10 -video_size 1280x1024 -i :0.0 -vcodec ...
1
vote
1answer
20 views

Automatically convert files to h265 in a certain folder

What I am currently doing Everything is running on freenas (linux). I always have to go into the shell and start a script to transcode everything inside the folder. To be exact: I go to the shell and ...
0
votes
0answers
20 views

ffmpeg - how do i fix missing audio stream?

I have several avi files I captured from miniDV cassettes, and now am trying to compress using ffmpeg. Most files are working fine, but when running ffprobe on one of them I get this output: ffprobe ...
0
votes
0answers
9 views

Make network requests multi threaded or asynchronous

I'm using this command to download the audio stream of a video from a website: ffmpeg -i "m3u8_address" -c copy audio.m4a And here's the result: [hls,applehttp @ 0000020c92d89180] Opening '...
0
votes
0answers
21 views

How do you get FFmpeg script -hwaccel overlay_cuda to fade in and out an image?

The following FFmpeg hardware-acceleration script works fine. But when I try to apply a fade in and out to the overlayed image it breaks. Is there a solution? Working: ffmpeg -hwaccel cuda -...
0
votes
1answer
18 views

Changing Format_Level, colour_range, transfer_characteristics without re-encoding the file when using FFmpeg?

I have a file with the following metadata: "Format_Level": "6.2", "colour_range": "Full", "colour_range_Source": "Container / Stream", &...
0
votes
0answers
66 views

Can't get -c copy to work

So I'm trying to move the positions of streams in a wmv file. ffmpeg -i input.wmv -vcodec copy -acodec copy -map 0:1 -map 0:2 -map 0:0 -c copy output.wmv Thats the line I'm trying to use. It does the ...
1
vote
0answers
14 views

FFMPEG- how to set presentation timestamp of a second video while merging a second video side-by-side with a first video

I was trying to merge a second video into a first video, side-by-side in a stacked fashion as a self-interest work. The twist is the video is a recording of a video call, where a second user might ...
0
votes
2answers
66 views

How to use aspect parameter of pad in ffmpeg?

I am trying to convert a large number of files from many sources into a standard format of 426x240 using ffmpeg with the following arguments: -y -i input.mov -ac 2 -ab 96k -ar 44100 -vcodec libx264 -...
1
vote
0answers
97 views

ffmpeg capture window bug

ffmpeg-f gdigrab -framerate 30 -video_size 1920x1080 -draw_mouse 1 -i title=Calculator -c:v libx264 -pix_fmt yuv420p -preset ultrafast recording.mp4 That's my command. When i run it i get this error: ...
0
votes
1answer
19 views

Create RTMP stream from website via Linux command line

I have a webpage with video and audio that I would like to relay to an RTMP stream. This would preferably happen via command line on a Linux machine. I know FFMPEG can be used to create RTMP streams ...
0
votes
0answers
159 views

remove encoding information

I want to know how I can remove encode settings from the mediainfo with mkvpropedit or ffmpeg? İn this post: https://video.stackexchange.com/questions/18227/removing-mp4-encoding-information I found ...
0
votes
1answer
21 views

FFmpeg AAC audio copy

I tried to convert some transport stream files to MP4 files, keeping only the original audio. For most streams this works fine, but for streams containing aac audio this seems an issue. q1: why this ...
0
votes
1answer
17 views

What is the right workflow to clean & replicate one-channel mono audio as stereo using ffmpeg?

What would be the right workflow in terms of sequence of steps to take what seems to be really a single channel audio captured from VHS tape (apart from the video track), and have it made available on ...
0
votes
0answers
24 views

HLS video become corrupted if using FFmpeg to download it

I was trying to download an HLS video (.m3u8) using FFmpeg. The video was fine when I open the .m3u8 file directly VLC, but the .mp4 file downloaded using FFmpeg was totally broken (the frames and ...
1
vote
0answers
39 views

How to patch sources in ffmpeg?

I'm sure this has been covered before, but it's not making sense to me. If I want to capture the far right of 3 screens (3 wide, 1 high) at 30fps, all of which are 1920x1080, I do this: ffmpeg \ -...
0
votes
0answers
11 views

FFMPEG HLS encoding live streaming [av_interleaved_write_frame broken pipe]

Live streaming start in a correct way, but in a range of segments (from 10 to 35 segments already loaded), live streaming stops for few time, then restart from segment 0 and go on fine. When this ...
0
votes
0answers
12 views

How to find start time of human voice (or any voice) after a specific time in a video?

I am using ffmpeg to find the break times in a video. I have successfully collected all the break times in my video with the help of "blackdetect" feature. So far so good. But, now, I would ...
0
votes
0answers
32 views

How can I shift overlay by ffmpeg after every x seconds

I would like to add overlay on a video , it is pretty straightforward process. But I would like to change the overlay position continuously till the end of the video . For example , it will start on ...
0
votes
0answers
14 views

How to overlay second video every x second

As title I want to overlay video has green filter on top of main video after every x second (ex: after first minute second video will overlay, and second minute overlay again from start, forever to ...
0
votes
1answer
41 views

FFMPEG need help to optimize the command

I'm doing multiple operations with FFMPEG. I have 5 files. intro_image.jpg: This is an image of any resolution but will be jpeg. intro_audio.mp3: This audio is static input of duration 7 seconds. ...
0
votes
1answer
99 views

MFT not found when changing tempo of mp3

Hello!I want to equalize, change tempo and split an mp3 file with ffmpeg. I have managed to split it correctly (after finding that in windows I have to escape de % in the file format) but I am stuck ...
0
votes
1answer
19 views

FFMPEG Media type mismatch for audio only concat

I'm trying to run the following ffmpeg filter: [0:a]asplit = 2[acopy0][acopy1],[acopy0] atrim=0:125.400000,asetpts=PTS-STARTPTS[a0],[acopy1] atrim=197.961000:198.020000,asetpts=PTS-STARTPTS[a1],[a0] [...
0
votes
0answers
17 views

ProRes with 12-bit?

I have a question. Adobe Media Encoder supports Apple ProRes encoding with 16-bit (without and with alpha at Profile 4444). And some ProRes XQ Profiles will be natively recorded with 12-bits (DJI). ...
0
votes
1answer
46 views

FFmpeg has no bin folder to link to or .exe file. How do I use it?

Installation instructions say to create a path for c:\ffmpeg\bin, but when I try to run it, I keep getting an error saying "ffmpeg is not recognized as internal or external command, operable ...
1
vote
0answers
24 views

ffmpeg get list of all allowed extensions [closed]

community. I need help. I try to capture screen using ffmpeg. I could be show you my command that i use to capture screen, but i think that it doesn't matter. How can i get list of all allowed output ...
0
votes
0answers
7 views

Silence in RTP stream in ffmpeg

I am trying to record a webRTC stream. The stream is coming in in the OPUS codec, and is then being piped into ffmpeg for recording, using the -c:a copy flag. However, if there are missing packets, ...
0
votes
0answers
13 views

ffmpeg How to make round shape background below the text when using ass to add subtitles?

How to make round shape background below the text when using ass to add subtitles like: enter image description here
0
votes
1answer
34 views

Is map_metadata necessary for copying audio files with ffmpeg

Does it make a difference using -map_metadata for copying audio files with ffmpeg or can it be omitted because it is this the default already? ffmpeg -i track.m4a -c copy -t 10 -map_metadata track-10s....

1
2 3 4 5
103