Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Download RTVE videos with youtube-dl [SOLVED]

Graphical Environments, Managers, Multimedia & Desktop questions.
Post Reply
Message
Author
Deblib
Posts: 119
Joined: 2016-05-14 14:41

Download RTVE videos with youtube-dl [SOLVED]

#1 Post by Deblib »

Hi, youtube-dl won't let me download the videos from the Spanish public television (RTVE) website. Any solution?

Code: Select all

~$ youtube-dl http://www.rtve.es/alacarta/videos/aqui-la-tierra/aqui-tierra-david-otero-hombre-escenarios-campo/4615639/
[rtve.es:alacarta] Fetching manager info
[rtve.es:alacarta] 4615639: Downloading JSON metadata
[rtve.es:alacarta] 4615639: Downloading url information
[download] Destination: Aquí la tierra - David Otero, hombre de escenarios y de campo-4615639.m3u8
ffmpeg version 3.2.10-1~deb9u1 Copyright (c) 2000-2018 the FFmpeg developers
  built with gcc 6.3.0 (Debian 6.3.0-18) 20170516
  configuration: --prefix=/usr --extra-version='1~deb9u1' --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --enable-gpl --disable-stripping --enable-avresample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libebur128 --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libmp3lame --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-omx --enable-openal --enable-opengl --enable-sdl2 --enable-libdc1394 --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libopencv --enable-libx264 --enable-shared
  libavutil      55. 34.101 / 55. 34.101
  libavcodec     57. 64.101 / 57. 64.101
  libavformat    57. 56.101 / 57. 56.101
  libavdevice    57.  1.100 / 57.  1.100
  libavfilter     6. 65.100 /  6. 65.100
  libavresample   3.  1.  0 /  3.  1.  0
  libswscale      4.  2.100 /  4.  2.100
  libswresample   2.  3.100 /  2.  3.100
  libpostproc    54.  1.100 / 54.  1.100
[http @ 0x5570c3d6c760] HTTP error 404 Not Found
http://hlsvod.lvlt.rtve.es/auth/resources/TE_NGVA/mp4/3/8/1527447558983.mp4/playlist.m3u8: Server returned 404 Not Found


ERROR: ffmpeg exited with code 1
Last edited by Deblib on 2018-05-31 21:02, edited 1 time in total.

User avatar
oswaldkelso
df -h | grep > 20TiB
df -h | grep > 20TiB
Posts: 1486
Joined: 2005-07-26 23:20
Location: UK
Has thanked: 1 time
Been thanked: 55 times

Re: Download RTVE videos with youtube-dl

#2 Post by oswaldkelso »

Your link works here on my Dragora box.

Have you made sure youtube-dl is updated?

I run

Code: Select all

# youtube-dl -U
But you should wait and see what a Debian user suggests.
Free Software Matters
Ash init durbatulûk, ash init gimbatul,
Ash init thrakatulûk agh burzum-ishi krimpatul.
My oldest used PC: 1999 imac 333Mhz 256MB PPC abandoned by Debian

Bulkley
Posts: 6382
Joined: 2006-02-11 18:35
Has thanked: 2 times
Been thanked: 39 times

Re: Download RTVE videos with youtube-dl

#3 Post by Bulkley »

I get the same result as Deblib.

User avatar
debiman
Posts: 3063
Joined: 2013-03-12 07:18

Re: Download RTVE videos with youtube-dl

#4 Post by debiman »

it downloaded fine here.

Code: Select all

youtube-dl --version
2018.05.09
you know you must not install youtube-dl from the repos?
either clone & regularly pull the github, or just download the executable, and use 'youtube-dl -U' regularly.

Bulkley
Posts: 6382
Joined: 2006-02-11 18:35
Has thanked: 2 times
Been thanked: 39 times

Re: Download RTVE videos with youtube-dl

#5 Post by Bulkley »

It works with the version in MX Linux. You might find an up-to-date version in the Stretch backport. Otherwise try to get the one from MX which should be on Steve Pusser's repository.

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 71 times

Re: Download RTVE videos with youtube-dl

#6 Post by stevepusser »

The MX Linux repo is part of the project, I don't "own" it like I do my OBS repos...I could add that update to my multimedia OBS repo, though.

The MX deb is located here: http://mxrepo.com/mx/repo/pool/main/y/youtube-dl/

We also have a GUI for youtube-dl which will let you update the app's own version of youtube-dl whenever necessary: http://mxrepo.com/mx/repo/pool/main/y/youtube-dl-gui/
MX Linux packager and developer

Deblib
Posts: 119
Joined: 2016-05-14 14:41

Re: Download RTVE videos with youtube-dl

#7 Post by Deblib »

I use Debian Stretch. Is it possible to install software on it from the MX repository? What version of youtube-dl of this repository should I install?

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 71 times

Re: Download RTVE videos with youtube-dl

#8 Post by stevepusser »

MX 17 packages are compatible with Stretch, if they didn't require any extra backports. I make a practice of building them as much as possible in generic Debian environments. In this case, since youtube-dl is a python program and not a compiled binary, it might not make any difference what version you install, though.
MX Linux packager and developer

User avatar
debiman
Posts: 3063
Joined: 2013-03-12 07:18

Re: Download RTVE videos with youtube-dl

#9 Post by debiman »

admitted, the 404 error could have very different reasons.

but esp. youtube itself tends to change its API so often that the most recent release or even the git master of youtube-dl are a MUST .
it is one of the very few programs where it makes sense to not rely on debian package management (and no harm either). and yt-dl devs make it easy for you, just have a quick look on their website.

Deblib
Posts: 119
Joined: 2016-05-14 14:41

Re: Download RTVE videos with youtube-dl

#10 Post by Deblib »

stevepusser wrote:MX 17 packages are compatible with Stretch
I installed this version and it went great. Thank you! :D

Post Reply