vlc-example-streamplayer
vlc-example-streamplayer copied to clipboard
Support for streamed video recording
Hello, I tried this library and works pretty well for rtsp videos. Is there any option for recording the streaming video from the library itself? Thanks
No. I think that VLC doesn't support record in Android. Anyway you can ask in VLC forums: https://forum.videolan.org/viewforum.php?f=31&sid=0fb733068256c3928fd1e6df4f9df94f
This proyect only compile VLC for Android and create a simple wrapper using it
No. I think that VLC doesn't support record in Android. Anyway you can ask in VLC forums: https://forum.videolan.org/viewforum.php?f=31&sid=0fb733068256c3928fd1e6df4f9df94f
This proyect only compile VLC for Android and create a simple wrapper using it
Is there a way I could do it using your library?
You haven't access to audio so you need modify VLC library to get it. You can capture video but it is difficult and you need modify all my library code
You haven't access to audio so you need modify VLC library to get it. You can capture video but it is difficult and you need modify all my library code
I won't need audio, basically I am streaming IPCamera view via rtsp stream using your app and that is working great. Just need to record the video in the app.
In that case you can render a surface provided by MediaCodec class instead of surface provided by SurfaceView and you can use that surface to encode video. To record in a MP4 file using H264 buffer provided by MediaCodec, you can use MediaMuxer class
So you mean I should use the exoplayer library?
You can try that way too
You can try that way too
Finally after trying different techniques for a week, I am finally successful in achieving my goal. I was able to stream and record the video via the vlc-android sdk from vlc themselves. Thank you for the support from your side too.
@pranishres
Hi pranishres,
please provide details for recording video via the vlc-android sdk.
thanks