Problems with PIDs?..

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
jason.stepp
New Cone
New Cone
Posts: 4
Joined: 01 May 2009 15:22

Problems with PIDs?..

Postby jason.stepp » 01 May 2009 16:36

Guys,

This is my first time to post to the forums, although I'll say that the folks here are a *wealth* of knowledge - which is why I figured I'd go ahead and ask the following in hopes that someone somewhere has some thoughts. Here goes....

I've got an mpeg of unknown origin. It has a .vfs extension and when I pop it into VLC to play it, it does fine... FOR VIDEO ONLY. There is no audio, whatsoever. Not sure if this is a PID issue, or what. I used a utility called bbdmux to look at and demux the TS. When I use bbdmux to pull the audio stream out and write it to a file, I can then drag that file into VLC and *presto,* I get audio, no questions asked. So - I know that VLC can play the audio... maybe it's just confused on where to look for it by default The output from BBDMUX looks like this: (any thoughts, guys? Thanks!)

Scanning for PID's, press control-c to quit ...

File temp.vfs is an MPEG-2 Transport Stream

Found PID 0x0000, Program Association Table Stream
Found PID 0x0020, Other Stream
Found PID 0x0021, stream id 0xE0 = Video Stream 0
Found PID 0x0022, stream id 0xC0 = MPEG Audio Stream 0
Found PID 0x0024, stream id 0xBD = Private Stream 1

Summary:

MPEG Transport Packets = 736732
PID 0x0000, Program Association Table packets = 1228, total bytes = 225952
PID 0x0020, Other packets = 1228, total bytes = 225952
PID 0x0021, Video stream 0 packets = 701651, total bytes = 128052749
PID 0x0022, MPEG Audio stream 0 packets = 29409, total bytes = 4097254
PID 0x0024, Private Stream 1 packets = 437, total bytes = 79922
PID 0x0025, Other packets = 2779, total bytes = 0

thannoy
Big Cone-huna
Big Cone-huna
Posts: 601
Joined: 20 Mar 2008 09:44
VLC version: 0.9.8a & 1.0-git
Operating System: GNU/Linux Fedora10
Location: France
Contact:

Re: Problems with PIDs?..

Postby thannoy » 02 May 2009 17:13

The better thing to do is to run VLC with full debugs and give us those. Here is how to do:

1- Open VLC, find a View>messages menu item (CTRL+M should be faster) to open the messages window
2- At the bottom, set verbosity to 2 (maximum)
3- Media> open your file
4- Once you rich a point when audio should have come and you have not, you can copy-paste your logs from the messages window.
5- Paste it here, around "code" tags please (there is a button above)
6- hope for those full logs to contain enough informations on the problem :)


You can also use, for your own and maybe for a limited duration, TS Reader Lite. It is a Windows (limited, maybe shareware) software which can show you a tree of elementary streams in which both Audio and Video streams should be shown as attached to the same PMT which should be attached to the PAT.

jason.stepp
New Cone
New Cone
Posts: 4
Joined: 01 May 2009 15:22

Re: Problems with PIDs?..

Postby jason.stepp » 04 May 2009 16:45

Ok, here's the output from debug...

Code: Select all

