Since MacOS / Catalina upgrade - "Unable to find a suitable output format for 'h264_videotoolbox'"

classic Classic list List threaded Threaded
12 messages Options
Reply | Threaded
Open this post in threaded view
|

Since MacOS / Catalina upgrade - "Unable to find a suitable output format for 'h264_videotoolbox'"

MediaMouth
THE CLI
ffmpeg -i '/Path/To/Source.mov' h264_videotoolbox -crf 16 -vf scale=1280:720,format=yuv420p '/Path/To/Dest.mp4'


THE CONTEXT
The source is Apple ProRes 422 HQ at 1920x1080
The machine is MacBook Pro 16" OS 10.15.3
ffmpeg was installed using "brew install ffmpeg"
> sudo xcode-select --install
stdout: xcode-select: error: command line tools are already installed, use "Software Update" to install updates

THE STDOUT
ffmpeg version 4.2.2 Copyright (c) 2000-2019 the FFmpeg developers
  built with Apple clang version 11.0.0 (clang-1100.0.33.16)
  configuration: --prefix=/usr/local/Cellar/ffmpeg/4.2.2_1 --enable-shared --enable-pthreads --enable-version3 --enable-avresample --cc=clang --host-cflags='-I/Library/Java/JavaVirtualMachines/adoptopenjdk-13.0.1.jdk/Contents/Home/include -I/Library/Java/JavaVirtualMachines/adoptopenjdk-13.0.1.jdk/Contents/Home/include/darwin -fno-stack-check' --host-ldflags= --enable-ffplay --enable-gnutls --enable-gpl --enable-libaom --enable-libbluray --enable-libmp3lame --enable-libopus --enable-librubberband --enable-libsnappy --enable-libtesseract --enable-libtheora --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxvid --enable-lzma --enable-libfontconfig --enable-libfreetype --enable-frei0r --enable-libass --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-librtmp --enable-libspeex --enable-libsoxr --enable-videotoolbox --disable-libjack --disable-indev=jack
  libavutil      56. 31.100 / 56. 31.100
  libavcodec     58. 54.100 / 58. 54.100
  libavformat    58. 29.100 / 58. 29.100
  libavdevice    58.  8.100 / 58.  8.100
  libavfilter     7. 57.100 /  7. 57.100
  libavresample   4.  0.  0 /  4.  0.  0
  libswscale      5.  5.100 /  5.  5.100
  libswresample   3.  5.100 /  3.  5.100
  libpostproc    55.  5.100 / 55.  5.100
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f8589805200] Referenced QT chapter track not found
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/Path/To/Source.mov':
  Metadata:
    major_brand     : qt  
    minor_version   : 537199360
    compatible_brands: qt  
    creation_time   : 2018-02-06T20:00:59.000000Z
  Duration: 01:21:56.58, start: 0.000000, bitrate: 174493 kb/s
    Stream #0:0(eng): Video: prores (HQ) (apch / 0x68637061), yuv422p10le(tv, bt709, progressive), 1920x1080, 172185 kb/s, SAR 1:1 DAR 16:9, 24 fps, 24 tbr, 24 tbn, 24 tbc (default)
    Metadata:
      creation_time   : 2018-02-06T20:00:59.000000Z
      handler_name    : Apple Video Media Handler
      encoder         : Apple ProRes 422 (HQ)
      timecode        : 00:00:00:00
    Stream #0:1(eng): Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz, stereo, s32 (24 bit), 2304 kb/s (default)
    Metadata:
      creation_time   : 2018-02-06T20:00:59.000000Z
      handler_name    : Apple Sound Media Handler
      timecode        : 00:00:00:00
    Stream #0:2(eng): Data: none (tmcd / 0x64636D74) (default)
    Metadata:
      creation_time   : 2018-02-06T20:00:59.000000Z
      handler_name    : Time Code Media Handler
      timecode        : 00:00:00:00
[NULL @ 0x7f8589813400] Unable to find a suitable output format for 'h264_videotoolbox'
h264_videotoolbox: Invalid argument




_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: Since MacOS / Catalina upgrade - "Unable to find a suitable output format for 'h264_videotoolbox'"

