[vlc] Video in TS hangs in decoder ??

Václav Koldus vaclav.koldus at avpark.cz
Wed May 30 12:12:21 CEST 2007


Hi all,

I'm trying to play h264 encoded video stored in mpeg transport stream. 
Vlc opens the file, recognizes TS and both
audio and video stream. But instead of starting decoding the video it 
just hangs and waits for god
knows what. The waiting time is sometimes quite short sometimes veery 
long. It starts playing eventualy but
such delay is unacceptable for me. Here's what log gives:

-- logger module started --
main debug: CPU has capabilities 486 586 MMX MMXEXT SSE SSE2 FPU
main debug: looking for memcpy module: 3 candidates
main debug: using memcpy module "memcpymmxext"
main debug: waiting for thread completion
main debug: thread 16386 (playlist) created at priority 0 
(playlist/playlist.c:184)
main debug: waiting for thread completion
main debug: thread 32771 (preparser) created at priority 0 
(playlist/playlist.c:210)
main debug: looking for interface module: 1 candidate
logger: using logger...
logger debug: opening logfile `/home/vlc/.vlc/vlc.log'
main debug: using interface module "logger"
main debug: thread 49156 (interface) created at priority 0 
(interface/interface.c:231)
main debug: looking for interface module: 1 candidate
main debug: using interface module "hotkeys"
main debug: thread 65541 (interface) created at priority 0 
(interface/interface.c:231)
main debug: adding playlist item `shorttezt_H264.h264' ( 
shorttezt_H264.h264 )
main debug: looking for interface module: 1 candidate
main debug: using interface module "rc"
main debug: thread 81926 (manager) created at priority 0 
(interface/interface.c:216)
main debug: creating statistics handler
main debug: creating new input thread
main warning: couldn't set thread priority (input/input.c:265): 
Operation not permitted
main debug: waiting for thread completion
main debug: thread 98311 (input) created at priority 0 (input/input.c:265)
main debug: `shorttezt_H264.h264' gives access `' demux `' path 
`shorttezt_H264.h264'
main debug: creating demux: access='' demux='' path='shorttezt_H264.h264'
main debug: looking for access_demux module: 0 candidates
main warning: no access_demux module matched "any"
main debug: creating access '' path='shorttezt_H264.h264'
main debug: looking for access2 module: 4 candidates
vcd debug: trying .cue file: shorttezt_H264.cue
vcd debug: could not find .cue file
access_file debug: opening file `shorttezt_H264.h264'
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 - 755191 kbytes/s
main debug: creating demux: access='' demux='' path='shorttezt_H264.h264'
main debug: looking for demux2 module: 40 candidates
h264 warning: h264 module discarded (no startcode)
main debug: using demux2 module "ts"
main debug: looking for a subtitle file in /mnt/broadcast2/
ts debug: DEMUX_SET_GROUP 0 (nil)
main debug: `shorttezt_H264.h264' successfully opened
ts debug: pid[481] unknown
ts debug: PATCallBack called
ts debug: new PAT ts_id=0 version=0 current_next=1
ts debug:   * number=1 pid=480
ts debug: PMTCallBack called
ts debug: new PMT program number=1 version=0 pid_pcr=481
ts debug:   * es pid=2064 type=27 fcc=h264
main debug: selecting program id=1
main debug: looking for decoder module: 20 candidates
main debug: using decoder module "mch264"
main debug: thread 114696 (decoder) created at priority 0 
(input/decoder.c:159)
ts debug:   * es pid=2068 type=3 fcc=mpga
main debug: looking for decoder module: 20 candidates
main debug: using decoder module "mpeg_audio"
main warning: couldn't set thread priority (input/decoder.c:159): 
Operation not permitted
main debug: thread 131081 (decoder) created at priority 0 
(input/decoder.c:159)
main debug: thread 114696: secret message triggered at misc/block.c:228 
(Connection timed out)
main debug: thread 131081: secret message triggered at misc/block.c:228 
(Connection timed out)


Don't get confused with "mch264" decoder module. It's my own module 
using MainConcept decoder SDK.
It acts just the same with ffmeg decoder.

Anyone has any clue why is that?

What exactly does
"main debug: thread 114696: secret message triggered at misc/block.c:228 
(Connection timed out)"
mean???


Thanks in advance.


V.K.

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



More information about the vlc mailing list