Page 1 of 1

v0.8.6 crashes with mosaic subpicture filter

Posted: 04 Jun 2008 23:50
by someone64
I'm trying to use the mosaic subpicture filter to stream a continuous video via internet. Using 0.8.6f, I have had many problems trying to use it, but I don't have to worry about those anymore...because now VLC just crashes when i bridge a stream into the mosaic:


# Background options
new bg broadcast enabled
setup bg input "fake:"
setup bg output #transcode{vcodec=WMV1,vb=256,scale=1,acodec=mp3,ab=128,channels=2,sfilter=mosaic}:bridge-in:std{access=http,mux=asf,dst=:1234}

# Mosaic options
setup bg option fake-file="C:\Documents and Settings\Miriam Vicioso\My Documents\black320x240.bmp"
setup bg option mosaic-alpha=255
setup bg option mosaic-height=320
setup bg option mosaic-width=240
setup bg option mosaic-align=5
setup bg option mosaic-xoffset=0
setup bg option mosaic-yoffset=0
setup bg option mosaic-vborder=0
setup bg option mosaic-hborder=0
setup bg option mosaic-position=1
setup bg option mosaic-rows=1
setup bg option mosaic-cols=1
setup bg option mosaic-order=garfield
setup bg option mosaic-delay=0
setup bg option mosaic-keep-aspect-ratio
# setup bg option mosaic-keep-picture

# Input options
new garfield broadcast enabled
setup garfield input "C:\Documents and Settings\Miriam Vicioso\My Documents\Joeys Stuff\Nothing To Sneeze At.mpg"
setup garfield output #duplicate{dst=mosaic-bridge{id=garfield,width=320,height=240},select=video,dst=bridge-out,select=audio}

# Launch everything
#control bg play
#control garfield play

# end of mosaic batch

When I play them separately, there will be no problem, but if I play 'bg' first, and then 'garfield', it will yield these messages:

