Page 1 of 1

VLC Problem With transcode of TS Stream

Posted: 04 Sep 2012 04:46
by jayjayuk
Hi guys,

I've been having some issues with the latest VLC ( tried 2.0.2 and 2.0.3 )

I have setup streaming over my network and everything works great if i chose a file as my source, so i know it's working fine.

I have been trying to transcode (to h264) and restream from my VU DUO, but VLC refuses to do so and complains with the following;

Code: Select all

libdvbpsi error (PSI decoder): TS discontinuity (received 6, expected 0) for PID 0 libdvbpsi error (PSI decoder): TS discontinuity (received 14, expected 0) for PI D 18 libdvbpsi error (PSI decoder): TS discontinuity (received 6, expected 0) for PID 256 [h264 @ 0639d0e0] mmco: unref short failure [h264 @ 0639d860] mmco: unref short failure [h264 @ 0639d0e0] mmco: unref short failure [h264 @ 0639d0e0] illegal short term buffer state detected [h264 @ 0639d4a0] mmco: unref short failure [h264 @ 0639d0e0] Cannot combine reference and non-reference fields in the same frame [h264 @ 0639d0e0] If you want to help, upload a sample of this file to ftp://upl oad.libav.org/incoming/ and contact the libav-devel mailing list. [h264 @ 0639d0e0] decode_slice_header error [h264 @ 0639d4a0] reference picture missing during reorder [h264 @ 0639d4a0] Missing reference picture libdvbpsi error (PSI decoder): TS discontinuity (received 8, expected 0) for PID 20 [h264 @ 0639d860] reference picture missing during reorder [h264 @ 0639d860] Missing reference picture [h264 @ 0639cd00] reference picture missing during reorder [h264 @ 0639cd00] Missing reference picture [h264 @ 0639d4a0] reference picture missing during reorder [h264 @ 0639d4a0] Missing reference picture [h264 @ 0639d0e0] reference picture missing during reorder [h264 @ 0639d0e0] Missing reference picture [h264 @ 0639d860] reference picture missing during reorder [h264 @ 0639d860] Missing reference picture [h264 @ 0639cd00] Cannot combine reference and non-reference fields in the same frame [h264 @ 0639cd00] If you want to help, upload a sample of this file to ftp://upl oad.libav.org/incoming/ and contact the libav-devel mailing list. [h264 @ 0639cd00] decode_slice_header error [h264 @ 0639d0e0] reference picture missing during reorder [h264 @ 0639d0e0] Missing reference picture [h264 @ 0639cd00] reference picture missing during reorder [h264 @ 0639cd00] Missing reference picture
It seems to play the stream locally happilly enough though, in fact it plays it even when i keep the "Display Locally" box unchecked..

Am i doing something wrong? is this the right place to report this?

Thanks

Jay

Re: VLC Problem With transcode of TS Stream

Posted: 05 Sep 2012 09:46
by Lotesdelere
Please upload a short sample of the source file to either http://streams.videolan.org/upload/ or to EmbedUpload.com, so it will upload the file for you to several other hosts, and then post the link to the file here.

Re: VLC Problem With transcode of TS Stream

Posted: 10 Sep 2012 02:13
by jayjayuk
Please upload a short sample of the source file to either http://streams.videolan.org/upload/ or to EmbedUpload.com, so it will upload the file for you to several other hosts, and then post the link to the file here.
http://www.embedupload.com/?d=6XIRUZEBUA

Aboveis a sample...

Thanks

Re: VLC Problem With transcode of TS Stream

Posted: 10 Sep 2012 14:52
by Jean-Baptiste Kempf
How do you re-stream?

Re: VLC Problem With transcode of TS Stream

Posted: 10 Sep 2012 17:06
by jayjayuk
How do you re-stream?
The Vu Duo box streams over my lan, but it requires too much bandwidth, so i'm trying to transcode on the fly, i open the network stream on vlc, then choose 'stream' from the dropdown box, and then use http as the destination, choose my encapsulation/codec options etc and off we go.

VLC looks like it's working ( except from the console errors ), it plays locally fine, however, unlike when you stream a file, it doesn't say 'streaming' and there is no http output.

I have tried HD and SD sources. :?

Re: VLC Problem With transcode of TS Stream

Posted: 15 Sep 2012 16:47
by jayjayuk
Did those links work ok?

Re: VLC Problem With transcode of TS Stream

Posted: 31 Dec 2012 13:31
by Hilbert
I had a similar problem when I used vlc to transcode AVCHD (.mts) video camera files to H.264.
vlc could play the files, but gave lots of "Missing reference picture" errors when I tried to transcode.

It worked after I processed the .mts files through ffmpeg, just like this:

Code: Select all

ffmpeg -i videofile.mts -c copy new_video.mts
I have no idea why his trivial piece of processing (almost a copy) made a difference.

The transcoding command was

Code: Select all

vlc -I dummy ${filename} --sout "#transcode{vcodec=h264,vb=3000,scale=0.67,acodec=mp3,ab=128,channels=2,deinterlace}:std{access=file,mux=avi,dst='${outstem}.avi'}" vlc://quit
which produces an .avi container with H.264 video and mp3 audio.

Re: VLC Problem With transcode of TS Stream

Posted: 13 Jan 2013 18:55
by jayjayuk
Any news about this?

Tried the latest version, still cannot stream from a network stream, works on version 0.8.6i, but no versions since then............

0.8.6i is causing some glitches, otherwise i wouldn't be posting here at all, any ideas why such a basic function doesn't work on the latest VLC builds?

thanks

jay