Page 1 of 1
Streaming: Video Packetization
Posted: 26 Mar 2008 16:09
by LarsP
I am doing my thesis on video streaming. The idea is to figure out which packet holds an I-frame (as in MPEG) and which holds another (like P or B - frame) to prioritize them. We use VLC (in Transport Stream/UDP) to transport the packets over the network. Now, does anyone know which is the best way to figure out which packet contains what?
Re: Streaming: Video Packetization
Posted: 28 Mar 2008 16:25
by RĂ©mi Denis-Courmont
cf "include/vlc_block.h" :
Code: Select all
/** Intra frame */
#define BLOCK_FLAG_TYPE_I 0x0002
/** Inter frame with backward reference only */
#define BLOCK_FLAG_TYPE_P 0x0004
/** Inter frame with backward and forward reference */
#define BLOCK_FLAG_TYPE_B 0x0008
/** For inter frame when you don't know the real type */
#define BLOCK_FLAG_TYPE_PB 0x0010
Re: Streaming: Video Packetization
Posted: 08 Apr 2008 09:50
by aziatedu13
hello,
i am very insteresting by the streaming with vlc,but i don't manage to create a video stream with a buffer which containe picture, have you done this ?
or a way to do that.
can you send me a part of your project where you create a stream ?
thx.