VLC complains about non-dated packages and doesn't stream

Microsoft Windows specific usage questions
Forum rules
Please post only Windows specific questions in this forum category. If you don't know where to post, please read the different forums' rules. Thanks.
zedogas
Blank Cone
Blank Cone
Posts: 14
Joined: 04 Jul 2008 17:26

VLC complains about non-dated packages and doesn't stream

Postby zedogas » 14 May 2010 22:28

Hi,

I am trying to stream some digital channels captured throught a BDA device. I am using this command-line:

Code: Select all

vlc.exe dvb-t://frequency=563143000 :sout=#display :no-sout-rtp-sap :no-sout-standard-sap :sout-keep
All local channels work fine, except for Rede Globo, a major channel in Brazil. When I try to stream this channel, I get many messages like this:

Code: Select all

main warning: trying to send non-dated packet to stream output!
The video freezes (altrought the audio goes on). Eventually, VLC crashes. If I just try to open the capture device (without stream, to watch locally), it works perfectly. Doesn't crash or freezes at all.
Here's a logfile:

Code: Select all

ts error: MPEG-4 descriptor not found ts error: MPEG-4 descriptor not found ts error: MPEG-4 descriptor not found packetizer_mpeg4audio info: AAC channels: 2 samplerate: 24000 vout_directx error: overlay unuseable (might already be in use) vout_directx error: overlay unuseable (might already be in use) vout_directx error: overlay unuseable (might already be in use) vout_directx error: overlay unuseable (might already be in use) vout_directx error: overlay unuseable (might already be in use) vout_directx error: overlay unuseable (might already be in use) main warning: trying to send non-dated packet to stream output! main warning: trying to send non-dated packet to stream output! main warning: trying to send non-dated packet to stream output! ts warning: first packet for pid=276 cc=0xc main warning: trying to send non-dated packet to stream output! main warning: trying to send non-dated packet to stream output! main warning: trying to send non-dated packet to stream output! main warning: trying to send non-dated packet to stream output! freetype debug: using fontsize: 67 main debug: looking for video blending module: 1 candidate blend debug: chroma: YUVA -> I420 main debug: using video blending module "blend" main debug: TIMER module_need() : 0.000 ms - Total 0.000 ms / 1 intvls (Avg 0.000 ms) main warning: trying to send non-dated packet to stream output! main warning: trying to send non-dated packet to stream output! ts debug: PSINewTableCallBack: table 0x5e(94) ext=0xbce0(48352) main warning: trying to send non-dated packet to stream output! ts debug: PSINewTableCallBack: table 0x56(86) ext=0xbce0(48352) main warning: trying to send non-dated packet to stream output! main warning: trying to send non-dated packet to stream output! main warning: trying to send non-dated packet to stream output! main warning: trying to send non-dated packet to stream output! main warning: trying to send non-dated packet to stream output! main warning: trying to send non-dated packet to stream output! main warning: trying to send non-dated packet to stream output! main warning: trying to send non-dated packet to stream output! main warning: trying to send non-dated packet to stream output! ts debug: PSINewTableCallBack: table 0x4e(78) ext=0xbce0(48352) ts debug: EITCallBack called ts debug: new EIT service_id=48352 version=28 current_next=1 ts_id=1511 network_id=1511 segment_last_section_number=1 last_table_id=78 ts debug: * event id=2018 start_time:1273851600 duration=6300 running=0 free_ca=0 ts debug: - short event lang=por 'SESSÔ DA TARDE' : 'GERACAO X' ts debug: - extended event lang=por [0/0] ts debug: - tag=0x50(80) ts debug: - tag=0x54(84) ts debug: - tag=0xc1(193) ts debug: - tag=0xc4(196) ts debug: - tag=0xc7(199) ts debug: - tag=0xd5(213) ts debug: - tag=0xde(222) ts debug: - tag=0x55(85) ts debug: * event id=2019 start_time:1273857900 duration=660 running=0 free_ca=0 ts debug: - short event lang=por 'GLOBO NOTCIA' : 'GLOBO NOTCIA' ts debug: - extended event lang=por [0/0] ts debug: - tag=0x50(80) ts debug: - tag=0x54(84) ts debug: - tag=0xc1(193) ts debug: - tag=0xc4(196) ts debug: - tag=0xc7(199) ts debug: - tag=0xd5(213) ts debug: - tag=0xde(222) ts debug: - tag=0x55(85) main debug: EsOutProgramEpg: number=48352 name=Globo HD main warning: trying to send non-dated packet to stream output! main warning: trying to send non-dated packet to stream output! main warning: trying to send non-dated packet to stream output! ts debug: PSINewTableCallBack: table 0x50(80) ext=0xbce0(48352) main warning: trying to send non-dated packet to stream output! ts debug: PSINewTableCallBack: table 0x58(88) ext=0xbce0(48352) main warning: trying to send non-dated packet to stream output! main warning: trying to send non-dated packet to stream output! ts debug: pid[39] unknown main warning: trying to send non-dated packet to stream output!
Just to compare, this is the logfile of a working channel:

Code: Select all

