Closed Lirrec closed 6 years ago
Thanks for your post, Lirrec. I'm not sure why it's crashing. It will be difficult to figure out without resolving the symbols. Newer nightly builds of libvlc include versions with debug symbols. However, we cannot use them due to https://github.com/videolan/vlc/commit/c220ddc927d1a97f72a0c5bf86de56301e3483ad
Hopefully this will be resolved soon, then we can figure out what's going on.
@Lirrec do you have a sample SDP stream that I can use for testing? I couldn't find any available streams online.
I don't have a stream available. I'm using a NAO Robot ( linux-based ) to stream audio and video from the robot via gstreamer-0.10 in my local network. I've posted my gstreamer commandline for streaming ( the stream format is RTP ) and the sdp-file i use to play the stream back here In theory the gstreamer command should work on any linux machine providing a webcam via v4l2 and an Alsa sound Source. There are 2 gotchas:
If you have a linux machine with webcam/mic available, you should be able to recreate the stream. I can't provide you with an option for streaming from windows, sorry.
For now i'm using a h264 stream, so this is not a blocking issue for me.
@Lirrec please try the latest version (4.19). I integrated VLC 4.0.0, which has improved streaming support. Let me know if the problem persists, thanks!
I'm afraid i'm no longer working on the project (it was a student project) and i don't have access to the hardware and setup anymore, sorry! I will close this issue, as i don't have any way of reproducing it anymore.
Hi, I'm playing a rtp network stream in my unreal project. To allow playback of .sdp files I edited the list of allowed file extensions in the plugin ( since .sdp is not whitelisted ). I'm using Windows 10 64bit, UE 4.13 and the latest commit from this repository.
Playback itself works fine, however once i try to stop playback ( via the MediaPlayer stop blueprint node ) the vlcplugin crashes in a background thread. Other media files are mixed, some local files i tried work fine, others crash on playback.
EDIT: I tried a few more things, the crash only occurs if the stream contains mpeg4 video. h264/avc seems to work fine. Also playing the stream in both formats on my local vlc installation works fine, too.
The backtrace itself looks like this ( "unbekannt" = unknown ):
The exception thrown is:
The message is basically "heap corruption".
The game thread executing the blueprint function has the following backtrace:
Any ideas what could be going wrong? Interesting fact: if I ignore the exception in Visual Studio and continue two times the player will run fine afterwards, even if I stop and restart playback multiple times.
Are there any debug symbols for the compiled vlc binaries in this plugin available?