Page 1 of 1

h264 stream with VLC api

Posted: 20 Jan 2009 14:23
by silvara
Hi;

I am trying invoke vlc to stream h264 codec movie to destination ip and port..
But unfortunately when ever the vlc is starting to stream it crashes .
It says
Windows has triggered a breakpoint in sample.exe
This may be due to a corruption of the heap, which indicates a bug in sample.exe or any of the DLLs it has loaded.

This may also be due to the user pressing F12 while sample.exe has focus.

and the vlc shows below

Code: Select all

* * * [00000295] mp4 demuxer debug: track[Id 0x2] read 77 chunk [00000295] mp4 demuxer debug: track[Id 0x2] read 1828 samples length:36s [00000295] mp4 demuxer debug: adding track[Id 0x2] audio (enable) language undef [00000295] main demuxer debug: using demux2 module "mp4" [00000295] mp4 demuxer warning: DEMUX_GET_FPS unimplemented !! [00000288] main input debug: looking for a subtitle file in c:\ [00000296] main packetizer debug: looking for packetizer module: 17 candidates [00000296] packetizer_h264 packetizer debug: found NAL_SPS [00000296] packetizer_h264 packetizer debug: found NAL_PPS [00000296] packetizer_h264 packetizer debug: avcC length size=4, sps=1, pps=1 [00000296] main packetizer debug: using packetizer module "packetizer_h264" [00000288] main input debug: stream out mode -> no decoder thread [00000297] main packetizer debug: looking for packetizer module: 17 candidates [00000297] main packetizer debug: using packetizer module "packetizer_copy" [00000288] main input debug: stream out mode -> no decoder thread [00000288] main input debug: starting in sync mode [00000288] main input debug: `c:\Pitstop_-_Funny.h264-128kbs.3gp' successfully o pened [00000295] mp4 demuxer debug: track[Id 0x1] using Sync Sample Box (stss) [00000295] mp4 demuxer debug: stts gives 0 --> 0 (sample number) [00000295] mp4 demuxer debug: track[Id 0x2] does not provide Sync Sample Box (st ss) [00000290] main stream output debug: adding a new input [00000298] main private debug: looking for sout access module: 1 candidate [00000298] main private debug: set sout option: sout-udp-raw to (null) [00000298] main private debug: net: connecting to 192.168.0.199 port 1232 [00000299] main private debug: thread 4456 (sout write thread) created at priori ty 15 (udp.c:268) [00000298] access_output_udp private debug: udp access output opened(192.168.0.1 99:1232) [00000298] main private debug: using sout access module "access_output_udp" [00000291] stream_out_rtp private debug: access out udp{raw}:192.168.0.199:1232 [00000291] stream_out_rtp private debug: we found a startcode for NAL with TYPE: 7 [00000291] stream_out_rtp private debug: we found a startcode for NAL with TYPE:
Any ideas why the vlc crashes?