I'm new with streaming from VLC to a file, but I've been searching around the internet for what I'm trying to do and haven't found any relevant information. I'm currently developing a camera simulator which streams a video file in playback (since it's a simulation).
The camera itself streams in H264 VGA (640x480), on RTSP over UDP.
Basicly what I'm trying to do is save a stream (10 seconds) of the real camera though VLC so that this video file can be use afterwards by the simulator. In our simulator, all video files from H264 stream have the extensions H264 (example: Stream1.h264
).
To ensure myself that my video file is correctly encoded, I use MediaInfo
to see the file properties, but I can't seem to be able to get the wanted properties.
For example I tried with the encapsulation method MPEG-TS, and I got the following properties:
General
ID : xxxxxxx
Complete name : xxx
Format : MPEG-TS
Format/Info : This information doesn't appear, why?
File size : xx
Duration : xx
Format : AVC
Format/Info : Advanced Video Codec
Format profile : [email protected]
Format settings, CABAC : Yes
Format settings, ReFrames : 4 frames
But the properties that I'm looking for are:
General
Complete name : xxx
Format : AVC
Format/Info : Advanced Video Codec
File size : xx
Format : AVC
Format/Info : Advanced Video Codec
Format profile : [email protected]
Format settings, CABAC : No
Format settings, ReFrames : 1 frame