New answers tagged

0

There are two basic ways to do this: 1) feed file as multiple inputs and extract one image from each input ffmpeg -ss 280 -i sample.mp4 -ss 300 -i sample.mp4 -ss 302 -i sample.mp4 -map 0 -aspect 1.7777777777778 -vframes 1 -qmax 9 -qmin 8 -bt 10000000 -y -pix_fmt yuv420p out1.jpg -map 1 -aspect 1.7777777777778 -vframes 1 -qmax 9 -qmin 8 -bt 10000000 -y -...


0

Try this and see for yourself if the performance and quality are sufficient for your undertaking: ffmpeg -i "00020.MTS" -map 0 -c:v libx264 "00020.mp4"


0

Try something like this: 1) Merge Audio Tracks 7 and 8, put it in Audio Track 1, discard other Audio Tracks from source: ffmpeg -i "in.mxf" -filter_complex "[0:7][0:8]amerge=inputs=2[mergedAudio]" -map 0:v -map "[mergedAudio]" "out.mp4" In some cases you might add the option -ac 2 between the end-" of filter complex and the 1st map. 2) 1) combined with ...


0

Your command is missing the -i token for the image input, so it should be ffmpeg -loop 1 -framerate 24 -t 10 -i image.jpg -f lavfi ... However, for the actual task at hand, the concat filter is not required. ffmpeg -loop 1 -framerate 24 -t 10 -i image.jpg -f lavfi -t 10 -i anullsrc out.mp4


0

The image to be scrolled has to be looped first and then scrolled. ffmpeg -vsync 0 -i /tmp/2SN92agDIG.png -i /tmp/TogmpB9etD.png -i /tmp/lxiQXCxhaZ-1.png -filter_complex "color=size=312x312:c=0xffffff[color];\ [0:v]setpts=PTS-STARTPTS,setsar=1,scale=480x320,rotate=0:c=none:ow=rotw(0):oh=roth(0),format=argb,colorchannelmixer=aa=1[0v];\ [1:v]setpts=PTS-...


1

Method 1: concat demuxer Pros: Avoids re-encoding the main video and therefore preserves quality since it is stream copied. Fast. Cons: Requires several steps. Harder to get right, because the blank video needs to have the same attributes as the main video. Make the black video using same attributes and same number and type of streams as the main input. ...


2

rawvideo has no metadata so you have to supply all parameters. Since your input is mjpeg (edit: sequence), just keep it as that. ffmpeg -f image2pipe -vcodec mjpeg -i - -c copy -f mjpeg part_N Generate a text file like this file part_0 file part_1 file part_2 ... file part_N and then ffmpeg -f concat -safe 0 -r 30 -i list.txt output.mp4 here -r is the ...


0

Rather than using the lenscorrection filter, you would probably get better results with the lensfun filter. Lensfun has a database entry for the Canon 60D that you're using as well as for various EF-S 18-55mm Canon lenses (apparently there are many). You can read aboud various details in this post that I made on a similar subject.


0

According to this page is not that simple... https://trac.ffmpeg.org/wiki/colorspace


0

'map' selects input sources, files in this case. Your command combines all the tracks into a single stream, not separate ones as desired.


2

I avoid AME and use x264 via ffmpeg for H.264 encoding. From Premiere I prefer to output a temporary lossless compressed format as the intermediate, such as the free and open-source Ut video, instead of DNxHD/DNxHR/ProRes. This avoids any generation loss (minor as it may be with ProRes/DNxHD, but still technically present as they are not lossless). Also, I'm ...


3

Adobe licenses its H.264 encoder from Mainconcept, which doesn't do that well at low bitrates. x264 is pretty much the frontier when it comes at low size output for a given quality target, or quality for a given bitrate target. x264 is what's used by platforms like Youtube / Vimeo ..etc to encode user videos. One thing you could try is to increase the ...


0

PSVR resolution is 1920×1080 that is maximum resolution that include both eyes. There is no need 4k because psvr only have 1920×1080 it will downscale it anyway IF WORK lol. (So for videos need be 1920×1080 for PSVR) if you stream from internet 4k content it is just downscaled its not 44 it maximum that you can see lol evem ps4 pro can 4k. psvr only show ...


0

Make videos from images: ffmpeg -loop 1 -framerate 24 -t 5 -i image0.png -loop 1 -framerate 24 -t 5 -i image1.jpg -loop 1 -framerate 24 -t 5 -i image2.jpg -f lavfi -i anullsrc=cl=stereo:r=44100 -filter_complex "[0]fade=t=in:duration=1,format=yuv420p[v0];[1]format=yuv420p[v1];[2]format=yuv420p[v2]" -map "[v0]" -map 3 -shortest pre1.mp4 -map "[v1]" -map 3 -...


2

Default pixel format for overlay filter is yuv420p. Use the format option in overlay to set it as auto or rgb. ffmpeg -y -i b.png -i a.png -filter_complex "[0:v]format=rgba[a]; [1:v]format=rgba[b]; [a][b]overlay=format=auto" normal.png


0

Not really no. Newer Turing based nvidia cards will produce better quality than previous generations. But since nvenc is fixed function, and not software running on the GPU it’s not upgradable, or modifiable except for a few options like presets.


2

Cropping is carried out using a video filter. Also, a filtered video has to be re-encoded. So the command would be ffmpeg -i input.mp4 -vf crop=1824:1026 -t 39 -c:a copy output.mp4 See the docs for the crop filter for all options.


1

The blend filter ignores alpha from second input. You will need to recombine alpha component back into other components somehow. This one works for me: ffmpeg -i a.png -f lavfi -i color=gray:s=512x512,format=gbrp -i b.png -lavfi "[1][2]overlay=format=gbrp[a],[0:v][a]blend=all_mode=overlay" out.png


0

The frame rate is too low for some players. Increase -framerate value or add the -r option. Anything ≥8 should suffice. Example: ffmpeg -y -framerate 6 -i /storage/apache-j8h3/%d.jpg -i /opt/evercam_media/lib/evercam_media-1.0.1583305674/priv/static/images/evercam-logo-white.png -filter_complex '[1]scale=iw/2:-1[wm];[0][wm]overlay=x=main_w-overlay_w-10:y=...


0

I didn't find an actual answer, more a work around. As this was all part of a bigger, involving plex, I found a proxy (xteve) that includes ffmpeg transcoding, and I can set the options for ffmpeg. That is good enough for what I was trying to do. Hope this save someone else a little time.


Top 50 recent answers are included