qt4 debug: MRL passed to the Sout: dvb-t://frequency=599143000 qt4 debug: Adding option: dvb-bandwidth=6 qt4 debug: Adding option: :sout=#std{access=http,mux=ts,dst=10.3.194.250:8080} main debug: adding item `Fluxo' ( dvb-t://frequency=599143000 ) qt4 debug: Adding a new MRL to recent ones: dvb-t://frequency=599143000 main debug: rebuilding array of current - root Lista de reprodução main debug: rebuild done - 3 items, index 1 main debug: processing request item Fluxo node Lista de reprodução skip 0 main debug: resyncing on Fluxo main debug: Fluxo is at 2 main debug: starting new item main debug: creating new input thread main debug: Creating an input for 'Fluxo' main debug: thread started main debug: stream=`std' main debug: looking for sout stream module: 1 candidate main debug: thread (input) created at priority 1 (../.././src/input/input.c:230) main debug: set config option: sout-standard-access to http main debug: set config option: sout-standard-mux to ts main debug: set config option: sout-standard-dst to 10.3.194.250:8080 stream_out_standard debug: creating `http/ts://10.3.194.250:8080' stream_out_standard debug: extension is 250:8080 stream_out_standard debug: extension -> mux=(null) stream_out_standard debug: using `http/ts://10.3.194.250:8080' main debug: looking for sout access module: 1 candidate main info: creating httpd main debug: net: listening to 10.3.194.250 port 8080 main debug: using sout access module "access_output_http" main debug: TIMER module_need() : 3.000 ms - Total 3.000 ms / 1 intvls (Avg 3.000 ms) stream_out_standard debug: access opened main debug: looking for sout mux module: 1 candidate qt4 debug: IM: Setting an input mux_ts debug: shaping=200000 pcr=70000 dts_delay=400000 main debug: using sout mux module "mux_ts" main debug: TIMER module_need() : 3.000 ms - Total 3.000 ms / 1 intvls (Avg 3.000 ms) main debug: muxer support adding stream at any time main debug: muxer prefers to wait for all ES before starting to mux stream_out_standard debug: mux opened main debug: using sout stream module "stream_out_standard" main debug: TIMER module_need() : 9.000 ms - Total 9.000 ms / 1 intvls (Avg 9.000 ms) main debug: using timeshift granularity of 50 MBytes main debug: using timeshift path 'd:\temp' main debug: `dvb-t://frequency=599143000' gives access `dvb-t' demux `' path `frequency=599143000' main debug: creating demux: access='dvb-t' demux='' path='frequency=599143000' main debug: looking for access_demux module: 0 candidates main debug: no access_demux module matched "dvb-t" main debug: TIMER module_need() : 0.000 ms - Total 0.000 ms / 1 intvls (Avg 0.000 ms) main debug: creating access 'dvb-t' path='frequency=599143000' main debug: looking for access module: 1 candidate qt4 debug: Updating the geometry qt4 debug: Updating the geometry bda debug: CreateTuneRequest: Using Tuning Space: DVB-T bda debug: Build: Using Tuning Space ID 7 bda debug: FindFilter: Connected DiBcom BDA Digital Tuner (Dev1 Path0) bda debug: BDAGraph: Using adapter 0 bda debug: FindFilter: Connected DiBcom BDA Digital Capture (Dev1 Path0) bda debug: Build: Trying connecting with subtype MEDIASUBTYPE_MPEG2_TRANSPORT bda warning: Build: Cannot connect Sample Grabber to Capture device: hr=0x80004005 (try 1/2) bda debug: Build: Trying connecting with subtype KSDATAFORMAT_SUBTYPE_BDA_MPEG2_TRANSPORT bda debug: FindFilter: Connected BDA MPEG2 Transport Information Filter bda warning: BDA SampleCB: Sample Discontinuity. bda debug: Graph started hr=0x0 main debug: using access module "bda" main debug: TIMER module_need() : 2350.000 ms - Total 2350.000 ms / 1 intvls (Avg 2350.000 ms) main debug: Using AStream*Block main debug: pre buffering main debug: received first data after 0 ms main debug: prebuffering done 39480 bytes in 0s - 38554687 kbytes/s main debug: looking for stream_filter module: 2 candidates main debug: TIMER module_need() : 1.000 ms - Total 1.000 ms / 1 intvls (Avg 1.000 ms) main debug: looking for stream_filter module: 1 candidate main debug: using stream_filter module "stream_filter_record" main debug: TIMER module_need() : 0.000 ms - Total 0.000 ms / 1 intvls (Avg 0.000 ms) main debug: creating demux: access='dvb-t' demux='ts' path='frequency=599143000' main debug: looking for demux module: 1 candidate ts warning: this does not look like a TS stream, continuing main debug: using demux module "ts" main debug: TIMER module_need() : 0.000 ms - Total 0.000 ms / 1 intvls (Avg 0.000 ms) main debug: looking for a subtitle file in D:\Temp\vlc-1.0.5\ ts debug: DEMUX_SET_GROUP 0 00000000 main debug: starting in async mode main debug: `dvb-t://frequency=599143000' successfully opened ts warning: lost synchro ts debug: skipping 1692 bytes of garbage ts debug: skipping 1692 bytes of garbage ts debug: skipping 1692 bytes of garbage ts debug: skipping 1692 bytes of garbage ts debug: skipping 1692 bytes of garbage ts debug: skipping 1692 bytes of garbage ts debug: skipping 1692 bytes of garbage ts debug: skipping 1692 bytes of garbage ts debug: skipping 1692 bytes of garbage ts debug: skipping 1692 bytes of garbage ts debug: skipping 1692 bytes of garbage ts debug: skipping 1692 bytes of garbage ts debug: skipping 1692 bytes of garbage ts debug: skipping 1692 bytes of garbage ts debug: skipping 1692 bytes of garbage ts debug: skipping 1692 bytes of garbage ts debug: skipping 1692 bytes of garbage ts debug: skipping 1692 bytes of garbage ts debug: skipping 1692 bytes of garbage ts debug: skipping 1692 bytes of garbage ts debug: skipping 1692 bytes of garbage ts debug: skipping 1692 bytes of garbage ts debug: skipping 1692 bytes of garbage ts debug: skipping 376 bytes of garbage ts debug: pid[4097] unknown ts debug: pid[900] unknown ts debug: pid[4099] unknown ts debug: pid[4098] unknown ts debug: PATCallBack called ts debug: new PAT ts_id=1514 version=2 current_next=1 ts debug: * number=0 pid=16 ts debug: * number=48448 pid=4096 ts debug: * number=48472 pid=8136 ts debug: PMTCallBack called ts debug: new PMT program number=48448 version=1 pid_pcr=4098 ts debug: * descriptor : unknown (0xa3) ts debug: * descriptor : unknown (0x55) ts debug: * es pid=4097 type=27 dr->i_tag=0x52 ts debug: * es pid=4097 type=27 dr->i_tag=0x6 ts debug: * es pid=4097 type=27 fcc=h264 main debug: selecting program id=48448 main debug: looking for packetizer module: 21 candidates main debug: using packetizer module "packetizer_h264" main debug: TIMER module_need() : 0.000 ms - Total 0.000 ms / 1 intvls (Avg 0.000 ms) main debug: thread (decoder) created at priority 0 (../.././src/input/decoder.c:315) main debug: thread started ts debug: * es pid=4099 type=17 dr->i_tag=0x52 ts debug: * es pid=4099 type=17 dr->i_tag=0x6 ts debug: * es pid=4099 type=17 dr->i_tag=0x7c ts debug: * es pid=4099 type=17 dr->i_tag=0xa ts error: MPEG-4 descriptor not found ts debug: found language: eng ts debug: * es pid=4099 type=17 fcc=mp4a main debug: looking for packetizer module: 21 candidates packetizer_mpeg4audio debug: running MPEG4 audio packetizer packetizer_mpeg4audio debug: no decoder specific info, must be an ADTS or LOAS stream main debug: using packetizer module "packetizer_mpeg4audio" main debug: TIMER module_need() : 1.000 ms - Total 1.000 ms / 1 intvls (Avg 1.000 ms) main debug: thread (decoder) created at priority 2 (../.././src/input/decoder.c:315) main debug: thread started ts debug: * es pid=1536 type=12 dr->i_tag=0x52 ts debug: * es pid=1536 type=12 *unknown* ts debug: * es pid=900 type=11 dr->i_tag=0x14 ts debug: * es pid=900 type=11 dr->i_tag=0x52 ts debug: * es pid=900 type=11 dr->i_tag=0x13 ts debug: * es pid=900 type=11 dr->i_tag=0xfd ts debug: * es pid=900 type=11 *unknown* ts debug: * es pid=500 type=5 dr->i_tag=0xfd ts debug: * es pid=500 type=5 *unknown* ts warning: first packet for pid=4097 cc=0x6 ts warning: first packet for pid=4099 cc=0xb ts warning: first packet for pid=900 cc=0xe qt4 debug: Updating the geometry qt4 debug: Updating the geometry qt4 debug: Updating the geometry qt4 debug: Updating the geometry qt4 debug: Updating the geometry qt4 debug: Updating the geometry qt4 debug: Updating the geometry qt4 debug: Updating the geometry qt4 debug: Updating the geometry qt4 debug: Updating the geometry main debug: switching to sync mode main debug: Buffering 0% packetizer_mpeg4audio debug: detected LOAS format packetizer_h264 warning: waiting for SPS/PPS main debug: Buffering 11% main debug: Buffering 23% packetizer_h264 warning: waiting for SPS/PPS ts debug: pid[4114] unknown packetizer_mpeg4audio warning: waiting for header ts debug: pid[4113] unknown ts debug: pid[20] unknown packetizer_h264 warning: waiting for SPS/PPS ts debug: pid[4115] unknown packetizer_h264 warning: waiting for SPS/PPS packetizer_h264 warning: waiting for SPS/PPS main debug: Buffering 36% packetizer_mpeg4audio warning: waiting for header packetizer_h264 warning: waiting for SPS/PPS packetizer_h264 warning: waiting for SPS/PPS packetizer_h264 warning: waiting for SPS/PPS main debug: Buffering 48% packetizer_mpeg4audio warning: waiting for header packetizer_h264 warning: waiting for SPS/PPS main debug: Buffering 60% packetizer_h264 warning: waiting for SPS/PPS packetizer_mpeg4audio warning: waiting for header packetizer_h264 warning: waiting for SPS/PPS main debug: Buffering 72% packetizer_h264 warning: waiting for SPS/PPS packetizer_h264 warning: waiting for SPS/PPS packetizer_h264 warning: waiting for SPS/PPS packetizer_h264 warning: waiting for SPS/PPS packetizer_mpeg4audio info: AAC channels: 2 samplerate: 24000 main debug: adding a new sout input (sout_input:0f4f6068) main debug: adding a new input mux_ts debug: adding input codec=mp4a pid=68 mux_ts debug: - lang=eng mux_ts debug: new PCR PID is 68 ts debug: pid[39] unknown main debug: Buffering 84% packetizer_h264 warning: waiting for SPS/PPS packetizer_h264 warning: waiting for SPS/PPS main debug: Buffering 96% packetizer_h264 warning: waiting for SPS/PPS main debug: Stream buffering done (324 ms in 328 ms) main debug: Decoder buffering done in 0 ms packetizer_h264 warning: waiting for SPS/PPS packetizer_h264 warning: waiting for SPS/PPS packetizer_h264 warning: waiting for SPS/PPS packetizer_h264 warning: waiting for SPS/PPS packetizer_h264 warning: waiting for SPS/PPS packetizer_h264 warning: waiting for SPS/PPS ts debug: PMTCallBack called ts debug: new PMT program number=48472 version=1 pid_pcr=4114 ts debug: * descriptor : unknown (0xa3) ts debug: * descriptor : unknown (0x55) ts debug: * es pid=4113 type=27 dr->i_tag=0x52 ts debug: * es pid=4113 type=27 dr->i_tag=0x6 ts debug: * es pid=4113 type=27 fcc=h264 ts debug: * es pid=4115 type=17 dr->i_tag=0x52 ts debug: * es pid=4115 type=17 dr->i_tag=0x6 ts debug: * es pid=4115 type=17 dr->i_tag=0x7c ts debug: * es pid=4115 type=17 dr->i_tag=0xa ts error: MPEG-4 descriptor not found ts debug: found language: por ts debug: * es pid=4115 type=17 fcc=mp4a ts warning: first packet for pid=4113 cc=0xb ts warning: first packet for pid=4115 cc=0x9 packetizer_h264 warning: waiting for SPS/PPS packetizer_h264 debug: found NAL_SPS (sps_id=0) packetizer_h264 debug: found NAL_PPS (pps_id=0 sps_id=0) main debug: adding a new sout input (sout_input:0c8983e0) main debug: adding a new input mux_ts debug: adding input codec=h264 pid=69 mux_ts debug: new PCR PID is 69 ts warning: first packet for pid=500 cc=0xf ts debug: pid[16] unknown ts debug: pid[36] unknown mux_ts debug: adjusting rate at -547034/433766 (6/624) ts debug: PSINewTableCallBack: table 0x42(66) ext=0x5ea(1514) ts debug: SDTCallBack called ts debug: new SDT ts_id=1514 version=2 current_next=1 network_id=1514 ts debug: * service id=48448 eit schedule=1 present=1 running=4 free_ca=0 ts debug: - type=1 provider=BAND HD name=BAND HD main debug: EsOutProgramMeta: number=48448 ts debug: * service id=48472 eit schedule=0 present=1 running=4 free_ca=0 ts debug: - type=192 provider=BAND RIO 1SEG name=BAND 1SEG main debug: EsOutProgramMeta: number=48472 ts debug: PSINewTableCallBack: table 0x5d(93) ext=0xbd40(48448) ts debug: PSINewTableCallBack: table 0x4e(78) ext=0xbd40(48448) ts debug: EITCallBack called ts debug: new EIT service_id=48448 version=9 current_next=1 ts_id=1514 network_id=1514 segment_last_section_number=0 last_table_id=0 ts debug: * event id=16 start_time:1273858200 duration=4800 running=4 free_ca=0 ts debug: - short event lang=por 'Brasil Urgente (HD)' : '(null)' ts debug: - tag=0x55(85) ts debug: - tag=0xc4(196) ts debug: - tag=0x50(80) ts debug: - tag=0x54(84) ts debug: * event id=17 start_time:1273863000 duration=1800 running=1 free_ca=0 ts debug: - short event lang=por 'Jornal do Rio' : '(null)' ts debug: - tag=0x55(85) ts debug: - tag=0xc4(196) ts debug: - tag=0x50(80) ts debug: - tag=0x54(84) main debug: EsOutProgramEpg: number=48448 name=BAND HD ts debug: PSINewTableCallBack: table 0x5e(94) ext=0xbd40(48448) ts debug: PSINewTableCallBack: table 0x5f(95) ext=0xbd40(48448)
I have tried different versions (1.1.0 and 1.2.0) and also tweaking the internal options. Creating any type of stream causes this issue, even to a file.