Carl Eugen Hoyos-2
Am Do., 30. Jan. 2020 um 02:55 Uhr schrieb MediaMouth <[hidden email]>:

> ffmpeg -i '/Path/To/Source.mov' h264_videotoolbox -crf 16 -vf scale=1280:720,format=yuv420p '/Path/To/Dest.mp4'

Option in front of "h264_videotoolbox" missing, something like "-vcodec"

> ffmpeg version 4.2.2 Copyright (c) 2000-2019 the FFmpeg developers

For future questions, please remember that only current FFmpeg is
supported here (this is >6 months old).

Carl Eugen
_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: Since MacOS / Catalina upgrade - "Unable to find a suitable output format for 'h264_videotoolbox'"

MediaMouth
Thanks Carl

"-vcodec" did the trick.



Is the latest version accessible through 'brew upgrade"?
> brew upgrade ffmpeg
gives "ffmpeg 4.2.2_1 already installed"


1 - This code is a direct lift from prior code that was working on a MacBook 15" running pre-Catalina

> On Jan 29, 2020, at 6:03 PM, Carl Eugen Hoyos <[hidden email]> wrote:
>
> Am Do., 30. Jan. 2020 um 02:55 Uhr schrieb MediaMouth <[hidden email]>:
>
>> ffmpeg -i '/Path/To/Source.mov' h264_videotoolbox -crf 16 -vf scale=1280:720,format=yuv420p '/Path/To/Dest.mp4'
>
> Option in front of "h264_videotoolbox" missing, something like "-vcodec"
>
>> ffmpeg version 4.2.2 Copyright (c) 2000-2019 the FFmpeg developers
>
> For future questions, please remember that only current FFmpeg is
> supported here (this is >6 months old).
>
> Carl Eugen
> _______________________________________________
> ffmpeg-user mailing list
> [hidden email]
> https://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> [hidden email] with subject "unsubscribe".

_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: Since MacOS / Catalina upgrade - "Unable to find a suitable output format for 'h264_videotoolbox'"

Carl Eugen Hoyos-2
Am Do., 30. Jan. 2020 um 05:18 Uhr schrieb MediaMouth <[hidden email]>:

> Is the latest version accessible through 'brew upgrade"?

Maybe not, I don't know.
https://ffmpeg.org/download.html contains links to static builds.

Please find out what top-posting means and avoid it here.

Carl Eugen
_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: Since MacOS / Catalina upgrade - "Unable to find a suitable output format for 'h264_videotoolbox'"

Reto Kromer-2
Am Do., 30. Jan. 2020 um 05:18 Uhr schrieb MediaMouth <[hidden email]>:

> Is the latest version accessible through 'brew upgrade"?

Yes, for both last release and head. Best regards, Reto

_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: Since MacOS / Catalina upgrade - "Unable to find a suitable output format for 'h264_videotoolbox'"

MediaMouth
> On Jan 29, 2020, at 6:03 PM, Carl Eugen Hoyos <[hidden email]> wrote:
>
>> ffmpeg version 4.2.2 Copyright (c) 2000-2019 the FFmpeg developers
>
> For future questions, please remember that only current FFmpeg is
> supported here (this is >6 months old).

> On Jan 30, 2020, at 9:04 AM, Carl Eugen Hoyos <[hidden email]> wrote:
>
> https://ffmpeg.org/download.html <https://ffmpeg.org/download.html> contains links to static builds.



> On Jan 30, 2020, at 9:36 AM, Reto Kromer <[hidden email]> wrote:
>
> Am Do., 30. Jan. 2020 um 05:18 Uhr schrieb MediaMouth <[hidden email]>:
>
>> Is the latest version accessible through 'brew upgrade"?
>
> Yes, for both last release and head. Best regards, Reto
>

Ok, so here's what I'm working through
- The ffmpeg version I currently have, through Brew is 4.2.2
- The stdout I posted suggests I ran 4.2.2
- The version Carl suggests downloading from https://ffmpeg.org/download.html suggests 4.2.2 is the latest version
- But Carl also says the version I"m using is ">6 months old"

So what's the tell-tale sign of a >6month old version?
How to update via Brew assuming I actually need to update and to what?
Or Is there some kind of misunderstanding?
_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: Since MacOS / Catalina upgrade - "Unable to find a suitable output format for 'h264_videotoolbox'"