main debug: creating new input thread main debug: waiting for thread completion main debug: thread 5024 (input) created at priority 1 (input/input.c:265) main debug: drive letter C: found in source main debug: `C:\Users\Jason Stepp\Desktop\test asset 1.vfs' gives access `' demux `' path `C:\Users\Jason Stepp\Desktop\test asset 1.vfs' main debug: creating demux: access='' demux='' path='C:\Users\Jason Stepp\Desktop\test asset 1.vfs' main debug: looking for access_demux module: 1 candidate main debug: creating access '' path='C:\Users\Jason Stepp\Desktop\test asset 1.vfs' main debug: looking for access2 module: 5 candidates vcd debug: trying .cue file: C:\Users\Jason Stepp\Desktop\test asset 1.cue vcd debug: could not find .cue file access_file debug: opening file `C:\Users\Jason Stepp\Desktop\test asset 1.vfs' main debug: using access2 module "access_file" main debug: pre-buffering... main debug: received first data for our buffer main debug: pre-buffering done 1408981 bytes in 0s - 85992 kbytes/s main debug: creating demux: access='' demux='' path='C:\Users\Jason Stepp\Desktop\test asset 1.vfs' main debug: looking for demux2 module: 45 candidates main debug: using demux2 module "ts" main debug: looking for a subtitle file in C:\Users\Jason Stepp\Desktop\ ts debug: DEMUX_SET_GROUP 0 00000000 main debug: `C:\Users\Jason Stepp\Desktop\test asset 1.vfs' successfully opened ts debug: PATCallBack called ts debug: new PAT ts_id=999 version=0 current_next=1 ts debug: * number=1 pid=32 ts debug: PMTCallBack called ts debug: new PMT program number=1 version=0 pid_pcr=33 ts debug: * es pid=33 type=16 fcc=mp4v main debug: selecting program id=1 main debug: looking for decoder module: 28 candidates ffmpeg debug: libavcodec already initialized ffmpeg debug: postprocessing disabled ffmpeg debug: using direct rendering ffmpeg debug: ffmpeg codec (MPEG-4 Video) started main debug: using decoder module "ffmpeg" main debug: looking for packetizer module: 17 candidates main debug: using packetizer module "packetizer_mpeg4video" main debug: thread 5052 (decoder) created at priority 0 (input/decoder.c:159) ts debug: * es pid=34 type=3 fcc=mpga main debug: looking for decoder module: 28 candidates main debug: using decoder module "mpeg_audio" main debug: thread 4988 (decoder) created at priority 2 (input/decoder.c:159) ts debug: * es pid=36 type=6 *unknown* ts warning: first packet for pid=33 cc=0xe ts warning: first packet for pid=34 cc=0xd ts warning: first packet for pid=36 cc=0xc mpeg_audio debug: emulated startcode (no startcode on following frame) mpeg_audio debug: emulated startcode mpeg_audio debug: emulated startcode mpeg_audio debug: emulated startcode (no startcode on following frame) mpeg_audio debug: emulated startcode (no startcode on following frame) mpeg_audio debug: emulated startcode mpeg_audio debug: free bitrate mode mpeg_audio debug: frame too big 489 > 488 (emulated startcode ?) mpeg_audio debug: emulated startcode mpeg_audio debug: emulated startcode mpeg_audio debug: emulated startcode (no startcode on following frame) mpeg_audio debug: emulated startcode (no startcode on following frame) mpeg_audio debug: emulated startcode (no startcode on following frame) mpeg_audio debug: emulated startcode mpeg_audio debug: emulated startcode packetizer_mpeg4video warning: waiting for VOL mpeg_audio debug: emulated startcode (no startcode on following frame) mpeg_audio debug: emulated startcode (no startcode on following frame) mpeg_audio debug: emulated startcode mpeg_audio debug: emulated startcode mpeg_audio debug: emulated startcode mpeg_audio debug: emulated startcode main debug: no usable vout present, spawning one main debug: window size: 352x264 main debug: looking for video output module: 6 candidates direct3d debug: creating DirectXEventThread main debug: waiting for thread completion direct3d debug: DirectXCreateWindow direct3d debug: created video sub-window main debug: thread 5068 (DirectX Events Thread) created at priority 0 (direct3d.c:205) direct3d debug: DirectXEventThread running direct3d debug: disabling screen saver main debug: using video output module "direct3d" main debug: waiting for thread completion direct3d debug: Direct3D device adapter successfully initialized direct3d debug: selected surface pixel format is YUY2 direct3d debug: 1 Direct3D pictures created successfully direct3d debug: Direct3D scene created successfully main debug: got 1 direct buffer(s) main debug: picture in 352x240 (0,0,352x240), chroma I420, ar 4:3, sar 10:11 main debug: picture user 352x240 (0,0,352x240), chroma I420, ar 4:3, sar 10:11 main debug: picture out 352x240 (0,0,352x240), chroma YUY2, ar 4:3, sar 10:11 main debug: looking for chroma module: 9 candidates main debug: using chroma module "i420_yuy2_mmx" main debug: indirect render, mapping render pictures 0-7 to system pictures 1-8 main debug: thread 4984 (video output) created at priority 1 (video_output/video_output.c:421) mpeg_audio debug: emulated startcode (no startcode on following frame) mpeg_audio debug: emulated startcode mpeg_audio debug: emulated startcode mpeg_audio debug: emulated startcode mpeg_audio debug: emulated startcode (no startcode on following frame) mpeg_audio debug: emulated startcode (no startcode on following frame) mpeg_audio debug: emulated startcode mpeg_audio debug: emulated startcode ts debug: PATCallBack called ts debug: PMTCallBack called main debug: Registering subpicture channel, ID: 2 main debug: Registering subpicture channel, ID: 3 main debug: Registering subpicture channel, ID: 4 main debug: Registering subpicture channel, ID: 5 mpeg_audio debug: emulated startcode (no startcode on following frame) mpeg_audio debug: emulated startcode (no startcode on following frame) mpeg_audio debug: emulated startcode mpeg_audio debug: emulated startcode mpeg_audio debug: emulated startcode (no startcode on following frame) mpeg_audio debug: emulated startcode (no startcode on following frame) mpeg_audio debug: emulated startcode mpeg_audio debug: emulated startcode (no startcode on following frame) mpeg_audio debug: emulated startcode mpeg_audio debug: emulated startcode mpeg_audio debug: emulated startcode (no startcode on following frame) mpeg_audio debug: emulated startcode (no startcode on following frame) mpeg_audio debug: emulated startcode mpeg_audio debug: free bitrate mode mpeg_audio debug: frame too big 489 > 488 (emulated startcode ?) mpeg_audio debug: emulated startcode mpeg_audio debug: emulated startcode mpeg_audio debug: emulated startcode (no startcode on following frame) mpeg_audio debug: emulated startcode (no startcode on following frame) mpeg_audio debug: emulated startcode mpeg_audio debug: emulated startcode main debug: control type=0 main debug: control: stopping input main debug: closing input ts debug: pid list: ts debug: - pid[0] seen ts debug: - pid[32] seen ffmpeg debug: ffmpeg codec (MPEG-4 Video) stopped main debug: removing module "ffmpeg" main debug: thread times: real 0m0.436800s, kernel 0m0.000000s, user 0m0.015600s main debug: thread 5052 joined (input/decoder.c:191) main debug: killing decoder fourcc `mp4v', 3 PES in FIFO main debug: removing module "packetizer_mpeg4video" ts debug: - pid[33] seen main debug: removing module "mpeg_audio" main debug: thread times: real 0m0.436800s, kernel 0m0.000000s, user 0m0.000000s main debug: thread 4988 joined (input/decoder.c:191) main debug: killing decoder fourcc `mpga', 0 PES in FIFO main debug: Program doesn't contain anymore ES ts debug: - pid[34] seen ts debug: - pid[36] seen ts debug: - pid[8191] seen main debug: removing module "ts" main debug: removing module "access_file" main debug: thread times: real 0m0.452400s, kernel 0m0.015600s, user 0m0.000000s main debug: thread 5024 joined (input/input.c:412) main debug: garbage collector destroys 1 vout main debug: removing module "i420_yuy2_mmx" direct3d debug: Direct3D scene released successfully direct3d debug: 1 Direct3D pictures released. direct3d debug: DirectXEventThread terminating direct3d debug: DirectXCloseWindow direct3d debug: WinProc WM_DESTROY main debug: thread times: real 0m0.452400s, kernel 0m0.000000s, user 0m0.000000s main debug: thread 5068 joined (direct3d.c:283) main debug: removing module "direct3d" main debug: thread times: real 0m0.452400s, kernel 0m0.015600s, user 0m0.031200s main debug: thread 4984 joined (video_output/video_output.c:461)
Last edited by jason.stepp on 04 May 2009 23:11, edited 1 time in total.

