deuteronomy-works / pyffmpeg

FFmpeg wrapper for python
Apache License 2.0
61 stars 11 forks source link

FFprobe channels #426

Open Kogije opened 2 years ago

Kogije commented 2 years ago

The channels metadata for FFprobe is incorrectly showing mono most of the time.

from pyffmpeg import FFprobe input_file = "path/to/file.mkv" fp = FFprobe(input_file) print(fp.metadata[0][1]["channels"])

Output is mono for AC-3 5.1 streams

amoh-godwin commented 2 years ago

@Kogije I couldn't replicate the problem. Can you please give me the file that you used. Thanks :)

Kogije commented 2 years ago

It happened with every mkv file that used AC3 5.1 Audio, they all came back with Mono for Channels while running on Windows 11. I moved on already and started calling ffprobe directly and reading the stream so I no longer have that set of files, although it would probably do the same on Windows with any mkv files that have AC3 5.1 Audio.

On Fri, Aug 19, 2022, 7:35 AM Amoh Gyebi Ampofo @.***> wrote:

@Kogije https://github.com/Kogije I couldn't replicate the problem. Can you please give me the file that you used. Thanks :)

— Reply to this email directly, view it on GitHub https://github.com/deuteronomy-works/pyffmpeg/issues/426#issuecomment-1220570555, or unsubscribe https://github.com/notifications/unsubscribe-auth/A2RZIQNAIBUKYJ6VHTE5MT3VZ5WQNANCNFSM56WX2SUQ . You are receiving this because you were mentioned.Message ID: @.***>