BBC-Esq / Pyside6_PyQt6_video_audio_player

Simple video/audio player using pyside6/pyqt6 and VLC!
https://www.chintellalaw.com
10 stars 2 forks source link

No video showing up #3

Open timtombobjohn opened 1 month ago

timtombobjohn commented 1 month ago

Hey, both players don't work for me. There is sound, play/pause works, skipping works, but there is no image. I'm getting this error:

[00007ce4d8075a50] main video output error: video output creation failed [00007ce558d025c0] main decoder error: failed to create video output [h264 @ 0x7ce558d8b8c0] get_buffer() failed [h264 @ 0x7ce558d8b8c0] thread_get_buffer() failed [h264 @ 0x7ce558d8b8c0] decode_slice_header error [h264 @ 0x7ce558d8b8c0] no frame!

I tried several videos. Any idea whats wrong? Using Ubuntu 22.04.4 LTS.

timtombobjohn commented 4 weeks ago

addition: when I change the line self.mediaplayer.set_hwnd(int(self.videoframe.winId())) to self.mediaplayer.set_xwindow(int(self.videoframe.winId())) it opens a vlc video instance in a new window instead of the qt widget

BBC-Esq commented 4 weeks ago

I'll take a look at it after I return from vacation in a few weeks.