Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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 ...

0
votes
0answers
13 views

FFmpeg ProRes interlacing artifacts horrible compared to Apple Compressor export

I've been importing my family videos recently. I'd like to archive these videos using ProRes 422. Compressor works. The videos pop out with hardly ANY visual difference. FFmpeg, however produces ...
0
votes
1answer
26 views

How to scale a video over time with ffmpeg

Is there a way to scale a video over time with ffmpeg ? This is the result that I want: I have been looking through the documentation and you can change the scale but no over time. Am I missing ...
0
votes
0answers
19 views

FFmpeg batch merge videos within a folder

I have a folder c:\myfolder\ containing a variable amount of mp4 files with same resolution / codec. Now I need a .bat file to merge all videos into one. e.g. c:\myfolder\1.mp4, c:\myfolder\2.mp4, c:...
0
votes
1answer
32 views

How to stop ffmpeg from adding “handler_name” to metadata

I run ffmpeg -i 1.mp4 -map_metadata -1 -codec copy 2.mp4 to remove all the metadata. But ffmpeg add handler_name : SoundHandler to audio track and handler_name : VideoHandler to video track. Is there ...
0
votes
0answers
36 views

Video Type HEVC ! with ffmpeg

I use the following code for my video ffmpeg -y -i "1.mp4" -r 30 -g 50000 -q 22 -filter:v scale=650:-1 -c:v libx264 -c:a aac -b:a 320k -ar 42000 -pix_fmt yuv420p -b:v 1500k -strict experimental -...
0
votes
1answer
20 views

FFMPEG Adding Metadata to an .mp3 From .mp3 Input?

If I start off with a .mp3 file, how can I add metadata to it? I'm aware of the -metadata title="Some Title" -metadata artist="Someone" formatting, but not sure how this can be applied to a .mp3 file,...
0
votes
0answers
40 views

How to download .m3u8 video with query string and EXT-X-KEY?

The m3u8 file location is https://hls2.videos.sproutvideo.com/4c6...../b24db8.../video/720.m3u8?Policy=eyJTd....._&Signature=S7pry.....__&Key-Pair-Id=APKAIB5DGCGAQJ4GGIUQ The 720.key is ...
0
votes
0answers
18 views

How to clean buffer with ffmpeg?

I have a script on linux, where I'm using ffmpeg for video streaming. My problem is that I don't know how to clean the buffer, every time I start the video streaming, it plays a short part of my last ...
0
votes
0answers
22 views

ffmpeg audio stream map loses metadata

I'm trying to map audio streams directly from the input file to the output without touching them at all, but the output file loses any metadata they had before. This command should just take the ...
0
votes
1answer
25 views

How to set watermark width and height same as video width and height using ffmpeg? [duplicate]

I want to set watermark width and height same as video width and height. String[] cmd={"-i",margefilePath,"-ignore_loop","0","-i","/storage/emulated/0/Download/light2.gif","-i","/storage/emulated/0/...
0
votes
1answer
25 views

Add audio and watermark in a video with one command using FFmpeg

I want add audio and a watermark to a video with only one command. Currently I added the watermark first using the below command: String[] cmd={"-i",videoPath,"-ignore_loop","0","-i","/storage/...
0
votes
0answers
29 views

Identify video files with subtitle streams with ffmpeg

I have hundreds of video files of different types, mostly mkv. I need to batch process them to somehow sort those with subtitle streams from those without. I am using modern Mac OS and FFMPEG 4.
0
votes
1answer
15 views

VLC can but Instagram and “Gallery” cannot play my videos

I've been busy over the past few days trying to compile a timelapse from a string of images using FFMPEG. After initial issues, I've got it working and have a perfect MP4 that plays in VLC player. It ...
1
vote
1answer
52 views

What is the right ffmpeg output format for a v4l2-loopback device?

Following the guide in this question I did: $ sudo modprobe v4l2loopback $ ffmpeg -f x11grab -r 15 -s 1280x720 -i :0.0+0,0 -vcodec rawvideo -pix_fmt yuv420p -threads 0 -f v4l2 /dev/video0 The device ...
1
vote
1answer
31 views

FFMPEG: H265, Maxrate Not Working

This command works for me with the h264 codec. ffmpeg -i a.mp4 -c:v libx264 -maxrate 800k -bufsize 800k -ar 48k -ab 192k b.mp4 However, with libx265 instead of libx264 in that command, the output ...

15 30 50 per page