Page 1 of 1

libvlc crash report on some UDP streams

Posted: 15 Jan 2015 08:39
by spider58
Hello.

My libvlc version is 2.0.2 (I can't use other versions because they has many problem with my streams. This is most stable version for me)

I'm asking too many questions but i want to made a stable iptv program, sorry for inconvenience.

my local area network has some UDP streams. my application crashing on some UDP streams when try to play them, and i can't handle those crashes. I tried many many methods to handle them but i got nothing.

I found some metadatas as empty on those corrupt streams.


Example:1
This is UDP sample Which has empty program datas and crashes.

Input #0, mpegts, from 'udp://@.........':
Duration: N/A, start: 33337.639644, bitrate: 192 kb/s
Program 6
Medadata:
service_name : Enter Film
service_provider : SatTelecom
stream #0:0[0x10a]<Ukr>: Subtitle: dvb_teletext <[86][0][0][0][0].................
stream #0:1[0x601] video: mpeg2video ...................
stream #0:2[0x602] <ukr> audio: mp2 ...................
Program1
Program2
Program3
Program4
Program5
Program7
Program8
Program9
Program10
Program11
Program12
Program13

Example:2
This is UDP sample Which has NO empty program datas and working good.

Input #0, mpegts, from 'udp://@.........':
Duration: N/A, start: 33337.639644, bitrate: 192 kb/s
Program 1439
Medadata:
service_name : My good Film
service_provider : ***Telecom
stream #0:0[0x473] video: mpeg2video ...................
stream #0:1[0x4d7] <tur> audio: mp2 ...................
This is my UDP stream samples. So i want to play my first example, i think i can play this UDP stream when i say "ignore emtpy datas" to libvlc.

How can i ignore empty program datas. Because crashing libvlc.

Thanks inadvance.