New answers tagged

0

If you satisfy with your video outputting on a 1080p device, the original video aspect ratio has to be 16:9; therefore, the original video has no choice to be 480p, 720p, or 1080p. The next step is the transformation, there are plenty of filters you can choose to determine it is 480p; on the other hand, choosing transforming to 720p or no transformation, ...


0

Firstly, you should stream webcam and mic through the udp multicast address i.e. 224.1.1.1:10001. Secondly, you execute ffmpeg -i udp://224.1.1.1:10001 out.mp3 or more options of the FFMPEG audio to do the audio extraction on another command prompt.


0

For simple filterchains, where one filter operates upon the output of an earlier filter, no input pads (like [0:v]) should be used. Also, there is an errant colon at the end of the pad filter. It should be a comma instead, so -vf 'pad=ceil(iw/2)*2:ceil(ih/2)*2,drawtext=text="hello":fontsize=90:x=20:y=20:fontcolor=white@0.2' In drawtext, you may ...


0

Pixel data in videos is typically stored as YUV, whereas colorlevels works upon RGB format pixels, so it tells ffmpeg to convert it beforehand. After the filtering, the reverse conversion to YUV before re-encoding uses a YUV format not compatible with basic players, so one has to force conversion to a compatible format. ffmpeg -i ORIGINAL_VIDEO1.MP4 -vf ...


0

-stream_loop is buggy in versions older than 4.1, so upgrade. Also, stream_loop won't work with movies opened via movie filter. Use it as a direct input. ffmpeg -stream_loop -1 -re -i "snail.mp4" -f v4l2 /dev/video4 -report


0

A command like the following seemed to do the trick. ffmpeg -i input.m4v -dn -map 0 -map -0:a:2 -map_metadata 0 -map_chapters 0 -c copy output.m4v


0

Most phones and tablets do not support 4:4:4


2

First, if you just want information about a file, you should probably use "ffprobe", not "ffmpeg". Otherwise you'll get an answer, but you'll also have an error return status. As to your real question: By convention, ffmpeg reserves STDOUT for binary video and audio data only. Everything else, including all the possible kinds of ...


0

In principle, this is possible, and is usually called "smart" encoding or rendering in the video editors / apps that offer this facility, typically in limited circumstances. FFmpeg does not have support for it. The main complication is that the parameters of the encoded portion has to match the coding parameters of the existing stream. That is ...


1

Upgrade to v 4.3 and limit the duration of the base layer, which is infinite, by default. Audio is fine. ffmpeg -i input1.mp4 -i input2.mp4 -i input3.mp4 -filter_complex nullsrc=size=960x304,trim=0:1 [base]; [0:v] crop=min(iw\,320):304:(iw-min(iw\,320))/2:0 [v0]; [1:v] crop=min(iw\,320):304:(iw-min(iw\,320))/2:0 [v1]; [2:v] crop=min(iw\,320):304:(iw-min(iw\,...


3

Inverting the background should work, that's exactly how a balanced audio connection works to eliminate noise, but how exact a match is your isolated background track compared to the mixed track? It's only going to fully work if it is recorded at the exact same quality, volume, etc, and the timing is precisely the same. What was the recording source for each ...


1

I don't Wanna Lose Any Data... Okay that makes sense. But With Thousands of Frames in 4K File Size Matters.... So Why not Encode to H265 That makes sense in a vacuum, but it's incompatible with the initial goal. The reason that H.264 or H.265 is so much smaller than your initial image sequence is because those codecs use lossy compression. You can't ...


0

I found an answer that worked for me. I was trying to use the -map [v] syntax, but it turned out that wasn't necessary and I could just use the filtergraph I made as is. I did use filter_complex_script, which Gyan pointed out is the correct command, but I'm still not quite sure what the difference between the two is after looking through the documentation.


1

As, Sir Gyan Commented... HEVC Doesn't Support 16-bit....


Top 50 recent answers are included