Libdvbpsi Error

This forum is about all development around libVLC.
androido
Blank Cone
Blank Cone
Posts: 28
Joined: 20 Jul 2011 11:47

Libdvbpsi Error

Postby androido » 15 Aug 2011 17:52

Hello Everybody, its me again.
I have a new Problem. I did it to make the libvlc working on Android and i can stream videos from my Android-Board to the PC.
But now I have a Problem if I try to play a *.ts file. I tried it with my application, the server settings are

Code: Select all

const char* sout = "#stream_out_standard{access=http,mux=ts,dst=192.168.0.2:8080}"; libvlc_vlm_add_broadcast(instance, "Play", "/data/vid.ts", sout, 0, NULL, 1, 0); libvlc_vlm_play_media(instance, "Play");
The App is working and end without an error but on the client side (pc side) when i started the command line with "vlc http://192.168.0.2:8080" only a black window appers without any content.
So I thought maby its an error of my app-setting or a made a porting error forgot something. So I tried to stream only on the pc with the normal vlc command line tool

Code: Select all

server: vlc vid.ts --sout '#standard{access=http, mux=ts,dst=localhost:8080}' client: vlc http://localhost:8080
But its the same. Only a black window appers and the repeating message

Code: Select all

number of reference frames exceeds max (probably corrupt input), discarding one number of reference frames exceeds max (probably corrupt input), discarding one number of reference frames exceeds max (probably corrupt input), discarding one
And the errors

Code: Select all

libdvbpsi error (PSI decoder): TS discontinuity (received 13, expected 0) for PID 0 libdvbpsi error (PSI decoder): TS discontinuity (received 13, expected 0) for PID 66
The video is not corrupt, im able to play it on the vlc player if i only play it and not stream it. So what could be the problem and wich settings I need for the command line-tool and for the libvlc_vlm_add_broadcast? I found something about to expand some buffers, but how could I do this?

Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 12 guests