thannoy
Big Cone-huna
Big Cone-huna
Posts: 601
Joined: 20 Mar 2008 09:44
VLC version: 0.9.8a & 1.0-git
Operating System: GNU/Linux Fedora10
Location: France
Contact:

Re: Problems with PIDs?..

Postby thannoy » 04 May 2009 17:15

don't you forget "code" tags ?:)

jason.stepp
New Cone
New Cone
Posts: 4
Joined: 01 May 2009 15:22

Re: Problems with PIDs?..

Postby jason.stepp » 04 May 2009 23:12

doh! - told you I was new to the forums. :) *fixed*

thannoy
Big Cone-huna
Big Cone-huna
Posts: 601
Joined: 20 Mar 2008 09:44
VLC version: 0.9.8a & 1.0-git
Operating System: GNU/Linux Fedora10
Location: France
Contact:

Re: Problems with PIDs?..

Postby thannoy » 05 May 2009 00:20

Unfortunately, I can't give you more clue to fix your audio.
Logs show a normal recognition of an audio track, then weird warning (first packet for pid=34 cc=0xd) and debugs for it (emulated startcode)..

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Problems with PIDs?..

Postby Jean-Baptiste Kempf » 05 May 2009 15:24

ts debug: * es pid=36 type=6 *unknown*

Hmm... Can you share the file?
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 26 guests