VLC_help
Mega Cone Master
Mega Cone Master
Posts: 25661
Joined: 13 Sep 2006 14:16

Re: VLC complains about non-dated packages and doesn't strea

Postby VLC_help » 15 May 2010 15:54

You have some sort TS sample we could use to replicate this?

zedogas
Blank Cone
Blank Cone
Posts: 14
Joined: 04 Jul 2008 17:26

Re: VLC complains about non-dated packages and doesn't strea

Postby zedogas » 16 May 2010 03:12

I can produce one imperfect .ts from the channel that VLC cannot stream. Note, I watch this channel perfectly (in play mode). However a channel that can also stream I can do a perfectly TS. Look below:

Here is a .ts made with VLC of a channel that I perfectly stream (599143Khz):
http://rapidshare.com/files/387807534/b ... k_.ts.html

Here is a .ts made with VLC of a channel that I am not perfectly stream (563143Khz) - video freeze:
http://rapidshare.com/files/387810463/g ... hz.ts.html

Here is a .ts made with Dvbviewer (example only) of a channel that I am not perfectly stream (same 563143Khz) - video doesn't freeze and everything ok:
http://rapidshare.com/files/387812626/g ... hz.ts.html

I honestly do not understand why this is in VLC. I am very grateful for your help.

zedogas
Blank Cone
Blank Cone
Posts: 14
Joined: 04 Jul 2008 17:26

