Open blsqr opened 1 year ago
Have the same issue when i used ffpyplayer 4.3.5 it printed:
[ffpyplayer_abuffersink @ 0x600002fe8790] Removing channel layout 0x4, redundant with 1 channels
downgrading to 4.3.5 not very good. it fixes the issue but video frames on the left shows some short lines like confusion in frames I'm using kivy for video showing
@blsqr the audio codec i think of this video isn't mp3 or ogg i tried to play wav on 4.5 and gave the same error but works fine when convert it to mp3 the change between 4.3.5 and 4.5 is ability to play wav and other codecs change the audio codec of your video to be mp3
Thanks for sharing this, @IVAN-QX! Unfortunately, I don't have the option of changing audio codecs, I need to work with the existing videos and cannot re-encode them.
Also, the fact that ffplay
has no issues with playing the audio and it previously working suggests that something else might be going on 🤔
Hi there,
and first of all thanks for ffpyplayer! It's very powerful to have these bindings :)
I noticed an issue with the latest version (4.5) of ffpyplayer relating to playing the audio streams from certain video files: When starting to play the video, no audio can be heard and the following error is logged:
As hinted upon in this reddit thread, downgrading to 4.3.5 indeed helped: The audio plays as expected, emitting only the following log message in place of the one above:
The video plays fine via
ffplay
, including audio, so I would have expected ffpyplayer to also play it without issues.Is there something between v4.3.5 and 4.5 that might have caused this error? Was this a deliberate change?
I don't know the codebase really, but I'm happy to dive into this, if it helps.
Python 3.10.12, macOS 13.4.1