Live data from Hacker News

FFmpeg 4.3

ffmpeg.org

181–190 of 226 posts

Re: FFmpeg 4.3

#181

I have used ffmpeg. It's a damn good project, and under current development and support. It also appears to be the only game in town. Many commercial offerings are really just veneers over custom ffmpeg implementations. Tuning it is also pretty crazy. Some folks can make entire careers out of just tuning ffmpeg. I think the biggest issue with video software (besides it being difficult and performance-intensive), is t…

There is also mencoder, which is derived from mplayer.

[deleted]

Re: FFmpeg 4.3

#182
post #89

Earlier quoted context omitted.

FFmpeg is infamous for absurdly complex command options. It's really too much for a "one-liner" CLI. When I use it, I just look for "pre-baked recipes" otherwise it's a really unpleasant rabbit hole to get into.

If you look at it as more of a "composable" interface (as the sibling poster suggested), it makes a lot more sense. No one is going to type out this one-liner from scratch, or have an easy time understanding what it means by reading it, but as it's made up of a series of smaller, more easily understood commands, in a shell or Python script it could be vastly more legible and, dare I say it, usable. This is also the r…

> Making an actual GUI for all of this would be just... insane, really, but it's so versatile and flexible that you can basically do anything with it.

Challenge accepted! (No seriously, that's what I'm working on)

Re: FFmpeg 4.3

#183
post #47

I wanted to create a slideshow a couple weeks ago and came across this article [0] on creating a Ken Burns Effect Slideshow. Very cool and is a great demo of some of ffmpeg's functionality. However, the final command is a little crazy: ffmpeg -i 1.jpg -i 2.jpg -i 3.jpg -filter_complex "color=c=black:r=60:size=1280x800:d=10[black];[0:v]format=pix_fmts=yuva420p,crop=w=2*floor(iw/2):h=2*floor(ih/2),zoompan=z='if(eq(on,1…

FFmpeg is infamous for absurdly complex command options. It's really too much for a "one-liner" CLI. When I use it, I just look for "pre-baked recipes" otherwise it's a really unpleasant rabbit hole to get into.

The syntax is very difficult to wrap your head around, but beyond that, it is the implicit behavior that makes it difficult to reason about. I find that the short ffmpeg commands that take advantage of automatic stream selection and omit the inputs/outputs of filters because ffmpeg can hook them up automatically to be much harder to reason about than the fully written out, fully explicit ffmpeg command lines.

It almost seems like the best way to understand an ffmpeg complex filter graph is to actually draw a graph...

Re: FFmpeg 4.3

#184
post #47

I wanted to create a slideshow a couple weeks ago and came across this article [0] on creating a Ken Burns Effect Slideshow. Very cool and is a great demo of some of ffmpeg's functionality. However, the final command is a little crazy: ffmpeg -i 1.jpg -i 2.jpg -i 3.jpg -filter_complex "color=c=black:r=60:size=1280x800:d=10[black];[0:v]format=pix_fmts=yuva420p,crop=w=2*floor(iw/2):h=2*floor(ih/2),zoompan=z='if(eq(on,1…

https://trac.ffmpeg.org/wiki/Xfade

You can try Xfade filter, hope oneday I can write opengl glsl effect in ffmpeg.

Re: FFmpeg 4.3

#185

Earlier quoted context omitted.

What ever happened to Facebook's (or was it Netflix?) technology to create a new unit of time measurement to help align audio and video files? I believe it was called a "flick"...

Doesn't support NTSC. Better to force everyone to deal with irrational sampling rates than pretend they don't exist.

The NTSC framerates are weird, but they are rational, in the mathematical sense.

Re: FFmpeg 4.3

#186

Earlier quoted context omitted.

`ffmpeg` reminds me of `convert` from ImageMagick, it's complex because there's a lot of media formats and the command lets you do a lot things to the media as well. I liked using WinFF a time ago for simple conversion jobs though where I didn't care too much about tweaking all the knobs.

ImageMagick's convert is much friendlier than ffmpeg: convert image.png image.jpg Does what it's suppose to and it's as simple as possible. Sure, you can get really fancy with resizing proportions but easy stuff should be easy.

I mean,

    ffmpeg -i something.avi something.mp4
works as well, but there's just _so_ many more options inherently involved in converting a video: most inputs and outputs will be at least 2 tracks, so that's 2 codecs, and the majority of containers used now (MP4, MKV, etc.) support all sorts of codecs, so while ffmpeg will "guess" what you want just like ImageMagick does in your short example, the chances that it guesses right are a lot lower just on the basic level of what format you wanted your output to be. But it's not exactly ffmpeg's fault.

Re: FFmpeg 4.3

#187
post #112

Earlier quoted context omitted.

Now this sounds interesting - LEGO Racers ALP (.tun & .pcm) demuxer I think I will dig through to figure out what that actually means later.

ffmpeg can now extract data from the .tun & .pcm file formats (but it might not be able to decode it yet, depending on the encoding used in such files).

It can, that's what the "High Voltage Software ADPCM decoder"'s for.

Re: FFmpeg 4.3

#189
Love me some ffmpeg, but would be nice to have some bullet point summaries of updates in the release notes instead of pointing to the changelog dump. I know there is some information loss, yadda yadda

Re: FFmpeg 4.3

#190
post #119

Earlier quoted context omitted.

FFmpeg is infamous for absurdly complex command options. It's really too much for a "one-liner" CLI. When I use it, I just look for "pre-baked recipes" otherwise it's a really unpleasant rabbit hole to get into.

I actually made my own CLI frontend just because I didn't want to try and memorize ffmpeg options to do the simple things that I want to do most of the time. Now I can just do `--h264 -s X -e Y` to do a h.264 encode from X timecode to Y timecode.

Is -s X -e Y really much easier than -ss X -t $((Y-X)) ?

Every couple of years worth of not using an option I need to look it up again. But it's usually not too hard.

Post reply on HN