Re: VLC complains about non-dated packages and doesn't strea

Postby zedogas » 16 May 2010 04:13

I think I'm beginning to understand, do not know if that helps. I managed to capture a VLCtimeshifting the HD channel that I can not do streaming (563143Khz - "GLOBO HD"). When I play with media player classic this "VLCtimeshifting" the result is varying fullseg/oneseg/fullseg/oneseg ... Would warming?
Image
Take a look below too, please...
http://rapidshare.com/files/387825535/v ... py.ts.html

Thanks.

VLC_help
Mega Cone Master
Mega Cone Master
Posts: 25661
Joined: 13 Sep 2006 14:16

Re: VLC complains about non-dated packages and doesn't strea

Postby VLC_help » 16 May 2010 18:20

Problem with http://rapidshare.com/files/387825535/v ... py.ts.html is that VLC detects it as MP3 file. And I can't get it to freeze or crash with those TS files.

zedogas
Blank Cone
Blank Cone
Posts: 14
Joined: 04 Jul 2008 17:26

Re: VLC complains about non-dated packages and doesn't strea

Postby zedogas » 16 May 2010 22:39

Ok, but my biggest problem is related to the previous post. Please, for now forget the time shifting vlc ... I just would like to make a stream (or making a .ts) channel that I am not able to vlc (563143). Thanks.

zedogas
Blank Cone
Blank Cone
Posts: 14
Joined: 04 Jul 2008 17:26

Re: VLC complains about non-dated packages and doesn't strea

Postby zedogas » 17 May 2010 20:48

I tried to stream the lastest sample I posted, the one generated with DVBViewer, and I was able to reproduce the exact same issue: the stream freezes and I get those messages ("non-dated package"). So I guess the best way for you to reproduce the issue I am having is simple try to stream the file: you'll get those messages on the log and the stream won't work correctly. I tried with a DVBViewer generated TS from another channel and it works fine (like the real time broadcast).
Here's the link again:
http://rapidshare.com/files/387812626/g ... hz.ts.html

