Relay or Transcode from Youtube Live stream - to record or convert

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.
onedutch
New Cone
New Cone
Posts: 8
Joined: 08 Aug 2004 10:32

Relay or Transcode from Youtube Live stream - to record or convert

Postby onedutch » 18 Aug 2017 09:42

Hello there,

With the growth of Youtube Live streams it's harder to record or transcode / relay the streams. The live stream https://www.youtube.com/watch?v=RtU_mdL2vBM is playing in Videolan 3.0.0 nightly build 2 august 2017. I'm trying to transcode / relay / convert the stream to a 'normal' rtsp or http stream so I can play it on any video player.

When I choose convert it doesn't work, I also noticed that recording isn't working / starting. VLC returns to playing the Youtube stream on my screen, instead of saving it. Also when using convert, it doesn't provide a url to connect to. It reacts the same as the recording function. I added a piece of the messages in verbose.

Any clues anyone?

Regards,
Onedutch


ts error: libdvbpsi error (PSI decoder): TS duplicate (received 0, expected 1) for PID 0
ts error: libdvbpsi error (PSI decoder): TS duplicate (received 0, expected 1) for PID 4095
ts error: libdvbpsi error (PSI decoder): TS duplicate (received 0, expected 1) for PID 0
ts error: libdvbpsi error (PSI decoder): TS duplicate (received 0, expected 1) for PID 4095
ts error: libdvbpsi error (PSI decoder): TS duplicate (received 0, expected 1) for PID 0
ts error: libdvbpsi error (PSI decoder): TS duplicate (received 0, expected 1) for PID 4095
ts error: libdvbpsi error (PSI decoder): TS duplicate (received 0, expected 1) for PID 0
ts error: libdvbpsi error (PSI decoder): TS duplicate (received 0, expected 1) for PID 4095
ts error: libdvbpsi error (PSI decoder): TS duplicate (received 0, expected 1) for PID 0
ts error: libdvbpsi error (PSI decoder): TS duplicate (received 0, expected 1) for PID 4095
adaptive info: Encountered discontinuity
mpeg4audio info: AAC channels: 2 samplerate: 24000
direct3d9 error: SetThumbNailClip failed: 0x800706f4
direct3d9 error: SetThumbNailClip failed: 0x800706f4
direct3d9 error: SetThumbNailClip failed: 0x800706f4
mpeg4audio info: AAC channels: 2 samplerate: 48000
direct3d9 error: SetThumbNailClip failed: 0x800706f4
direct3d9 error: SetThumbNailClip failed: 0x800706f4
direct3d9 error: SetThumbNailClip failed: 0x800706f4
ts error: libdvbpsi error (PSI decoder): TS duplicate (received 0, expected 1) for PID 0
ts error: libdvbpsi error (PSI decoder): TS duplicate (received 0, expected 1) for PID 4095
ts error: libdvbpsi error (PSI decoder): TS duplicate (received 0, expected 1) for PID 0
ts error: libdvbpsi error (PSI decoder): TS duplicate (received 0, expected 1) for PID 4095
ts error: libdvbpsi error (PSI decoder): TS duplicate (received 0, expected 1) for PID 0
ts error: libdvbpsi error (PSI decoder): TS duplicate (received 0, expected 1) for PID 4095
ts error: libdvbpsi error (PSI decoder): TS duplicate (received 0, expected 1) for PID 0
ts error: libdvbpsi error (PSI decoder): TS duplicate (received 0, expected 1) for PID 4095
ts error: libdvbpsi error (PSI decoder): TS duplicate (received 0, expected 1) for PID 0
ts error: libdvbpsi error (PSI decoder): TS duplicate (received 0, expected 1) for PID 4095
ts error: libdvbpsi error (PSI decoder): TS duplicate (received 0, expected 1) for PID 0
ts error: libdvbpsi error (PSI decoder): TS duplicate (received 0, expected 1) for PID 4095

leftwing
New Cone
New Cone
Posts: 9
Joined: 03 May 2017 01:51

Re: Relay or Transcode from Youtube Live stream - to record or convert

Postby leftwing » 04 Jan 2018 16:47

I have been working on what appears to be the same problem but at the level of a custom app that uses libvlc. I got the same TS duplicate messages from libdvbpsi. For my code, setting --no-ts-trust-pcr as an argv parameter for libvlc_new() solved the problem.

From your description I think you are interested in a solution for the player. Select Tools->Preference and check Show settings/All. Expand Input/Coders and Demuxers and select MPEG-TS. Uncheck "Trust in-stream PCR." I think this will have the same effect as what I have done at the libvlc level. I am running your NASA stream nicely in my app which uses VLC 2.2.2

onedutch
New Cone
New Cone
Posts: 8
Joined: 08 Aug 2004 10:32

Re: Relay or Transcode from Youtube Live stream - to record or convert

Postby onedutch » 20 Jan 2018 22:44

hello Leftwing - Godlike, it works, i use VLC 2.2.8. and deselcted the option "Trust in-stream PCR" !


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: No registered users and 13 guests