[vlc-devel] mpeg2 ts -- decoder is leaking pictures
Andrew Stone
stondage123 at yahoo.com
Wed Jul 11 00:29:05 CEST 2007
Hi All,
I am currently trying to play a scaled mpeg2 ts stream in vlc that I got originally from a dvd, and have gotten a multitude of errors. The original ts stream plays fine. I then scale the ts stream with index files using some live555 code. I believe this is correct, but vlc will not play the resulting stream. Any help would be appreciated. The commands I used and the errors are listed below along with some comments.
My vlc configure line is
./configure --enable-wxwidgets --with-live555-tree=/home/astone/live555Wrapper/live/
Thanks,
Andrew
//Create a ts file from the dvd
vlc dvdsimple:///media/cdrom0 --sout '#standard{access=file,mux=ts,dst=dvd.ts}}'
//Successful playing
vlc dvd.ts
//generate an index file using live555 code (output dvd.tsx)
live/testProgs/MPEG2TransportStreamIndexer dvd.ts
//create a ts stream that is scaled by a factor of 2 (aka play twice as fast) -- output file dvd2.ts
live/testProgs/testMPEG2TransportStreamTrickPlay dvd.ts 0 2 dvd2.ts
//Errors playing dvd2.ts
$ vlc -vvv dvd2.ts
VLC media player 0.9.0-svn Grishenko
[00000001] main libvlc debug: checking builtin modules
[00000001] main libvlc debug: checking plugin modules
[00000001] main libvlc debug: loading plugins cache file /home/astone/.vlc/cache/plugins-04081e.dat
[00000001] main libvlc debug: recursively browsing `modules'
[00000001] main libvlc debug: recursively browsing `/usr/local/lib/vlc'
[00000001] main libvlc warning: cannot load module `/usr/local/lib/vlc/codec/libffmpeg_plugin.so' (/usr/local/lib/vlc/codec/libffmpeg_plugin.so: undefined symbol: avcodec_decode_audio2)
[00000001] main libvlc debug: recursively browsing `plugins'
[00000001] main libvlc debug: module bank initialized, found 223 modules
[00000001] main libvlc debug: opening config file (/home/astone/.vlc/vlcrc)
[00000001] main libvlc debug: CPU has capabilities 486 586 MMX MMXEXT SSE SSE2 FPU
[00000001] main libvlc debug: looking for memcpy module: 3 candidates
[00000001] main libvlc debug: using memcpy module "memcpymmxext"
[00000295] main playlist error: Reloading playlist not implemented.
[00000296] main private debug: waiting for thread completion
[00000296] main private debug: thread 1090525504 (preparser) created at priority 0 (playlist/thread.c:81)
[00000297] main private debug: waiting for thread completion
[00000297] main private debug: thread 1098918208 (fetcher) created at priority 0 (playlist/thread.c:107)
[00000295] main playlist debug: waiting for thread completion
[00000295] main playlist debug: rebuilding array of current - root Playlist
[00000295] main playlist debug: rebuild done - 0 items, index -1
[00000295] main playlist debug: thread 1107310912 (playlist) created at priority 0 (playlist/thread.c:117)
[00000298] main interface debug: looking for interface module: 1 candidate
[00000298] main interface debug: using interface module "hotkeys"
[00000298] main interface debug: thread 1115703616 (interface) created at priority 0 (interface/interface.c:218)
[00000300] main interface debug: looking for interface module: 1 candidate
[00000300] main interface debug: using interface module "screensaver"
[00000300] main interface debug: thread 1124096320 (interface) created at priority 0 (interface/interface.c:218)
[00000295] main playlist debug: adding item `dvd2.ts' ( dvd2.ts )
[00000302] main interface debug: looking for interface module: 3 candidates
[00000302] main interface debug: using interface module "wxwidgets"
[00000302] wxwidgets interface debug: Using last windows config '(-1,0,0,1680,1050)(0,839,248,720,655)(6,0,0,-1,150)'
[00000302] wxwidgets interface debug: id=0 p=(839,248) s=(720,655)
[00000302] wxwidgets interface debug: id=6 p=(0,0) s=(-1,150)
[00000295] main playlist debug: rebuilding array of current - root Playlist
[00000295] main playlist debug: rebuild done - 1 items, index -1
[00000295] main playlist debug: starting new item
[00000295] main playlist debug: changing item without a request (current -1/1)
[00000295] main playlist debug: using item 0
[00000295] main playlist debug: creating new input thread
[00000305] main input debug: waiting for thread completion
[00000305] main input debug: `dvd2.ts' gives access `' demux `' path `dvd2.ts'
[00000305] main input debug: creating demux: access='' demux='' path='dvd2.ts'
[00000306] main demuxer debug: looking for access_demux module: 1 candidate
[00000305] main input debug: creating access '' path='dvd2.ts'
[00000308] main access debug: looking for access2 module: 4 candidates
[00000308] vcd access debug: trying .cue file: dvd2.cue
[00000308] vcd access debug: could not find .cue file
[00000308] access_directory access debug: opening directory `dvd2.ts'
[00000308] access_directory access debug: skipping non-directory `dvd2.ts'
[00000305] main input debug: thread 1132489024 (input) created at priority 0 (input/input.c:332)
[00000295] main playlist debug: requesting art for dvd2.ts
[00000308] access_file access debug: opening file `dvd2.ts'
[00000308] main access debug: using access2 module "access_file"
[00000313] main private debug: pre-buffering...
[00000313] main private debug: received first data for our buffer
[00000313] main private debug: pre-buffering done 1408981 bytes in 0s - 951561 kbytes/s
[00000305] main input debug: creating demux: access='' demux='' path='dvd2.ts'
[00000314] main demuxer debug: looking for demux2 module: 47 candidates
[00000314] main demuxer debug: using demux2 module "ts"
[00000305] main input debug: looking for a subtitle file in /home/astone/live555Wrapper/live/
[00000314] ts demuxer debug: DEMUX_SET_GROUP 0 (nil)
[00000305] main input debug: `dvd2.ts' successfully opened
[00000314] ts demuxer debug: PATCallBack called
[00000314] ts demuxer debug: new PAT ts_id=1 version=1 current_next=1
[00000314] ts demuxer debug: * number=1 pid=16
[00000314] ts demuxer debug: PMTCallBack called
[00000314] ts demuxer debug: new PMT program number=1 version=1 pid_pcr=224
[00000314] ts demuxer debug: * es pid=224 type=2 fcc=mpgv
[00000305] main input debug: selecting program id=1
[00000353] main decoder debug: looking for decoder module: 21 candidates
[00000353] main decoder debug: using decoder module "libmpeg2"
[00000353] main decoder debug: thread 1140881728 (decoder) created at priority 0 (input/decoder.c:191)
[00000314] ts demuxer warning: first packet for pid=224 cc=0x1
[00000314] ts demuxer warning: discontinuity indicator (pid=224)
[00000353] libmpeg2 decoder debug: 720x480 (display 720,480), aspect 576000, sar 8:9, 29.971 fps
[00000353] main decoder debug: no usable vout present, spawning one
[00000357] main video output debug: window size: 720x540
[00000357] main video output debug: looking for video output module: 6 candidates
[00000357] xvideo video output debug: adaptor 0, port 115, format 0x32315659 (YV12) planar
[00000357] xvideo video output debug: Window manager supports NetWM
[00000357] xvideo video output debug: Window manager supports _NET_WM_STATE_FULLSCREEN
[00000357] xvideo video output debug: Window manager supports _NET_WM_STATE_ABOVE
[00000357] xvideo video output debug: Window manager supports _NET_WM_STATE_BELOW
[00000357] main video output debug: using video output module "xvideo"
[00000357] main video output debug: waiting for thread completion
[00000357] main video output debug: got 8 direct buffer(s)
[00000357] main video output debug: picture in 720x480 (0,0,720x480), chroma I420, ar 4:3, sar 8:9
[00000357] main video output debug: picture user 720x480 (0,0,720x480), chroma I420, ar 4:3, sar 8:9
[00000357] main video output debug: picture out 720x480 (0,0,720x480), chroma I420, ar 4:3, sar 8:9
[00000357] main video output debug: direct render, mapping render pictures 0-6 to system pictures 1-7
[00000357] main video output debug: thread 1149274432 (video output) created at priority 0 (video_output/video_output.c:454)
[00000353] libmpeg2 decoder warning: invalid picture encountered
[00000353] libmpeg2 decoder warning: invalid picture encountered
[00000353] libmpeg2 decoder warning: invalid picture encountered
[00000353] libmpeg2 decoder warning: invalid picture encountered
[00000360] main private warning: dts != current_pts (128504)
[00000295] main playlist debug: art not found for dvd2.ts
[00000353] libmpeg2 decoder warning: invalid picture encountered
[00000360] main private warning: backward_pts != current_pts (33366)
[00000353] libmpeg2 decoder warning: invalid picture encountered
[00000360] main private warning: backward_pts != dts (35156)
[00000360] main private warning: backward_pts != current_pts (33366)
[00000353] main decoder error: decoder is leaking pictures, resetting the heap
[00000353] libmpeg2 decoder warning: invalid picture encountered
[00000353] libmpeg2 decoder warning: invalid picture encountered
[00000360] main private warning: backward_pts != dts (35155)
[00000360] main private warning: backward_pts != current_pts (33366)
[00000353] libmpeg2 decoder warning: invalid picture encountered
[00000353] libmpeg2 decoder warning: invalid picture encountered
[00000360] main private warning: backward_pts != dts (35156)
[00000360] main private warning: backward_pts != current_pts (33366)
[00000353] libmpeg2 decoder warning: invalid picture encountered
[00000353] libmpeg2 decoder warning: invalid picture encountered
[00000360] main private warning: backward_pts != current_pts (33366)
[00000353] libmpeg2 decoder warning: invalid picture encountered
[00000360] main private warning: backward_pts != dts (33200)
[00000360] main private warning: backward_pts != current_pts (33366)
[00000353] main decoder error: decoder is leaking pictures, resetting the heap
[00000353] libmpeg2 decoder warning: invalid picture encountered
[00000360] main private warning: backward_pts != dts (35155)
[00000353] libmpeg2 decoder warning: invalid picture encountered
[00000353] libmpeg2 decoder warning: invalid picture encountered
[00000360] main private warning: backward_pts != current_pts (33366)
[00000353] libmpeg2 decoder warning: invalid picture encountered
[00000360] main private warning: backward_pts != dts (35156)
[00000360] main private warning: backward_pts != current_pts (33366)
[00000353] libmpeg2 decoder warning: invalid picture encountered
[00000353] libmpeg2 decoder warning: invalid picture encountered
[00000360] main private warning: backward_pts != dts (35155)
[00000360] main private warning: backward_pts != current_pts (33366)
[00000353] libmpeg2 decoder warning: invalid picture encountered
[00000353] main decoder error: decoder is leaking pictures, resetting the heap
[00000353] libmpeg2 decoder warning: invalid picture encountered
[00000360] main private warning: backward_pts != dts (35156)
[00000360] main private warning: backward_pts != current_pts (33366)
[00000353] libmpeg2 decoder warning: invalid picture encountered
[00000353] libmpeg2 decoder warning: invalid picture encountered
[00000360] main private warning: backward_pts != dts (35156)
[00000360] main private warning: backward_pts != current_pts (33366)
[00000353] libmpeg2 decoder warning: invalid picture encountered
[00000353] libmpeg2 decoder warning: invalid picture encountered
[00000360] main private warning: backward_pts != dts (35155)
[00000360] main private warning: backward_pts != current_pts (33366)
[00000353] libmpeg2 decoder warning: invalid picture encountered
[00000353] libmpeg2 decoder warning: invalid picture encountered
[00000360] main private warning: backward_pts != dts (35156)
[00000360] main private warning: backward_pts != current_pts (33366)
[00000353] main decoder error: decoder is leaking pictures, resetting the heap
[00000353] libmpeg2 decoder warning: invalid picture encountered
[00000353] libmpeg2 decoder warning: invalid picture encountered
[00000360] main private warning: backward_pts != dts (35166)
[00000360] main private warning: backward_pts != current_pts (33366)
[00000353] libmpeg2 decoder warning: invalid picture encountered
[00000353] libmpeg2 decoder warning: invalid picture encountered
[00000360] main private warning: backward_pts != dts (35156)
[00000360] main private warning: backward_pts != current_pts (33366)
[00000353] libmpeg2 decoder warning: invalid picture encountered
[00000353] libmpeg2 decoder warning: invalid picture encountered
[00000360] main private warning: backward_pts != current_pts (33366)
[00000353] libmpeg2 decoder warning: invalid picture encountered
[00000360] main private warning: backward_pts != dts (35155)
[00000360] main private warning: backward_pts != current_pts (33366)
[00000353] main decoder error: decoder is leaking pictures, resetting the heap
[00000353] libmpeg2 decoder warning: invalid picture encountered
[00000353] libmpeg2 decoder warning: invalid picture encountered
[00000360] main private warning: backward_pts != dts (35156)
[00000360] main private warning: backward_pts != current_pts (33366)
[00000353] libmpeg2 decoder warning: invalid picture encountered
[00000353] libmpeg2 decoder warning: invalid picture encountered
[00000360] main private warning: backward_pts != dts (35156)
[00000360] main private warning: backward_pts != current_pts (33366)
[00000353] libmpeg2 decoder warning: invalid picture encountered
[00000353] libmpeg2 decoder warning: invalid picture encountered
[00000360] main private warning: backward_pts != dts (35155)
[00000360] main private warning: backward_pts != current_pts (33366)
[00000353] libmpeg2 decoder warning: invalid picture encountered
[00000353] main decoder error: decoder is leaking pictures, resetting the heap
[00000353] libmpeg2 decoder warning: invalid picture encountered
[00000360] main private warning: backward_pts != dts (35156)
[00000360] main private warning: backward_pts != current_pts (33366)
[00000353] libmpeg2 decoder warning: invalid picture encountered
[00000353] libmpeg2 decoder warning: invalid picture encountered
[00000360] main private warning: backward_pts != dts (35155)
[00000360] main private warning: backward_pts != current_pts (33366)
[00000353] libmpeg2 decoder warning: invalid picture encountered
[00000353] libmpeg2 decoder warning: invalid picture encountered
[00000360] main private warning: backward_pts != dts (35156)
[00000360] main private warning: backward_pts != current_pts (33366)
[00000353] libmpeg2 decoder warning: invalid picture encountered
[00000353] libmpeg2 decoder warning: invalid picture encountered
[00000360] main private warning: backward_pts != dts (35155)
[00000360] main private warning: backward_pts != current_pts (33366)
[00000353] main decoder error: decoder is leaking pictures, resetting the heap
[00000353] libmpeg2 decoder warning: invalid picture encountered
[00000353] libmpeg2 decoder warning: invalid picture encountered
[00000360] main private warning: backward_pts != dts (35156)
[00000360] main private warning: backward_pts != current_pts (33366)
[00000353] libmpeg2 decoder warning: invalid picture encountered
[00000353] libmpeg2 decoder warning: invalid picture encountered
[00000360] main private warning: backward_pts != dts (33200)
[00000360] main private warning: backward_pts != current_pts (33366)
[00000353] libmpeg2 decoder warning: invalid picture encountered
[00000353] libmpeg2 decoder warning: invalid picture encountered
[00000360] main private warning: backward_pts != dts (35167)
[00000360] main private warning: backward_pts != current_pts (33366)
[00000353] libmpeg2 decoder warning: invalid picture encountered
[00000353] main decoder error: decoder is leaking pictures, resetting the heap
[00000353] libmpeg2 decoder warning: invalid picture encountered
[00000360] main private warning: backward_pts != current_pts (33366)
[00000353] libmpeg2 decoder warning: invalid picture encountered
[00000360] main private warning: backward_pts != dts (35155)
[00000360] main private warning: backward_pts != current_pts (33366)
[00000353] libmpeg2 decoder warning: invalid picture encountered
[00000360] main private warning: backward_pts != dts (35156)
[00000353] libmpeg2 decoder warning: invalid picture encountered
[00000353] libmpeg2 decoder warning: invalid picture encountered
[00000360] main private warning: backward_pts != dts (35155)
[00000360] main private warning: backward_pts != current_pts (33366)
[00000353] libmpeg2 decoder warning: invalid picture encountered
[00000353] libmpeg2 decoder warning: invalid picture encountered
[00000360] main private warning: backward_pts != dts (35156)
[00000360] main private warning: backward_pts != current_pts (33366)
[00000353] main decoder error: decoder is leaking pictures, resetting the heap
[00000353] libmpeg2 decoder warning: invalid picture encountered
[00000353] libmpeg2 decoder warning: invalid picture encountered
[00000360] main private warning: backward_pts != dts (35155)
[00000360] main private warning: backward_pts != current_pts (33366)
[00000353] libmpeg2 decoder warning: invalid picture encountered
[00000353] libmpeg2 decoder warning: invalid picture encountered
[00000360] main private warning: backward_pts != current_pts (33366)
[00000353] libmpeg2 decoder warning: invalid picture encountered
[00000360] main private warning: backward_pts != dts (35156)
[00000360] main private warning: backward_pts != current_pts (33366)
[00000353] libmpeg2 decoder warning: invalid picture encountered
[00000353] libmpeg2 decoder warning: invalid picture encountered
[00000360] main private warning: backward_pts != current_pts (33366)
[00000353] main decoder error: decoder is leaking pictures, resetting the heap
[00000353] libmpeg2 decoder warning: invalid picture encountered
[00000360] main private warning: backward_pts != dts (35155)
[00000360] main private warning: backward_pts != current_pts (33366)
[00000353] libmpeg2 decoder warning: invalid picture encountered
[00000353] libmpeg2 decoder warning: invalid picture encountered
[00000360] main private warning: backward_pts != dts (35156)
[00000360] main private warning: backward_pts != current_pts (33366)
[00000353] libmpeg2 decoder warning: invalid picture encountered
_______________________________________________
vlc-devel mailing list
vlc-devel at videolan.org
http://mailman.videolan.org/listinfo/vlc-devel
More information about the vlc-devel
mailing list