VLC_help
Mega Cone Master
Mega Cone Master
Posts: 25661
Joined: 13 Sep 2006 14:16

Re: VLC complains about non-dated packages and doesn't strea

Postby VLC_help » 18 May 2010 18:10

No crash in here. What options you used?

zedogas
Blank Cone
Blank Cone
Posts: 14
Joined: 04 Jul 2008 17:26

Re: VLC complains about non-dated packages and doesn't strea

Postby zedogas » 18 May 2010 21:09

In VLC:

Code: Select all

vlc.exe dvb-t://frequency=563143000 :file-caching=5000 :sout=#transcode{vcodec=h264,vb=1000,vfilter={canvas{no-padd,height=384,width=640}},acodec=mp4a,ab=128,channels=2,samplerate=44100}:std{access=http,mux=ts,dst=10.3.194.250:8080 } :sout-all
:(
But you tried to stream the file above? Which code DO YOU used to stream perfectly the file http://rapidshare.com/files/387812626/g ... hz.ts.html ? I just downloaded and uncompressed VLC1.0.5.7z and make the command above, video freezes.

VLC_help
Mega Cone Master
Mega Cone Master
Posts: 25661
Joined: 13 Sep 2006 14:16

Re: VLC complains about non-dated packages and doesn't strea

Postby VLC_help » 19 May 2010 17:03

I used :sout=#std{access=http,mux=ts,dst=:8080}

zedogas
Blank Cone
Blank Cone
Posts: 14
Joined: 04 Jul 2008 17:26

Re: VLC complains about non-dated packages and doesn't strea

Postby zedogas » 19 May 2010 22:36

Exactly, no crashes playing here too, but it doesn't stream video correctly, only audio. If you try to open the stream in another machine, it won't work. Also if you check the logfile you'll see lots of that message, which doesn't happen with the stream from another air station. Actually, with real time stream, sometimes it works for a few milisecond only to freeze. Player sometimes crashes too after a while (video always stop anyway)

VLC_help
Mega Cone Master
Mega Cone Master
Posts: 25661
Joined: 13 Sep 2006 14:16

Re: VLC complains about non-dated packages and doesn't strea

Postby VLC_help » 20 May 2010 17:29

I try that later. Ping this thread up on Monday, if I haven't answered anything.

zedogas
Blank Cone
Blank Cone
Posts: 14
Joined: 04 Jul 2008 17:26

Re: VLC complains about non-dated packages and doesn't strea

Postby zedogas » 24 May 2010 19:13

A friend changed the source code and recompiled VLC for win32 commenting the line concerning the above mentioned error (~ ;buffer DTS <=0) . Now works more or less... The air station above, 563143000, doesn't freeze, the same to streaming video, but we lost a few frames after a few minutes (pixelizing). You with more knowledge of VLC could change in a more complete.

So I follow, waiting the final solution...

VLC_help
Mega Cone Master
Mega Cone Master
Posts: 25661
Joined: 13 Sep 2006 14:16

Re: VLC complains about non-dated packages and doesn't strea

Postby VLC_help » 25 May 2010 17:16

I don't think removing that code is right way. That channel is doing something to the broadcast and VLC should handle input like that more carefully.

vmesquita
New Cone
New Cone
Posts: 2
Joined: 25 May 2010 22:11

Re: VLC complains about non-dated packages and doesn't strea

Postby vmesquita » 25 May 2010 22:22

Hi,

I am zedogas friend which hacked the code to make it (sort of) work. I also agree with you, the best way really would be to change the code to make it handle this input correctly. This hack I did was more like a guess which somehow improved situation and may give some clues on the real solution. Here's what I did: I commented this lines in the file stream_output.c:

Code: Select all

if( p_buffer->i_dts <= 0 ) { msg_Warn( p_sout, "trying to send non-dated packet to stream output!"); block_Release( p_buffer ); return VLC_SUCCESS; }
After doing this, those messages no longer show on the log (obviously) but instead we get many dropped frames. Still the stream is somehow watchable and VLC no longer crash.

zedogas
Blank Cone
Blank Cone
Posts: 14
Joined: 04 Jul 2008 17:26

Re: VLC complains about non-dated packages and doesn't strea

Postby zedogas » 28 May 2010 06:11

Frame Struct (.ts)
MBAFF with fields (TFF). VLC doesn't work with this type .TS (AVC- video) structure.

VLC_help
Mega Cone Master
Mega Cone Master
Posts: 25661
Joined: 13 Sep 2006 14:16

Re: VLC complains about non-dated packages and doesn't strea

Postby VLC_help » 28 May 2010 19:03

Have you tried remuxing with tool called tsremux?

zedogas
Blank Cone
Blank Cone
Posts: 14
Joined: 04 Jul 2008 17:26

Re: VLC complains about non-dated packages and doesn't strea

Postby zedogas » 31 May 2010 05:57

Well, after the modification made by vmesquita I can capture a .ts file from the problematic air station DBV-T 563143000 (Globo HD), right?

Possession of this .ts file, I need to use DGAINDEX then I have a .h264 and a .aac (LOAS). Second, I need to use VLC to convert the audio AAC to MP3 or AC3 or AAC (but with no LOAS encapsule), them ONLY after I'm able to use the TSREMUX (TSREMUX only works by following this "recipe for a cake"). Finalizing, I remux the .TS (w/ TSREMUX), then VLC 1.0.5 stream correctly.

So... I go back the first question. How to stream directly from VLC (why video freezes in original v1.0.5)? This modification in original version VLC was only a "quick GLUE".

VLC_help
Mega Cone Master
Mega Cone Master
Posts: 25661
Joined: 13 Sep 2006 14:16

Re: VLC complains about non-dated packages and doesn't strea

Postby VLC_help » 31 May 2010 17:05

Have you tried VLC nightly builds?

vmesquita
New Cone
New Cone
Posts: 2
Joined: 25 May 2010 22:11

Re: VLC complains about non-dated packages and doesn't strea

Postby vmesquita » 01 Jun 2010 02:14

I just tested with vlc-1.1.0-rc-20100531-0203-win32 (latest nightly build) and it shows the same issue. Unfortunatelly TSRemux won't help here, because we are trying to stream over the network a real time ISDB-T stream captured from a BDA device. So while TS-Remux may fix the stream problem, we can't remux a real time stream...

ejmarino
New Cone
New Cone
Posts: 2
Joined: 18 Jun 2010 16:57

Re: VLC complains about non-dated packages and doesn't strea

Postby ejmarino » 18 Jun 2010 17:19

hI, i have exactly the same problem. I can't broadcast or save any stream coming directly from a BDA (MyGica S870 USB) dongle only view it.
I've tried successfully to broadcast a MP4 (h264 inside) file in 1080p (that i downloaded from internet) using VLC

I used TotalMedia software (this is the app. that came with the dongle) to record video to disk and then open the file with vlc. but it vlc cant reproduce it. it shows the first frame and dont show no more. The same file is opened successfully with windows media player (using H263 divx codecs according to Gspot)

My alternative idea was record the file with total media and make vlc open the file like a pipe and broadcast it with vlc, but it can't even play the recorded file.

Gspot says (and its true) that the DivX H263 codec should play mp4 file i downloaded from internet and the one i created capturing from the BDA with TotalMedia.

So, I can't understand why it works getting the stream directy from the BDA and it doesn't work reading from a file.

I hope with this information help to solve the problem.

VLC_help
Mega Cone Master
Mega Cone Master
Posts: 25661
Joined: 13 Sep 2006 14:16

Re: VLC complains about non-dated packages and doesn't strea

Postby VLC_help » 18 Jun 2010 18:37

(using H263 divx codecs according to Gspot)
You mean H.264?
So, I can't understand why it works getting the stream directy from the BDA and it doesn't work reading from a file.
Tools -> Messages... (set Verbosity to 2) before playback, it will complain.

ejmarino
New Cone
New Cone
Posts: 2
Joined: 18 Jun 2010 16:57

Re: VLC complains about non-dated packages and doesn't strea

Postby ejmarino » 22 Jun 2010 17:37

Yes i meaned h.264...

I've tried running the usb dongle (MyGica S870) on linux. VLC has the same problem... i tried to record the data stream using tzap and doing cat to the DBE device sending content to a file. I use two different sources to make this files. One from an HD channel an other from an SD channel. I've succeded playing this files only with ffplay (as i understand it uses the same x264 library than vlc). SD channel work flawlessly but HD channel start fine but in some point of the stream it stop.

I don't know if it's important but the signal I receive is ISDB-T and I don't know if it's exactly the same that DVB-T or if one is contained on the other or what...

I uploaded the captured stream (doing cat to the device) in rapidshare. Here is the link: http://rapidshare.com/files/401687395/t ... o.mpg.html (you have 10 downloads in 60 days from now)

Hope it helps...

VLC_help
Mega Cone Master
Mega Cone Master
Posts: 25661
Joined: 13 Sep 2006 14:16

Re: VLC complains about non-dated packages and doesn't strea

Postby VLC_help » 23 Jun 2010 19:21

x264 is encoder, it isn't used in video playback.

About the file, VLC complains
ts debug: pid[305] unknown
ts debug: pid[306] unknown
qt4 debug: IM: Setting an input
ts debug: eof ?
main debug: EOF reached
main debug: finished input
ts debug: pid list:
ts debug: - pid[305] seen
ts debug: - pid[306] seen
ts debug: - pid[8191] seen
so either the file is spec correct or it causes issues for VLC. Remuxing should make it work.

yuer1108
Cone that earned his stripes
Cone that earned his stripes
Posts: 103
Joined: 07 Jan 2009 05:12

Re: VLC complains about non-dated packages and doesn't strea

Postby yuer1108 » 18 Dec 2013 09:15

I face same problem.
The stream can be played very good with vlc, but it is failed to sout (with or without transcode are same)
I'm useing vlc2.0.3 in debian.


[0xb540e360] main mux debug: adding a new input
[0xb540e360] mux_ts mux debug: adding input codec=mpga pid=68
[0xb540e360] mux_ts mux debug: new PCR PID is 68
[0x892b990] main input debug: Buffering 3%
[0x87d3988] packetizer_h264 decoder warning: waiting for SPS/PPS
[0x892b990] main input debug: Buffering 7%
[0x87d3988] packetizer_h264 decoder warning: waiting for SPS/PPS
[0x87d3988] packetizer_h264 decoder warning: waiting for SPS/PPS
[0x892b990] main input debug: Buffering 11%
[0x87d3988] packetizer_h264 decoder warning: waiting for SPS/PPS
[0x87d3988] packetizer_h264 decoder warning: waiting for SPS/PPS
[0x892b990] main input debug: Buffering 14%
[0x87d3988] packetizer_h264 decoder warning: waiting for SPS/PPS
[0x87d3988] packetizer_h264 decoder warning: waiting for SPS/PPS
[0x87d3988] packetizer_h264 decoder warning: waiting for SPS/PPS
[0x87d3988] packetizer_h264 decoder warning: waiting for SPS/PPS
[0x892b990] main input debug: Buffering 18%
[0x892b990] main input debug: Buffering 22%
[0x87d3988] packetizer_h264 decoder warning: waiting for SPS/PPS
[0x87d3988] packetizer_h264 decoder warning: waiting for SPS/PPS
[0x892b990] main input debug: Buffering 25%
[0x87d3988] packetizer_h264 decoder warning: waiting for SPS/PPS
[0x87d3988] packetizer_h264 decoder warning: waiting for SPS/PPS
[0x87d3988] packetizer_h264 decoder warning: waiting for SPS/PPS
[0x87d3988] packetizer_h264 decoder warning: waiting for SPS/PPS
[0x892b990] main input debug: Buffering 29%
[0x892b990] main input debug: Buffering 33%
[0x892b990] main input debug: Buffering 36%
[0x87d28d8] ts demux debug: pid[99] unknown
[0x892b990] main input debug: Buffering 40%
[0x87d3988] packetizer_h264 decoder warning: waiting for SPS/PPS
[0x87d3988] packetizer_h264 decoder debug: found NAL_SPS (sps_id=0)
[0x87d3988] packetizer_h264 decoder debug: found NAL_PPS (pps_id=0 sps_id=0)
[0x87d3988] packetizer_h264 decoder debug: Seen SEI recovery point, 0 recovery frames
[0x87d3988] packetizer_h264 decoder debug: Recovery from SEI recovery point complete
[0xb540bc78] main stream output debug: adding a new sout input (sout_input:0x87ffc90)
[0xb540fa00] stream_out_transcode stream out debug: creating video transcoding from fcc=`h264' to fcc=`h264'
[0x88188f0] main generic debug: looking for decoder module: 30 candidates
[0x88188f0] avcodec generic debug: libavcodec initialized (interface 0x352300)
[0x88188f0] avcodec generic debug: trying to use direct rendering
[0x88188f0] avcodec generic debug: allowing 3 thread(s) for decoding
[0x88188f0] avcodec generic debug: ffmpeg codec (H264 - MPEG-4 AVC (part 10)) started
[0x88188f0] avcodec generic debug: using frame thread mode with 3 threads
[0x88188f0] main generic debug: using decoder module "avcodec"
[0x88188f0] main generic debug: TIMER module_need() : 12.172 ms - Total 12.172 ms / 1 intvls (Avg 12.172 ms)
[0x8818c48] main encoder debug: looking for encoder module: 13 candidates
[0x8818c48] x264 encoder debug: version x264 0.123.X
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle Cache64
x264 [info]: profile High, level 1.3
[0x8818c48] main encoder debug: using encoder module "x264"
[0x8818c48] main encoder debug: TIMER module_need() : 6.170 ms - Total 6.170 ms / 1 intvls (Avg 6.170 ms)
[0x8818c48] main encoder debug: removing module "x264"
[0x8818c48] x264 encoder debug: framecount still in libx264 buffer: 0
x264 [info]: final ratefactor: 31.54
[0x892b990] main input debug: Buffering 44%
[0x892b990] main input debug: Buffering 48%
[0x892b990] main input debug: Buffering 51%
[0x892b990] main input debug: Buffering 55%
[0x892b990] main input debug: Buffering 59%
[0x892b990] main input debug: Buffering 62%
[0x892b990] main input debug: Buffering 66%
[0x892b990] main input debug: Buffering 70%
[0x892b990] main input debug: Buffering 73%
[0x892b990] main input debug: Buffering 77%
[0x892b990] main input debug: Buffering 81%
[0x892b990] main input debug: Buffering 85%
[0x892b990] main input debug: Buffering 88%
[0x892b990] main input debug: Buffering 92%
[0x892b990] main input debug: Buffering 96%
[0x892b990] main input debug: Buffering 99%
[0x892b990] main input debug: Stream buffering done (1035 ms in 1035 ms)
[0x892b990] main input debug: Decoder buffering done in 0 ms
[0x88188f0] avcodec generic debug: using direct rendering
[0x87f9250] mpeg_audio generic debug: MPGA channels:2 samplerate:48000 bitrate:64
[0xb540bc78] main stream output warning: trying to send non-dated packet to stream output!
[0xb540fa00] stream_out_transcode stream out debug: decoder aspect is 1.363636:1
[0xb540fa00] stream_out_transcode stream out debug: source pixel aspect is 1.090909:1
[0xb540fa00] stream_out_transcode stream out debug: scaled pixel aspect is 1.022727:1
[0xb540fa00] stream_out_transcode stream out debug: source 720x576, destination 320x240
[0xb540fa00] stream_out_transcode stream out debug: encoder aspect is 14400:10560
[0xb5441758] main filter debug: looking for video filter2 module: 18 candidates
[0xb5441758] swscale filter debug: 720x576 chroma: I420 -> 320x240 chroma: I420 with scaling using Bicubic (good quality)
[0xb5441758] main filter debug: using video filter2 module "swscale"
[0xb5441758] main filter debug: TIMER module_need() : 2.112 ms - Total 2.112 ms / 1 intvls (Avg 2.112 ms)
[0xb540fa00] main stream out debug: Filter 'Swscale' (0xb5441758) appended to chain
[0xb540fa00] stream_out_transcode stream out debug: destination (after video filters) 320x240
[0x8818c48] main encoder debug: looking for encoder module: 13 candidates
[0x8818c48] x264 encoder debug: version x264 0.123.X
x264 [info]: using SAR=45/44
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle Cache64
x264 [info]: profile High, level 2.1
[0x8818c48] main encoder debug: using encoder module "x264"
[0x8818c48] main encoder debug: TIMER module_need() : 5.674 ms - Total 5.674 ms / 1 intvls (Avg 5.674 ms)
[0xb540e360] main mux debug: adding a new input
[0xb540e360] mux_ts mux debug: adding input codec=h264 pid=69
[0xb540e360] mux_ts mux debug: new PCR PID is 69
[0xb540bc78] main stream output warning: trying to send non-dated packet to stream output!
...
[0xb540bc78] main stream output warning: trying to send non-dated packet to stream output!
[0xb540bc78] main stream output warning: trying to send non-dated packet to stream output!
[0xb540bc78] main stream output warning: trying to send non-dated packet to stream output!
^C[0x87ae8f0] main libvlc debug: deactivating the playlist
[0x87bde00] main playlist debug: deactivating the playlist
[0x87bde00] main playlist debug: incoming request - stopping current input
[0xb54023e0] main access debug: waitpipe: object killed
[0xb54023e0] main access debug: socket 5 polling interrupted
[0x87d28d8] ts demux debug: eof ?
[0x892b990] main input debug: EOF reached
[0x892b990] main input debug: control: stopping input
[0x87bde00] main playlist debug: dying input
[0x87bde00] main playlist debug: dying input
[0x87d3988] main decoder debug: removing module "packetizer_h264"
[0x87d3988] main decoder debug: killing decoder fourcc `h264', 0 PES in FIFO
[0xb540bc78] main stream output debug: removing a sout input (sout_input:0x87ffc90)
[0x8818c48] main encoder debug: TIMER encoding video frame : 0.229 ms - Total 0.655 ms / 2 intvls (Avg 0.328 ms)
[0x88188f0] main generic debug: removing module "avcodec"
[0x88188f0] avcodec generic debug: ffmpeg codec (H264 - MPEG-4 AVC (part 10)) stopped
[0x8818c48] main encoder debug: removing module "x264"
[0x8818c48] x264 encoder debug: framecount still in libx264 buffer: 1
x264 [info]: final ratefactor: 37.54
[0xb540fa00] main stream out debug: Filter 0xb5441758 removed from chain
[0xb5441758] main filter debug: removing module "swscale"
[0xb540e360] mux_ts mux debug: removing input pid=69
[0xb540e360] mux_ts mux debug: new PCR PID is 68
[0x87edb60] main decoder debug: removing module "mpeg_audio"
[0x87edb60] main decoder debug: killing decoder fourcc `mpga', 0 PES in FIFO
[0xb540bc78] main stream output debug: removing a sout input (sout_input:0x87f5490)
[0x87f95a8] main encoder debug: TIMER encoding audio frame : 0.236 ms - Total 17.319 ms / 77 intvls (Avg 0.225 ms)
[0x87f9250] main generic debug: removing module "mpeg_audio"
[0x87f95a8] main encoder debug: removing module "twolame"
[0xb540fa00] main stream out debug: Filter 0x8804198 removed from chain
[0x8804198] main filter debug: removing module "mpgatofixed32"
[0xb540fa00] main stream out debug: Filter 0x87ff078 removed from chain
[0x87ff078] main filter debug: removing module "simple_channel_mixer"
[0xb540fa00] main stream out debug: Filter 0x88107d0 removed from chain
[0x88107d0] main filter debug: removing module "audio_format"
[0xb540e360] mux_ts mux debug: removing input pid=68
[0xb540e360] mux_ts mux debug: new PCR PID is 8191
[0xb540e360] main mux warning: no more input streams for this mux
[0x87d28d8] main demux debug: removing module "ts"
[0x87d28d8] ts demux debug: pid list:
[0x87d28d8] ts demux debug: - pid[0] seen
[0x87d28d8] ts demux debug: - pid[68] seen
[0x892b990] main input debug: Program doesn't contain anymore ES
[0x87d28d8] ts demux debug: - pid[69] seen
[0x87d28d8] ts demux debug: - pid[70] seen
[0x87d28d8] ts demux debug: - pid[98] seen
[0x87d28d8] ts demux debug: - pid[99] seen
[0x87d28d8] ts demux debug: - pid[8191] seen
[0x885c0d0] main stream debug: removing module "stream_filter_record"
[0xb54023e0] main access debug: removing module "access_udp"
[0x87bde00] main playlist debug: dead input
[0xb540bc78] main stream output debug: destroying useless sout
[0xb540fa00] main stream out debug: destroying chain... (name=transcode)
[0xb540fa00] main stream out debug: removing module "stream_out_transcode"
[0xb540fa00] main stream out debug: destroying chain done
[0xb540c080] main stream out debug: destroying chain... (name=http)
[0xb540c080] main stream out debug: removing module "stream_out_standard"
[0xb540e360] main mux debug: removing module "mux_ts"
[0xb540da10] main access out debug: removing module "access_output_http"
[0xb540efd0] main http host debug: waitpipe: object killed
[0xb540efd0] main http host debug: HTTP host removed
[0xb540da10] access_output_http access out debug: Close
[0xb540c080] main stream out debug: destroying chain done
[0x892b990] main input debug: TIMER input launching for 'udp://233.18.206.9:5140' : 82.348 ms - Total 82.348 ms / 1 intvls (Avg 82.348 ms)
[0x87eca60] main playlist export debug: saving Media Library to file /home/u2m/.local/share/vlc/ml.xspf
[0x87eca60] main playlist export debug: looking for playlist export module: 1 candidate
[0x87eca60] main playlist export debug: using playlist export module "export"
[0x87eca60] main playlist export debug: TIMER module_need() : 0.330 ms - Total 0.330 ms / 1 intvls (Avg 0.330 ms)
[0x87eca60] main playlist export debug: removing module "export"
[0x87bde00] main playlist debug: playlist correctly deactivated
[0x87ae8f0] main libvlc debug: removing all services discovery tasks
[0x87ae8f0] main libvlc debug: removing all interfaces
[0x87ae8f0] main libvlc debug: exiting
[0xb5401c28] [cli] main interface debug: removing module "lua"
[0x87cfd80] main interface debug: removing module "hotkeys"
[0x87bde00] main playlist debug: destroying
[0x87ae8f0] main libvlc debug: TIMER ML Load : Total 5.643 ms / 1 intvls (Avg 5.643 ms)
[0x87ae8f0] main libvlc debug: TIMER Items array build : Total 0.154 ms / 2 intvls (Avg 0.077 ms)
[0x87ae8f0] main libvlc debug: TIMER ML Dump : Total 0.558 ms / 1 intvls (Avg 0.558 ms)
[0x87ae8f0] main libvlc debug: removing stats
[0x87ae8f0] main libvlc debug: removing module "memcpymmxext"
u2m@hz1tmt:~$


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: Google [Bot] and 59 guests