[FFmpeg-user] Where's the error?

Laine llee040 at sbcglobal.net
Thu Sep 19 01:26:39 EEST 2024



> On Sep 18, 2024, at 11:55 AM, Oliver Fromme <oliver at fromme.com> wrote:
> 
> There are several ways to solve this.  One way is to modify FFmpeg's
> output by appending a tr(1) command like this:
> 
>    ffmpeg ...  2>&1 | tr '\r' '\n'
> 
> That will cause the progress display to be printed on separate lines,
> so it won't be overwritten.  That trick works on Linux and BSD, it
> does *not* work on Windows.  Not sure about MacOs, but since MacOS
> has some BSD heritage, it might work.

Oliver,

Never mind my last post. I tried the following:

ffmpeg -i '/Users/me/Downloads/philanthropist.ts' -map 0:0 -vf decimate=cycle=5,crop=1920:1024:0:28 -c:v h264_videotoolbox -b:v 3000k -color_primaries:v bt709 -color_trc:v bt709 -colorspace:v bt709 -metadata:s:v "title=" -disposition:v default -map 0:1 -c:a:0 copy -metadata:s:a:0 "title=" -disposition:a:0 default -metadata:g "title=" -r 24 -movflags disable_chpl '/Users/me/Downloads/philanthropist.mp4' 2>&1 | tr '\r' '\n'

It appears to work quite well! Thanks.

Sincerely,
L. Lee


More information about the ffmpeg-user mailing list