> Rayman 2 APM muxer > LEGO Racers ALP (.tun & .pcm) muxer Maybe that just shows off my ignorance, but reading the changelogs (current and past), I never realized that ffmpeg contains so many "niche" features.
FFmpeg 4.4
41–50 of 135 posts
Re: FFmpeg 4.4
#42Shameless plug: While working with ffmpeg over the years, i always thought that FFmpeg should have a simple to use UI. I have recently started working on a desktop(electron) tool that wraps ffmpeg script in easy to use interface Here is a video showing the tool in action https://www.youtube.com/watch?v=qqqiK6YnJu8 https://auvinox.com
Re: FFmpeg 4.4
#43I think everyone was a txt file on their computer filled with FFmpeg commands. Care to share yours?
ffmpeg -i ${1} -sn -an -c:v libx264 -r 24 -filter:v "setpts=10PTS" -crf 19 ${1}-10x.mkv
reverse video
ffmpeg -i $IFILE -s 3840x2160 -f image2 -q:v 1 -vf format=yuvj420p $tmpdir/p%8d.jpg cat $(ls -t $tmpdir/p.jpg) | ffmpeg -f image2pipe -c:v mjpeg -r 30 -i - -c:v libx264 -crf 18 -vf format=yuv420p -preset slow -f mp4 $OFILE
loop a video: loopcount=$1
ffmpeg -stream_loop $1 -i $2 -c copy $3.mkv
Re: FFmpeg 4.4
#44on my Mac I ran Brew Upgrade ffmpeg and now the current version is 4.3.2_3 -> 4.3.2_4 ... so still not 4.4... Do I need to wait on the Brew people to upgrade or did I make a mistake? Also, I have no idea which codecs are native encoding and decoding on a M1 chip but I hope h.265 is included
Re: FFmpeg 4.4
#45I think everyone was a txt file on their computer filled with FFmpeg commands. Care to share yours?
ffmpeg -video_size 3840x1080 -framerate 25 -f x11grab -i :0.0+0,0 -f pulse -ac 2 -i default $1.mkv
resolution needs to be adjusted for your setupRe: FFmpeg 4.4
#46I think everyone was a txt file on their computer filled with FFmpeg commands. Care to share yours?
ffmpeg -i foo.mp4 -c:v h264_videotoolbox -b:v 1600k foo_out.mp4 On macOS, this uses hardware acceleration to reencode a video at a lower bitrate. My macbook is from 2012, so this does make a notable difference. There's also "hevc_videotoolbox" for H.265 if your machine supports it.
Re: FFmpeg 4.4
#47I think everyone was a txt file on their computer filled with FFmpeg commands. Care to share yours?
ffmpeg -i $1 -vf scale=320:-1:flags=lanczos,fps=10 /tmp/frames/ffout%03d.png
convert -loop 0 /tmp/frames/ffout*.png $1.gif
flac2mp3 parallel-moreutils -i -j$(nproc) ffmpeg -i {} -qscale:a 0 {}.mp3 -- ./*.flac
rename .flac.mp3 .mp3 ./*.mp3
screencast TIMESTAMP=`date +"%Y-%m-%d_%H"`
TMP_AVI=$(mktemp /tmp/outXXXXXXXXXX.avi)
ffcast -s % ffmpeg -y -f x11grab -show_region 1 -framerate 15 \
-video_size %s -i %D+%c -codec:v huffyuv \
-vf crop="iw-mod(iw\\,2):ih-mod(ih\\,2)" $TMP_AVI \
&& convert -set delay 10 -layers Optimize $TMP_AVI /home/nemo/Desktop/GIFs/$TIMESTAMP.gif
split-audio-by-chapters[0] to split a audiobook from Audible to multiple files by chapters.split-by-audible[1] to split a audiobook from Audible to multiple files by chapters using the copied timestamps from the Audible Web Player.
split-by-silence[2] to split audiobooks by Silence instead
audiobook2video[3] to generate a video file from audiobooks. Puts up a nice cover.
[0]:https://github.com/captn3m0/Scripts/blob/master/split-audio-...
[1]: https://github.com/captn3m0/Scripts/blob/master/split-by-aud...
[2]: https://github.com/captn3m0/Scripts/blob/master/split-by-sil...
[3]: https://github.com/captn3m0/Scripts/blob/master/audiobook2vi...
Re: FFmpeg 4.4
#48Earlier quoted context omitted.
For a typical 1080p "linux iso" what filesize difference will there be between x265 and av1?
Cannot offer any data on that but I experimented with a SD TV series episode. HEVC and AV1 ended up at the same file size (few kilobytes difference) but encoding AV1 took over 10 times as long using rav1e.
Re: FFmpeg 4.4
#49I think everyone was a txt file on their computer filled with FFmpeg commands. Care to share yours?
Example: Start at 52 seconds, take 10 minutes after that:
ffmpeg -ss 52 -i input.mp4 -c copy -t 00:10:00.0 output.mp4Re: FFmpeg 4.4
#50I think everyone was a txt file on their computer filled with FFmpeg commands. Care to share yours?
Convert AVI to MP4
----------------------------
ffmpeg -i input.avi -c:v libx264 -crf 19 -preset slow -c:a libvo_aacenc -b:a 192k -ac 2 out.mp4
Convert MP4 to GIF
---------------------------
mkdir frames
ffmpeg -i video.mp4 -r 5 'frames/frame-%03d.jpg'
cd frames
convert -delay 20 -loop 0 -layers Optimize *.jpg myimage.gif