Open levantail opened 4 years ago
Just open the .uplugin file and change the version of Unreal Engine to 4.25
Just open the .uplugin file and change the version of Unreal Engine to 4.25
While that gets the plugin to work to some degree, I've found it to be incredibly unstable and prone to crashing after ~10-15 seconds of playback on streaming video/.m3u8 files.
I don't know, I use it with MP4 and it seems to be stable, however I forked the repo and within a few days I make it completely compatible with 4.25 as others have asked me
For reference I see the following in my output before it crashes:
LogVlcMedia: Error: mmdevice: cannot initialize COM (error 0x80010106) LogTemp: Resetting audio stream to device id LogAudioMixer: Display: 0: FrontLeft LogAudioMixer: Display: 1: FrontRight LogTemp: Resetting audio stream to device id LogVlcMedia: Warning: faad: decoded zero sample LogAudioMixer: Display: 0: FrontLeft LogAudioMixer: Display: 1: FrontRight LogVlcMedia: Error: vmem: missing lock callback LogVlcMedia: Error: main: video output creation failed LogVlcMedia: Error: main: failed to create video output LogVlcMedia: Error: vmem: missing lock callback LogVlcMedia: Error: main: video output creation failed LogVlcMedia: Error: main: failed to create video output LogVlcMedia: Error: vmem: missing lock callback LogVlcMedia: Error: main: video output creation failed LogVlcMedia: Error: main: failed to create video output LogVlcMedia: Error: vmem: missing lock callback LogVlcMedia: Error: main: video output creation failed LogVlcMedia: Error: main: failed to create video output LogVlcMedia: Error: vmem: missing lock callback LogVlcMedia: Error: main: video output creation failed LogVlcMedia: Error: main: failed to create video output LogVlcMedia: Error: main: buffer deadlock prevented LogVlcMedia: Error: main: Failed to set on top LogVlcMedia: Warning: avcodec: plane 1: pitch not aligned (208%32): disabling direct rendering LogVlcMedia: Warning: h264: waiting for SPS/PPS LogVlcMedia: Warning: h264: waiting for SPS/PPS LogVlcMedia: Warning: main: playback way too early (-614999): playing silence LogVlcMedia: Warning: h264: waiting for SPS/PPS LogVlcMedia: Warning: h264: waiting for SPS/PPS LogVlcMedia: Warning: h264: waiting for SPS/PPS LogVlcMedia: Warning: h264: waiting for SPS/PPS LogVlcMedia: Warning: h264: waiting for SPS/PPS LogVlcMedia: Warning: h264: waiting for SPS/PPS LogVlcMedia: Warning: h264: waiting for SPS/PPS LogVlcMedia: Warning: h264: waiting for SPS/PPS LogVlcMedia: Warning: h264: waiting for SPS/PPS LogVlcMedia: Warning: h264: waiting for SPS/PPS LogVlcMedia: Warning: h264: waiting for SPS/PPS LogVlcMedia: Error: vmem: video format setup failure (no pictures) LogVlcMedia: Error: main: video output creation failed LogVlcMedia: Error: main: failed to create video output LogVlcMedia: Error: vmem: video format setup failure (no pictures) LogVlcMedia: Error: main: video output creation failed LogVlcMedia: Error: main: failed to create video output LogVlcMedia: Error: main: Failed to set on top LogVlcMedia: Warning: avcodec: plane 1: pitch not aligned (208%32): disabling direct rendering LogVlcMedia: Warning: ts: discontinuity received 0x0 instead of 0x7 (pid=17) LogVlcMedia: Error: ts: libdvbpsi error (PSI decoder): TS discontinuity (received 0, expected 7) for PID 17 LogVlcMedia: Warning: ts: discontinuity received 0x0 instead of 0x4 (pid=257) LogVlcMedia: Warning: faad: decoded zero sample LogVlcMedia: Error: vmem: video format setup failure (no pictures) LogVlcMedia: Warning: main: cannot reuse provided vout LogVlcMedia: Error: vmem: video format setup failure (no pictures) LogVlcMedia: Error: main: video output creation failed LogVlcMedia: Error: main: failed to create video output LogVlcMedia: Error: vmem: video format setup failure (no pictures) LogVlcMedia: Error: main: video output creation failed LogVlcMedia: Error: main: failed to create video output LogVlcMedia: Error: main: Failed to set on top LogVlcMedia: Warning: avcodec: plane 0 not aligned: disabling direct rendering LogVlcMedia: Warning: ts: discontinuity received 0x0 instead of 0x6 (pid=17) LogVlcMedia: Error: ts: libdvbpsi error (PSI decoder): TS discontinuity (received 0, expected 6) for PID 17 LogVlcMedia: Warning: ts: discontinuity received 0x0 instead of 0xf (pid=0) LogVlcMedia: Error: ts: libdvbpsi error (PSI decoder): TS discontinuity (received 0, expected 15) for PID 0 LogVlcMedia: Warning: ts: discontinuity received 0x0 instead of 0xf (pid=4096) LogVlcMedia: Error: ts: libdvbpsi error (PSI decoder): TS discontinuity (received 0, expected 15) for PID 4096 LogVlcMedia: Warning: ts: discontinuity received 0x0 instead of 0x9 (pid=257) LogVlcMedia: Warning: ts: discontinuity received 0x0 instead of 0x9 (pid=256) LogVlcMedia: Warning: ts: discontinuity received 0x0 instead of 0xa (pid=17) LogVlcMedia: Error: ts: libdvbpsi error (PSI decoder): TS discontinuity (received 0, expected 10) for PID 17 LogVlcMedia: Warning: ts: discontinuity received 0x0 instead of 0x2 (pid=0) LogVlcMedia: Error: ts: libdvbpsi error (PSI decoder): TS discontinuity (received 0, expected 2) for PID 0 LogVlcMedia: Warning: ts: discontinuity received 0x0 instead of 0x2 (pid=4096) LogVlcMedia: Error: ts: libdvbpsi error (PSI decoder): TS discontinuity (received 0, expected 2) for PID 4096 LogVlcMedia: Warning: ts: discontinuity received 0x0 instead of 0xf (pid=257)
Just a quick update for our issue, it seems like VLC plugin crashes when a live stream VLC switches from its initial resolution to a higher resolution. Unfortunately it hard crashes with no stack. This also only happens when in a packaged build and not in the editor.
@Takabrycheri34, did you stumble upon a bug in which a video doesn't play at first and must be restarted? We can reproduce this issue all the time with MP4 files. It seems to be related to the VlcMedia: Error: mmdevice: cannot initialize COM
error. Thanks!
@Takabrycheri34, did you stumble upon a bug in which a video doesn't play at first and must be restarted?
Honestly no, unfortunately I had little time in the last period and therefore I did not use the plugin very much, also I used it for direct streaming with OBS Studio and I never used files
I'm seeing the same crash after a few seconds with m3u8 in packaged build
Hi, is it in plans to update this plugin to support UE4 4.25 ?
Regards