▲ | zahlman 4 days ago | ||||||||||||||||||||||
Don't know how I overlooked that, thanks. Maybe because the one Python wrapper I know about is generating command lines and making subprocess calls. | |||||||||||||||||||||||
▲ | Wowfunhappy 4 days ago | parent | next [-] | ||||||||||||||||||||||
They're relatively low level APIs. Great if you're a C developer, but for most things you'd do in python just calling the command line probably does make more sense. | |||||||||||||||||||||||
| |||||||||||||||||||||||
▲ | ansk 4 days ago | parent | prev | next [-] | ||||||||||||||||||||||
For future reference, if you want proper python bindings for ffmpeg* you should use pyav. * To be more precise, these are bindings for the libav* libraries that underlie ffmpeg | |||||||||||||||||||||||
▲ | javier2 4 days ago | parent | prev [-] | ||||||||||||||||||||||
If you are processing user data, the subprocess approach makes it easier to handle bogus or corrupt data. If something is off, you can just kill the subprocess. If something is wrong with the linked C api, it can be harder to handle predictably. | |||||||||||||||||||||||
|