[FFmpeg-user] Stream specifier ':a' in filtergraph Error

Nicolas George george at nsup.org
Wed Nov 11 22:59:01 EET 2020

andrei ka (12020-11-11):
> ffmpeg would be enuf, ffmpeg would list all the tracks in input files
> before starting transco, on failure dude should just check his first
> 20lines of log to see if mp4 have snd tracks...

Bad advice. The log output of ffmpeg is not meant to be parsed by an
application. The fact that it goes to stderr should be a hint. In
particular, there are no promises that the syntax of the list of streams
will be kept constant.

ffprobe is the right tool for this, because the output is guaranteed to
be stable.


  Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-user/attachments/20201111/ccdc6618/attachment.sig>

More information about the ffmpeg-user mailing list