Reto Kromer-2
MediaMouth wrote:

>Ok, so here's what I'm working through
>- The ffmpeg version I currently have, through Brew is 4.2.2
>- The stdout I posted suggests I ran 4.2.2
>- The version Carl suggests downloading from
>https://ffmpeg.org/download.html suggests 4.2.2 is the latest
>version
>- But Carl also says the version I"m using is ">6 months old"

Yep, the last version is 4.2.2 and this branch was cut from
master on 2019-07-21, i.e. more than 6 months ago.

As said, you can also install the current HEAD with Brew:

  brew install ffmpeg --HEAD

Hope this helps! Reto

_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Latest version of ffmpeg

MediaMouth


> On Jan 30, 2020, at 11:46 AM, Reto Kromer <[hidden email]> wrote:
>
> MediaMouth wrote:
>
>> Ok, so here's what I'm working through
>> - The ffmpeg version I currently have, through Brew is 4.2.2
>> - The stdout I posted suggests I ran 4.2.2
>> - The version Carl suggests downloading from
>> https://ffmpeg.org/download.html suggests 4.2.2 is the latest
>> version
>> - But Carl also says the version I"m using is ">6 months old"
>
> Yep, the last version is 4.2.2 and this branch was cut from
> master on 2019-07-21, i.e. more than 6 months ago.
>
> As said, you can also install the current HEAD with Brew:
>
>  brew install ffmpeg --HEAD
>
> _______________________________________________

Changed the subject -- since we kind of strayed off-topic from the original question.  Hope that's not a problem.

Question: Is there a benefit / cost to installing using -HEAD?

From https://trac.ffmpeg.org/wiki/CompilationGuide/macOS
to get the latest released version with minimal configuration (and library dependency) options. These versions are packaged as Homebrew formulas and will take care of all the dependencies and the installation itself. To get the latest Git master version, run:

Do I want "minimal configuration (and library dependency)?
Does that imply minimal library dependency or does it mean minimal configuration but with library dependency?
In words what are the tradeoffs between regular brewing and the -HEAD version?
_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: Latest version of ffmpeg

Carl Eugen Hoyos-2
Am Do., 30. Jan. 2020 um 20:54 Uhr schrieb MediaMouth <[hidden email]>:

> Question: Is there a benefit / cost to installing using -HEAD?

Three benefits:
Less bugs than the last release
More features than the last release
Support on this mailing list

Carl Eugen
_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: Latest version of ffmpeg

MediaMouth


> On Jan 30, 2020, at 2:09 PM, Carl Eugen Hoyos <[hidden email]> wrote:
>
> Am Do., 30. Jan. 2020 um 20:54 Uhr schrieb MediaMouth <[hidden email]>:
>
>> Question: Is there a benefit / cost to installing using -HEAD?
>
> Three benefits:
> Less bugs than the last release
> More features than the last release
> Support on this mailing list
>

Ok, will do.

Is it necessary to
> brew uninstall ffmpeg
before
> brew install ffmpeg --HEAD
?
_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: Latest version of ffmpeg

Carl Eugen Hoyos-2
Am Do., 30. Jan. 2020 um 23:27 Uhr schrieb MediaMouth <[hidden email]>:

>
>
>
> > On Jan 30, 2020, at 2:09 PM, Carl Eugen Hoyos <[hidden email]> wrote:
> >
> > Am Do., 30. Jan. 2020 um 20:54 Uhr schrieb MediaMouth <[hidden email]>:
> >
> >> Question: Is there a benefit / cost to installing using -HEAD?
> >
> > Three benefits:
> > Less bugs than the last release
> > More features than the last release
> > Support on this mailing list
> >
>
> Ok, will do.

If you want to got that direction, please use a static build.

Carl Eugen
_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: Latest version of ffmpeg

kumowoon1025
In reply to this post by MediaMouth
> Ok, will do.
>
> Is it necessary to
>> brew uninstall ffmpeg
> before
>> brew install ffmpeg —HEAD
> ?

If you want to keep both versions you can do brew unlink ffmpeg instead.

_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".