[FFmpeg-user] Unable to understand error

Kieran O Leary kieran.o.leary at gmail.com
Sat Mar 5 17:29:09 EET 2022


On Sat 5 Mar 2022 at 14:04, Rukmangadh Sai Myana <rukmangadh.sai at nobroker.in>
wrote:

> > In general, I mistrust wrapper libraries for things like this- I'd rather
> > create the full command string myself and execute that; it gives much
> better
> > control over the process.
>
> Thank you for this suggestion. The issue was that ffmpeg was sending the
> above logs, which don't correspond to any error to STDERR. The python
> wrapper was interpreting this as an error. I changed the python wrapper
> based code to one where I invoke ffmpeg directly as a command. This removed
> the error :D


Yup, doing a subprocess call rather than a wrapper has always worked better
for me.

Best,

Kieran

>
>
> Rukmangadh Sai Myana
> +91 8106275207
> Associate Data Scientist | NoBroker.com
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".
>


More information about the ffmpeg-user mailing list