Live data from Hacker News

FFmpeg 4.4

ffmpeg.org

71–80 of 135 posts

Re: FFmpeg 4.4

#71
We're all thinking it, but holy cow is FFmpeg one of the craziest pieces of software I have on my computer. The amount of neat things I've been able to do with it and toss them into a bash loop and go to bed is incredible. I'm sure a lot of us get a kick out of automating our tasks, and FFmpeg is king when it comes to that.

Re: FFmpeg 4.4

#72

I think everyone was a txt file on their computer filled with FFmpeg commands. Care to share yours?

Convert all FLAC files in the directory to MP3s, in parallel using fd:

    fd -t f -e flac . "$@" -x ffmpeg -loglevel 16 -i "{}" -qscale:a 0 "{.}.mp3"

Re: FFmpeg 4.4

#74

Shameless 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

Is the goal to be simpler to use than StaxRip?

Re: FFmpeg 4.4

#75
> VDPAU accelerated HEVC 10/12bit decoding

does this needs specific hardware or any VDPAU capable GPU can decode now HECV??

Re: FFmpeg 4.4

#76
post #66

I think everyone was a txt file on their computer filled with FFmpeg commands. Care to share yours?

I have one glorious: ffmpeg -hwaccel cuvid -c:v h264_cuvid -i input.mp4 -vf "hwdownload,format=nv12,scale=(iw*sar)*max(1280/(iw*sar)\,720/ih):ih*max(1280/(iw*sar)\,720/ih), crop=1280:720, subtitles=input.srt:force_style='FontName='TiresiasScreenfont',Fontsize=32,Outline=2,MarginL=50,MarginV=30,Alignment=1',minterpolate=fps=60:mi_mode=blend" -c:v h264_nvenc -preset slow -b:v 8M -f matroska - | vlc - What it does: Allo…

Been following the VLC subtitles/Chromecast issue for several years now. Thank you so much for this!

Re: FFmpeg 4.4

#77
Huge thank you to FFmpeg -- it's the core of my app's functionality: extract screenshots and show them to users in a neat gallery. Specifically - it can with 1 command line argument grab a dozen or two (user choice) screenshots at even intervals (my choice) and stitch them together into one long horizontal jpg file (adding black bars if ratio isn't what I want). AMAZING!

Video Hub App - https://videohubapp.com/

MIT open source too: https://github.com/whyboris/Video-Hub-App

Re: FFmpeg 4.4

#78

I think everyone was a txt file on their computer filled with FFmpeg commands. Care to share yours?

I wrote a command-line based video editing tool as a 300-line bash script. It reads a list of segments of video (source file, start position, length) to string together (including options such as image overlay, fade, fast forward, slow motion, static image) from a text file, and converts it into a Makefile with ffmpeg commands in it, which you can then run with whatever level of parallelism you wish. It treats the video and sound separately, and creates a video and sound file for each segment, using concatenatable formats for both. Then the final few make targets are to concatenate the video into one file, the sound into another file, and then multiplex them into a single file. Used it a few times for editing my own videos. It's a bit big to share here though.

Re: FFmpeg 4.4

#80

I think everyone was a txt file on their computer filled with FFmpeg commands. Care to share yours?

    $cat ~/bin/ffmpeg_grab_desktop.sh
    #!/bin/bash

    size=${1:-"1920x1080"}
    offset=${2:-"0,0"}
    name=${3:-"video"}

    ffmpeg -video_size $size -framerate 25 -f x11grab -i :0.0+$offset -c:v libx264 -crf 0 -preset ultrafast "$name.mkv"
    ffmpeg -i "$name.mkv" -movflags faststart -pix_fmt yuv420p "$name.mp4"
Post reply on HN