ue4plugins / VlcMedia

Media Framework plug-in using the Video LAN Codec (libvlc).
BSD 3-Clause "New" or "Revised" License
267 stars 143 forks source link

crash when play rtsp live stream(UE4.16) #36

Closed FutaAlice closed 7 years ago

FutaAlice commented 7 years ago

hi, we are using VlcMedia as a project plugin it crashed when play rtsp stream,

[log]
LogVlcMedia:Error: mmdevice: cannot initialize COM (error 0x80010106)
LogVlcMedia:Warning: faad: decoded zero sample
LogVlcMedia:Warning: Possible loss of audio quality due to sample rate != 44100 Hz
LogVlcMedia:Warning: freetype: DirectWrite initialization failed. Falling back to GDI/Uniscribe

LogVlcMedia:Error: vmem: video format setup failure (no pictures)
LogVlcMedia:Error: core: video output creation failed
LogVlcMedia:Error: core: failed to create video output

LogVlcMedia:Warning: freetype: DirectWrite initialization failed. Falling back to GDI/Uniscribe
LogVlcMedia:Error: vmem: video format setup failure (no pictures)
LogVlcMedia:Error: core: video output creation failed
LogVlcMedia:Error: core: failed to create video output

LogVlcMedia:Warning: freetype: DirectWrite initialization failed. Falling back to GDI/Uniscribe
**LogVlcMedia:Error: swscale: invalid scaling: 1280x720 -> 1280x0
LogVlcMedia:Error: swscale: invalid scaling: 1280x720 -> 1280x0**
LogVlcMedia:Error: core: Failed to change zoom
LogVlcMedia:Error: core: Failed to set on top
LogVlcMedia:Error: core: Failed to change source AR
LogVlcMedia:Error: core: Failed to change Viewpoint

LogVlcMedia:Warning: freetype: DirectWrite initialization failed. Falling back to GDI/Uniscribe
LogVlcMedia:Warning: avcodec: plane 0 not aligned: disabling direct rendering
LogVlcMedia:Error: core: buffer deadlock prevented

do you have any ideas why this would be happening?

FutaAlice commented 7 years ago

it worked after remove "libscale_plugin.dll"

gmpreussner commented 7 years ago

Interesting... thank you very much for tracking it down! You might want to file an issue with https://github.com/videolan/vlc