[vlc-devel] VLC fials on MPeg2TS with AC3 Mpeg2Video

Rajan Rakesh-A20642 rakeshrajan at motorola.com
Fri Sep 10 09:08:02 CEST 2004


Hi,
VLC Media Player 0.7.2 on windows fails when I try to play a TS file containing ac3 audio and 
Mpeg2 Video. 

The original TS file had
1. PCR packets
2. AC3 and Mpeg2 Video TS packets but n PAT and PMT packets.

So I modified the TS file by adding 3 PATs and PMT packets to the beginning.

PLayed using WMP
----------------
The modified file could be played using WindowsMediaPlayer using elecard evaluation 
(Mpeg2 Dmx and video decoder) filters and surceforge.net ac3 filter.

Experiments with VLC
--------------------
The modified file do not play using VLC. So extracted the ES files separately and tried.

1. The Mpeg2 Video ES file could be played using VLC.
2. The ac3 Audio ES file did not play on VLC (but played by WMP). I fixed this problem by removing all the 
bytes till the first sync word (0x0B77). VLC could play the modified ac3 file.

What Could be the problem?
--------------------------
1. If the first ac3 TS packet contains a partial frame then VLC is not able to skip that data?
2. I wonder why VLC is not displaying video frames from the TS file?

Following is the message I get when I try to play the modified TS file using VLC.

main debug: adding playlist item `D:\raks\raksdmx\dmx\IRDCont-18-08-2004\new2.trp' ( D:\raks\raksdmx\dmx\IRDCont-18-08-2004\new2.trp )
main debug: creating new input thread
main: playlist item `D:\raks\raksdmx\dmx\IRDCont-18-08-2004\new2.trp'
main debug: waiting for thread completion
main warning: drive letter D: found in source string
main debug: access `', demux `', name `D:\raks\raksdmx\dmx\IRDCont-18-08-2004\new2.trp'
main debug: looking for access module
main debug: probing 7 candidates
main debug: thread 3532 (input) created at priority 1 (src/input/input.c:326)
dvdplay debug: plugin discarded (not a valid source)
dvdread warning: dvdread module discarded (not a valid source)
vcd debug: trying .cue file: D:\raks\raksdmx\dmx\IRDCont-18-08-2004\new2.cue
vcd warning: could not open D:\raks\raksdmx\dmx\IRDCont-18-08-2004\new2.trp
cdda debug: trying .cue file: D:\raks\raksdmx\dmx\IRDCont-18-08-2004\new2.cue
cdda warning: could not open D:\raks\raksdmx\dmx\IRDCont-18-08-2004\new2.trp
access_file debug: opening file `D:\raks\raksdmx\dmx\IRDCont-18-08-2004\new2.trp'
main debug: using access module "access_file"
main debug: looking for demux module
main debug: probing 7 candidates
dshow warning: dshow plugin discarded (not a valid stream)
dshow warning: dshow plugin discarded (not a valid stream)
main debug: looking for mpeg-system module
main debug: probing 1 candidate
main debug: using mpeg-system module "mpeg_system"
main debug: using demux module "ts_dvbpsi"
main debug: looking for a subtitle file in D:\raks\raksdmx\dmx\IRDCont-18-08-2004\
main: EOF reached
main debug: 1020 loops
main debug: dumping stream ID 0x0 [OK:0/D:203932]
main debug: seekable stream, position: 38339688/38339688 (-:--:--/-:--:--)
main debug: unlocking module "mpeg_system"
main debug: unlocking module "ts_dvbpsi"
access_file: closing `/://D:\raks\raksdmx\dmx\IRDCont-18-08-2004\new2.trp'
main debug: unlocking module "access_file"
main debug: pes: 0 packets
main debug: data: 1 packets
main debug: buffers: 2 packets
main debug: freeing info structures...
main debug: thread 3532 joined (src/input/input.c:373)


Awaiting valuable comments and advices to solve this from the VLC gurus out there.

Thanks & Regs,
Rakesh

-----Original Message-----
From: vlc-devel-bounce at videolan.org
[mailto:vlc-devel-bounce at videolan.org]On Behalf Of Benjamin PRACHT
Sent: Thursday, September 02, 2004 8:26 PM
To: vlc-devel at videolan.org
Subject: [vlc-devel] Re: VLC MPeg2TS AC3 Mpeg2Video


On Thu, Sep 02, 2004, Rajan Rakesh-A20642 wrote :
> Hi,
> I am a naive user of VLC.
> Opened an Mpeg2TS file with ac3 and mpeg2 video using vlc client
> application. Its not able play it back.
> 
> Any leads into this problem will be appreciated.

Well, any lead to help you solve you issue would be appreciated too...
Could you send us send us some debug information (centent of the message
window in the view menu)

-- 
BigBen

-- 
This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://developers.videolan.org/lists.html

-- 
This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://developers.videolan.org/lists.html



More information about the vlc-devel mailing list