Page 1 of 1

h.264 in mpeg-2

Posted: 04 Sep 2004 07:54
by tonykwon
Hello,

This is the first time in VideoLAN Forum for me.
I think I found a cool site...!!! Many thanks to VideoLAN.

I have 2 things requesting your advice.

=== 1 ===
Nowdays, I'm working for Korean DMB(Digital Multimedia Broadcasting)
solution especially for the DMB receiver. So, I'm first trying
to build the VLC media player on cygwin and it's working good.

But, after all I have to modify the source code for it to work
at Korean DMB streaming environment(streaming H.264/BSAC
in MPEG-2 TS). I think I have to first demux incomming stream
and transfer the elementary stream to the decoder. ...
Now, I'm very confused because I couln't find the clue in source.

If you have any advice, Please talk to me some...

=== 2 ===
And I tried to save ES stream in MPEG-2 TS with command line like,

./vlc.exe -vvv MPEG2.ts --sout='#es{access_video:file,mux_video=ps,url_video=video-%c.%m}'

but, it failed....! Only 4 byte output file created.
I'd like to split out specific element stream in MPEG-2 TS
which normally has many programs.
Please teach me how I can get the specific
Elementary Stream in MPEG-2 TS file.

Tony Kwon

Posted: 04 Sep 2004 16:24
by Sigmund
As far as I know, vlc (at least 0.8.0-test1) should support h264 in mpeg2-ts. Could you post the log produced by playing such a stream in vlc if it don't work in latest version?

I have the same question about streaming h.264 over MPEG-2TS

Posted: 14 Jan 2005 01:29
by aileen614
I am a beginner ,learning H.264.
Here are some questions:

1) When streaming H.264 video over MPEG-2 TS, I try to put H.264 video into PES,then put PES into TS. Is it right? If not, please tell me sth. about the detail.

2) I am confused about the module Packetizer/H.264.c and Demux/MPEG/H.264.c, what are they doing?

Thanks for help

Posted: 23 Feb 2006 17:33
by Nicolas
As far as I know, vlc (at least 0.8.0-test1) should support h264 in mpeg2-ts. Could you post the log produced by playing such a stream in vlc if it don't work in latest version?
In vlc 0.8.4a, I search to play a DMB file (H264 + HE-AAC V1 in MPEG-2 TS) and I obtain this error :

main debug: `W:\videos\mpeg2-ts\dmb-aac\video-448kb.aac.dmb.ts' successfully opened
ts debug: pid[64] unknown
ts debug: pid[80] unknown
ts debug: PATCallBack called
ts debug: new PAT ts_id=0 version=0 current_next=1
ts debug: * number=1 pid=16
ts debug: PMTCallBack called
ts debug: new PMT program number=1 version=0 pid_pcr=80
ts debug: * descriptor : IOD (0x1d)
ts debug: * es pid=32 type=19 *unknown*
ts debug: * es pid=48 type=19 *unknown*
ts debug: * es pid=64 type=18 *unknown*
ts debug: * es pid=80 type=18 *unknown*
ts warning: first packet for pid=48 cc=0x3
ts warning: first packet for pid=32 cc=0x3
ts debug: pid[96] unknown
ts warning: first packet for pid=64 cc=0x8
ts debug: eof ?
main debug: EOF reached

The description of the MPEG-2 TS stream is done by the ETSI specification TS102 428.

If you want I can provide a sample stream.

Posted: 27 Feb 2006 23:26
by The DJ
DMB is a seperate specification (just to keep things simple :D ) that is not yet supported by VLC. If anyone wants to add the appropriate descriptors and framing support to libdvbpsi and VLC, he is welcome to do so.