Audio/video stream recording forums (http://stream-recorder.com/forum/index.php)
-   (French | Français) Récuperer des streams audio et video (http://stream-recorder.com/forum/forumdisplay.php?f=65)
-   -  

Livestreamer Tele Lyon Metrople

(http://stream-recorder.com/forum/showthread.php?t=20839)

lvr 03-25-2016 09:45 AM

Livestreamer Tele Lyon Metrople


 
Bonjour,

livestreamer ne capture plus le flux TLM depuis qu'il est passé sur youtube : https://www.youtube.com/watch?v=AWQ9I-VQqJE.
VLC demare et bloque sur la premi?re image.

Une suggestion ?
Merci.

stream_monkey 03-25-2016 12:24 PM

Re: Livestreamer Tele Lyon Metrople


 
Quote:

Originally Posted by lvr (Post 83407)
Bonjour,

livestreamer ne capture plus le flux TLM depuis qu'il est passé sur youtube : https://www.youtube.com/watch?v=AWQ9I-VQqJE.
VLC demare et bloque sur la premi?re image.

Une suggestion ?
Merci.

Code:

youtube-dl https://www.youtube.com/watch?v=AWQ9I-VQqJE -o c:\file.ts

lvr 03-25-2016 06:03 PM

Re: Livestreamer Tele Lyon Metrople


 
Thanks for the suggestion, but the link is a TV stream, and not a simple video. And vlc can play it directly.

How can I stream it to a player like vlc ?

When i uses folowing syntax :
youtube-dl -o- "https://www.youtube.com/embed/AWQ9I-VQqJE" | "C:\Program Files (x86)\VideoLAN\VLC\vlc.exe" -
download starts (ffmeg shows a birate) but do not pipes to vlc.

Thanks.

stream_monkey 03-25-2016 07:11 PM

Re: Livestreamer Tele Lyon Metrople


 
You can take the m3u8 that youtube-dl found it your example above and then put that into an ffmpeg command to pipe to vlc.

Code:

ffmpeg -i "youtube.m3u8" -q:v 0 -bsf h264_mp4toannexb -f mpegts - | "C:\Program Files (x86)\VideoLAN\VLC\vlc.exe" - && exit
It was not smooth for me, but maybe you will have better luck.

You can also try pasting the m3u8 directly into vlc (didn't stream like that for me though).

**edit**

You can also do the same thing with livestreamer once you have the playlist (.m3u8)

You can use youtube-dl to write the json information which contains the playlists. (-j or --dump-json)

lvr 03-26-2016 03:08 AM

Re: Livestreamer Tele Lyon Metrople


 
Merci pour vos suggestions et votre attention ? ma demande.

Je n'y arrive pas.
Ce format html5 pour cette chaine semble spécifique...

youtube-dl utilisé seul crée bien un fichier mp4 lisible par vlc. Donc il sait lire le flux correctement.

Mais en streaming direct (pipe) vers vlc cela ne marche pas (image fixe) et vers mplayer ça marche ? moitié (sacadé et répétitions).

Comment faites-vous pour récupérer lme m3u8 ?

lvr 04-23-2016 04:20 AM

Re: Livestreamer Tele Lyon Metrople


 
Bonjour,

J'ai réussi a solutioner le PB dans livestreamer et dans VLC

Il faut installer la version python (pas l'exe) de livestreamer et patcher le plugings youtube :
"C:\Python27\Lib\site-packages\livestreamer\plugins\youtube.py"
Voir https://github.com/chrippa/livestreamer/issues/1284

Et installer le daily build 3.0 de VLC :
Cele évite le blocage sur la premi?re frame visualisée.
http://nightlies.videolan.org/build/...0001-win32.exe

Puis
C:\Python27\Scripts\livestreamer.exe "https://www.youtube.com/embed/AWQ9I-VQqJE" best

Bien ? vous.


All times are GMT -6. The time now is 06:44 AM.