saving H264 frames to video file

This forum is about all development around libVLC.
ofekagmon
New Cone
New Cone
Posts: 1
Joined: 22 Sep 2014 10:45

saving H264 frames to video file

Postby ofekagmon » 22 Sep 2014 10:53

Hello,
I have a rtsp server that streams a video file encoded in h264 (RTP with Payload Type 96).
I am trying to use the VLCDotNet library https://vlcdotnet.codeplex.com,
I want to save the h264 frames into a video file.

My Code

This code plays the video on my PC, I want to save it to a file on my PC.

Code: Select all

private void StoreFile() { Vlc.DotNet.Core.VlcContext.LibVlcDllsPath = @"C:\Users\Ofek\Desktop\VideoLAN\VLC"; Vlc.DotNet.Core.VlcContext.Initialize(); media1 = new Vlc.DotNet.Core.Medias.LocationMedia("rtsp://192.168.30.11/1.mkv"); // Here I guess there should be some sort of Add Option method - to save the frames to a video file VlcControl control = new VlcControl(); control.Media = media1; control.Play(); }
any ideas?
thanks a lot!

Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 61 guests