main debug: drive letter C: found in source
main debug: creating access '' path='C:\Documents and Settings\Miriam Vicioso\My Documents\vlmnew.txt'
main debug: looking for access2 module: 5 candidates
vcd debug: trying .cue file: C:\Documents and Settings\Miriam Vicioso\My Documents\vlmnew.cue
vcd debug: could not find .cue file
access_file debug: opening file `C:\Documents and Settings\Miriam Vicioso\My Documents\vlmnew.txt'
main debug: using access2 module "access_file"
main debug: pre-buffering...
main debug: received first data for our buffer
main debug: removing module "access_file"
main debug: waiting for thread completion
main debug: thread 4960 (input) created at priority 1 (input/input.c:265)
main debug: stream=`transcode'
main debug: looking for sout stream module: 1 candidate
main debug: stream=`bridge-in'
main debug: looking for sout stream module: 1 candidate
main debug: stream=`std'
main debug: looking for sout stream module: 1 candidate
main debug: set sout option: sout-standard-access to http
main debug: set sout option: sout-standard-mux to asf
main debug: set sout option: sout-standard-dst to :1234
stream_out_standard debug: creating `http/asf://:1234'
stream_out_standard debug: using `http/asf://:1234'
main debug: looking for sout access module: 1 candidate
main debug: net: listening to port 1234
main debug: thread 5088 (httpd host thread) created at priority 0 (network/httpd.c:1078)
main debug: using sout access module "access_output_http"
stream_out_standard debug: access opened
main debug: looking for sout mux module: 1 candidate
mux_asf debug: asf muxer opened
mux_asf debug: Packet size 4096
mux_asf debug: meta data: title='', author='', copyright='', comment='', rating=''
main debug: using sout mux module "mux_asf"
stream_out_standard debug: mux opened
main debug: using sout stream module "stream_out_standard"
main debug: using sout stream module "stream_out_bridge"
main debug: set sout option: sout-transcode-vcodec to WMV1
main debug: set sout option: sout-transcode-vb to 256
main debug: set sout option: sout-transcode-scale to 1
main debug: set sout option: sout-transcode-acodec to mp3
main debug: set sout option: sout-transcode-ab to 128
main debug: set sout option: sout-transcode-channels to 2
main debug: set sout option: sout-transcode-sfilter to mosaic
stream_out_transcode debug: codec audio=mp3 0Hz 2 channels 128Kb/s
stream_out_transcode debug: codec video=WMV1 0x0 scaling: 1.000000 256kb/s
main debug: looking for sub filter module: 2 candidates
main debug: using sub filter module "mosaic"
main debug: Registering subpicture channel, ID: 2
main debug: using sout stream module "stream_out_transcode"
main debug: `fake:' gives access `fake' demux `' path `'
main debug: creating demux: access='fake' demux='' path=''
main debug: looking for access_demux module: 1 candidate
main debug: selecting program id=0
main debug: using access_demux module "access_fake"
main debug: looking for a subtitle file in C:\Program Files\VideoLAN\VLC\
main debug: looking for packetizer module: 17 candidates
main debug: using packetizer module "packetizer_copy"
main debug: stream out mode -> no decoder thread
main debug: starting in sync mode
main debug: `fake:' successfully opened
main debug: adding a new input
stream_out_transcode debug: creating video transcoding from fcc=`fake' to fcc=`WMV1'
main debug: looking for decoder module: 28 candidates
main debug: drive letter C: found in source
main debug: creating access '' path='C:\Documents and Settings\Miriam Vicioso\My Documents\black320x240.bmp'
main debug: looking for access2 module: 5 candidates
vcd debug: trying .cue file: C:\Documents and Settings\Miriam Vicioso\My Documents\black320x240.cue
vcd debug: could not find .cue file
access_file debug: opening file `C:\Documents and Settings\Miriam Vicioso\My Documents\black320x240.bmp'
main debug: using access2 module "access_file"
main debug: pre-buffering...
main debug: received first data for our buffer
main debug: pre-buffering done 65534 bytes in 0s - 1831 kbytes/s
main debug: removing module "access_file"
main debug: looking for decoder module: 28 candidates
ffmpeg debug: libavcodec initialized (interface 3349504 )
ffmpeg debug: postprocessing disabled
ffmpeg debug: ffmpeg codec (BMP Image) started
main debug: using decoder module "ffmpeg"
ffmpeg debug: ffmpeg codec (BMP Image) stopped
main debug: removing module "ffmpeg"
fake debug: file C:\Documents and Settings\Miriam Vicioso\My Documents\black320x240.bmp loaded successfully
main debug: using decoder module "fake"
main debug: looking for encoder module: 10 candidates
ffmpeg debug: libavcodec already initialized
ffmpeg debug: found encoder Windows Media Video 1
main debug: using encoder module "ffmpeg"
main debug: removing module "ffmpeg"
stream_out_transcode debug: late picture skipped (409337)
stream_out_transcode debug: late picture skipped (371712)
stream_out_transcode debug: late picture skipped (332751)
stream_out_transcode debug: late picture skipped (294311)
stream_out_transcode debug: late picture skipped (255396)
stream_out_transcode debug: late picture skipped (216380)
stream_out_transcode debug: late picture skipped (177223)
stream_out_transcode debug: late picture skipped (138009)
stream_out_transcode debug: late picture skipped (99301)
stream_out_transcode debug: late picture skipped (61517)
stream_out_transcode debug: late picture skipped (22704)
stream_out_transcode debug: decoder aspect is 567000:432000
stream_out_transcode debug: source pixel aspect is 1.000000:1
stream_out_transcode debug: scaled pixel aspect is 1.000000:1
stream_out_transcode debug: source 336x256, crop 336x256, destination 336x256, padding 336x256
stream_out_transcode debug: encoder aspect is 567000:432000
main debug: looking for encoder module: 10 candidates
ffmpeg debug: libavcodec already initialized
ffmpeg debug: found encoder Windows Media Video 1
main debug: using encoder module "ffmpeg"
main debug: adding a new input
mux_asf debug: adding input
main warning: late buffer for mux input (69640)
stream_out_transcode debug: late picture skipped (81255)
stream_out_transcode debug: late picture skipped (42373)
stream_out_transcode debug: late picture skipped (3727)
mux_asf debug: Asf muxer creating header
mux_asf debug: pixel aspect-ratio: 1/1
main debug: waiting for thread completion
main debug: thread 5236 (input) created at priority 1 (input/input.c:265)
main debug: sout keep: destroying unusable sout
main debug: destroying chain... (name=transcode)
main debug: destroying chain... (name=bridge-in)
main debug: destroying chain... (name=std)
mux_asf debug: Asf muxer closed
access_output_http warning: HTTP sout access cannot seek
main debug: removing module "mux_asf"
main debug: thread times: real 0m3.915630s, kernel 0m0.010014s, user 0m0.000000s
main debug: thread 5088 joined (network/httpd.c:1134)
main debug: HTTP host removed
access_output_http debug: Close
main debug: removing module "access_output_http"
main debug: removing module "stream_out_standard"
main debug: destroying chain done
main debug: removing module "stream_out_bridge"
main debug: destroying chain done
main debug: removing module "mosaic"
main debug: removing module "stream_out_transcode"
main debug: destroying chain done
main error: cannot delete object (299, (null)) with children
main debug: stream=`duplicate'
main debug: looking for sout stream module: 1 candidate
stream_out_duplicate debug: creating 'duplicate'
stream_out_duplicate debug: * adding `mosaic-bridge{id=garfield,width=320,height=240}'
main debug: stream=`mosaic-bridge'
main debug: looking for sout stream module: 1 candidate
main debug: set sout option: sout-mosaic-bridge-id to garfield
main debug: set sout option: sout-mosaic-bridge-width to 320
main debug: set sout option: sout-mosaic-bridge-height to 240
main debug: using sout stream module "stream_out_mosaic_bridge"
stream_out_duplicate debug: * apply selection video
stream_out_duplicate debug: * adding `bridge-out'
main debug: stream=`bridge-out'
main debug: looking for sout stream module: 1 candidate
main debug: using sout stream module "stream_out_bridge"
stream_out_duplicate debug: * apply selection audio
main debug: using sout stream module "stream_out_duplicate"
main debug: drive letter C: found in source
main debug: `C:\Documents and Settings\Miriam Vicioso\My Documents\Joeys Stuff\Nothing To Sneeze At.mpg' gives access `' demux `' path `C:\Documents and Settings\Miriam Vicioso\My Documents\Joeys Stuff\Nothing To Sneeze At.mpg'
main debug: creating demux: access='' demux='' path='C:\Documents and Settings\Miriam Vicioso\My Documents\Joeys Stuff\Nothing To Sneeze At.mpg'
main debug: looking for access_demux module: 1 candidate
main debug: creating access '' path='C:\Documents and Settings\Miriam Vicioso\My Documents\Joeys Stuff\Nothing To Sneeze At.mpg'
main debug: looking for access2 module: 5 candidates
vcd debug: trying .cue file: C:\Documents and Settings\Miriam Vicioso\My Documents\Joeys Stuff\Nothing To Sneeze At.cue
vcd debug: could not find .cue file
access_file debug: opening file `C:\Documents and Settings\Miriam Vicioso\My Documents\Joeys Stuff\Nothing To Sneeze At.mpg'
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 - 17519 kbytes/s
main debug: creating demux: access='' demux='' path='C:\Documents and Settings\Miriam Vicioso\My Documents\Joeys Stuff\Nothing To Sneeze At.mpg'
main debug: looking for demux2 module: 45 candidates
main debug: using demux2 module "ps"
main debug: looking for a subtitle file in C:\Documents and Settings\Miriam Vicioso\My Documents\Joeys Stuff\
main debug: starting in sync mode
main debug: `C:\Documents and Settings\Miriam Vicioso\My Documents\Joeys Stuff\Nothing To Sneeze At.mpg' successfully opened
ps warning: garbage at input, trying to resync...
ps warning: found sync code
ps debug: we found a length of: 444238366
ps debug: we found a length of: 444300000
main debug: selecting program id=0
main debug: looking for packetizer module: 17 candidates
main debug: using packetizer module "mpeg_audio"
main debug: stream out mode -> no decoder thread
main debug: looking for packetizer module: 17 candidates
main debug: using packetizer module "packetizer_mpegvideo"
main debug: stream out mode -> no decoder thread
packetizer_mpegvideo debug: size 320x239 fps=30.000
main debug: adding a new input
stream_out_duplicate debug: duplicated a new stream codec=mpgv (es=1 group=0)
main debug: looking for decoder module: 28 candidates
main debug: using decoder module "libmpeg2"
stream_out_mosaic_bridge debug: mosaic bridge id=garfield pos=0
stream_out_duplicate debug: - added for output 0
stream_out_duplicate debug: - ignored for output 1
main warning: trying to send non-dated packet to stream output!
libmpeg2 debug: 320x239 (display 320,239), aspect 578410, sar 1:1, 30.000 fps
main debug: looking for video filter2 module: 3 candidates
ffmpeg debug: input: 320x240 I420 -> 320x240 YUVA
ffmpeg debug: libavcodec already initialized
main debug: using video filter2 module "ffmpeg"
mpeg_audio debug: MPGA channels:1 samplerate:22050 bitrate:64
main debug: adding a new input
stream_out_duplicate debug: duplicated a new stream codec=mpga (es=0 group=0)
stream_out_duplicate debug: - ignored for output 0
stream_out_bridge debug: bridging out input codec=mpga id=0 pos=0
stream_out_duplicate debug: - added for output 1

...followed by a crash caused by libstream_out_transcode_plugin.dll.

Doing the reverse, playing 'garfield' first and then 'bg', i'll get:

main debug: waiting for thread completion
main debug: thread 4956 (input) created at priority 1 (input/input.c:265)
main debug: stream=`duplicate'
main debug: looking for sout stream module: 1 candidate
stream_out_duplicate debug: creating 'duplicate'
stream_out_duplicate debug: * adding `mosaic-bridge{id=garfield,width=320,height=240}'
main debug: stream=`mosaic-bridge'
main debug: looking for sout stream module: 1 candidate
main debug: set sout option: sout-mosaic-bridge-id to garfield
main debug: set sout option: sout-mosaic-bridge-width to 320
main debug: set sout option: sout-mosaic-bridge-height to 240
main debug: using sout stream module "stream_out_mosaic_bridge"
stream_out_duplicate debug: * apply selection video
stream_out_duplicate debug: * adding `bridge-out'
main debug: stream=`bridge-out'
main debug: looking for sout stream module: 1 candidate
main debug: using sout stream module "stream_out_bridge"
stream_out_duplicate debug: * apply selection audio
main debug: using sout stream module "stream_out_duplicate"
main debug: drive letter C: found in source
main debug: `C:\Documents and Settings\Miriam Vicioso\My Documents\Joeys Stuff\Nothing To Sneeze At.mpg' gives access `' demux `' path `C:\Documents and Settings\Miriam Vicioso\My Documents\Joeys Stuff\Nothing To Sneeze At.mpg'
main debug: creating demux: access='' demux='' path='C:\Documents and Settings\Miriam Vicioso\My Documents\Joeys Stuff\Nothing To Sneeze At.mpg'
main debug: looking for access_demux module: 1 candidate
main debug: creating access '' path='C:\Documents and Settings\Miriam Vicioso\My Documents\Joeys Stuff\Nothing To Sneeze At.mpg'
main debug: looking for access2 module: 5 candidates
vcd debug: trying .cue file: C:\Documents and Settings\Miriam Vicioso\My Documents\Joeys Stuff\Nothing To Sneeze At.cue
vcd debug: could not find .cue file
access_file debug: opening file `C:\Documents and Settings\Miriam Vicioso\My Documents\Joeys Stuff\Nothing To Sneeze At.mpg'
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 - 57530 kbytes/s
main debug: creating demux: access='' demux='' path='C:\Documents and Settings\Miriam Vicioso\My Documents\Joeys Stuff\Nothing To Sneeze At.mpg'
main debug: looking for demux2 module: 45 candidates
main debug: using demux2 module "ps"
main debug: looking for a subtitle file in C:\Documents and Settings\Miriam Vicioso\My Documents\Joeys Stuff\
main debug: starting in sync mode
main debug: `C:\Documents and Settings\Miriam Vicioso\My Documents\Joeys Stuff\Nothing To Sneeze At.mpg' successfully opened
ps warning: garbage at input, trying to resync...
ps warning: found sync code
ps debug: we found a length of: 444238366
ps debug: we found a length of: 444300000
main debug: selecting program id=0
main debug: looking for packetizer module: 17 candidates
main debug: using packetizer module "mpeg_audio"
main debug: stream out mode -> no decoder thread
main debug: looking for packetizer module: 17 candidates
main debug: using packetizer module "packetizer_mpegvideo"
main debug: stream out mode -> no decoder thread
packetizer_mpegvideo debug: size 320x239 fps=30.000
main debug: adding a new input
stream_out_duplicate debug: duplicated a new stream codec=mpgv (es=1 group=0)
main debug: looking for decoder module: 28 candidates
main debug: using decoder module "libmpeg2"
stream_out_mosaic_bridge debug: mosaic bridge id=garfield pos=0
stream_out_duplicate debug: - added for output 0
stream_out_duplicate debug: - ignored for output 1
main warning: trying to send non-dated packet to stream output!
libmpeg2 debug: 320x239 (display 320,239), aspect 578410, sar 1:1, 30.000 fps
main debug: looking for video filter2 module: 3 candidates
ffmpeg debug: input: 320x240 I420 -> 320x240 YUVA
ffmpeg debug: libavcodec initialized (interface 3349504 )
main debug: using video filter2 module "ffmpeg"
mpeg_audio debug: MPGA channels:1 samplerate:22050 bitrate:64
main debug: adding a new input
stream_out_duplicate debug: duplicated a new stream codec=mpga (es=0 group=0)
stream_out_duplicate debug: - ignored for output 0
stream_out_bridge debug: bridging out input codec=mpga id=0 pos=0
stream_out_duplicate debug: - added for output 1
main debug: waiting for thread completion
main debug: sout keep: destroying unusable sout
main debug: destroying chain... (name=duplicate)
stream_out_duplicate debug: closing a duplication
main debug: destroying chain... (name=mosaic-bridge)
main debug: removing module "stream_out_mosaic_bridge"
main debug: destroying chain done
main error: cannot delete object (300, (null)) with children
main debug: destroying chain... (name=bridge-out)
main debug: removing module "stream_out_bridge"
main debug: destroying chain done
main debug: removing module "stream_out_duplicate"
main debug: destroying chain done
main debug: stream=`transcode'
main debug: looking for sout stream module: 1 candidate
main debug: stream=`bridge-in'
main debug: looking for sout stream module: 1 candidate
main debug: stream=`std'
main debug: looking for sout stream module: 1 candidate
main debug: set sout option: sout-standard-access to http
main debug: set sout option: sout-standard-mux to asf
main debug: set sout option: sout-standard-dst to :1234
stream_out_standard debug: creating `http/asf://:1234'
stream_out_standard debug: using `http/asf://:1234'
main debug: looking for sout access module: 1 candidate
main debug: net: listening to port 1234
main debug: thread 5144 (input) created at priority 1 (input/input.c:265)
main debug: thread 5300 (httpd host thread) created at priority 0 (network/httpd.c:1078)
main debug: using sout access module "access_output_http"
stream_out_standard debug: access opened
main debug: looking for sout mux module: 1 candidate
mux_asf debug: asf muxer opened
mux_asf debug: Packet size 4096
mux_asf debug: meta data: title='', author='', copyright='', comment='', rating=''
main debug: using sout mux module "mux_asf"
stream_out_standard debug: mux opened
main debug: using sout stream module "stream_out_standard"
main debug: using sout stream module "stream_out_bridge"
main debug: set sout option: sout-transcode-vcodec to WMV1
main debug: set sout option: sout-transcode-vb to 256
main debug: set sout option: sout-transcode-scale to 1
main debug: set sout option: sout-transcode-acodec to mp3
main debug: set sout option: sout-transcode-ab to 128
main debug: set sout option: sout-transcode-channels to 2
main debug: set sout option: sout-transcode-sfilter to mosaic
stream_out_transcode debug: codec audio=mp3 0Hz 2 channels 128Kb/s
stream_out_transcode debug: codec video=WMV1 0x0 scaling: 1.000000 256kb/s
main debug: looking for sub filter module: 2 candidates
main debug: using sub filter module "mosaic"
main debug: Registering subpicture channel, ID: 2
main debug: using sout stream module "stream_out_transcode"
main debug: `fake:' gives access `fake' demux `' path `'
main debug: creating demux: access='fake' demux='' path=''
main debug: looking for access_demux module: 1 candidate
main debug: selecting program id=0
main debug: using access_demux module "access_fake"
main debug: looking for a subtitle file in C:\Program Files\VideoLAN\VLC\
main debug: looking for packetizer module: 17 candidates
main debug: using packetizer module "packetizer_copy"
main debug: stream out mode -> no decoder thread
main debug: starting in sync mode
main debug: `fake:' successfully opened
main debug: adding a new input

...and then a crash caused by libvlc.dll.

This only started happening recently, and I can't find out why it started. Any ideas?

Re: v0.8.6 crashes with mosaic subpicture filter

Posted: 05 Jun 2008 18:39
by VLC_help
Have you tried resetting VLC settings?