Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[request] Use mp4 by default for pluzz.francetv.fr (was: Error "unable to download video data: HTTP Error 403: Forbidden" on pluzz.francetv.fr) #4142

Closed
quark67 opened this issue Nov 9, 2014 · 9 comments
Labels

Comments

@quark67
Copy link

@quark67 quark67 commented Nov 9, 2014

I use the latest version (2014.11.04).
Suppose I would see this : http://pluzz.francetv.fr/videos/slam_,111772605.html (available until 2014.11.13)

With :
youtube-dl http://pluzz.francetv.fr/videos/slam_,111772605.html
I obtain :

[download] Destination: Slam-111772605.flv
ERROR: unable to download video data: HTTP Error 403: Forbidden

Why does youtube-dl try to download by default a .flv file ? MP4 is better, not ?

If I specify the good format (.mp4) as :
youtube-dl -f m3u8-841 http://pluzz.francetv.fr/videos/slam_,111772605.html
I obtain a good running download.

Can you download by default a .mp4 file on pluzz.francetv.fr ? Thanks.

@btrd
Copy link

@btrd btrd commented Nov 24, 2014

Same issue here with this video

~ ⮀ youtube-dl http://pluzz.francetv.fr/videos/des_racines_et_des_ailes.html
[pluzz.francetv.fr] des_racines_et_des_ailes: Downloading webpage
[pluzz.francetv.fr] 112452189: Downloading video JSON
[pluzz.francetv.fr] 112452189: Downloading f4m manifest token
[pluzz.francetv.fr] 112452189: Downloading f4m manifest
[pluzz.francetv.fr] 112452189: Downloading m3u8 information
[download] Downloading f4m manifest
[download] Destination: Des racines et des ailes-112452189.flv
ERROR: unable to download video data: HTTP Error 403: Forbidden

But this command work

youtube-dl -f mp4 http://pluzz.francetv.fr/videos/slam_,111772605.html

@naglis
Copy link
Collaborator

@naglis naglis commented Nov 24, 2014

Duplicate of #3963.

@naglis naglis closed this Nov 24, 2014
@quark67
Copy link
Author

@quark67 quark67 commented Nov 24, 2014

Perhaps duplicate, but not resolved. Please read carefully my comment here, and my comment at issue 3963. Thanks. Not a geo-restricted problem. I'm on France.

@jaimeMF jaimeMF changed the title Error "unable to download video data: HTTP Error 403: Forbidden" on pluzz.francetv.fr [request] Use mp4 by default for pluzz.francetv.fr (was: Error "unable to download video data: HTTP Error 403: Forbidden" on pluzz.francetv.fr) Nov 24, 2014
@jaimeMF jaimeMF reopened this Nov 24, 2014
@jaimeMF jaimeMF added the request label Nov 24, 2014
@quark67
Copy link
Author

@quark67 quark67 commented Nov 24, 2014

Thanks to reopen this issue. I have posted a comment on issue #3963 and recopy it here :

To jaimeMF : I'm on OS X, and .mp4 is better than .flv. QuickTime, the default video player on OS X, read .mp4. We can read .mp4 on computer or mobile device (not only on iOS, but on Android too). .flv is Flash, an old technology. I know than on Linux, .mp4 can be read, for example with VLC.

To all : can you made the code so that on OS X, it download preferably .mp4 (m3u8) when it is available ? I suppose the code can detect the system, no ?

And a thing is very strange : on a older version of youtube-dl, it has by default downloaded a .mp4 video on pluzz. Why in recent version, do youtube-dl try to download the .flv version ?

Thanks.

@remitamine
Copy link
Collaborator

@remitamine remitamine commented Jul 24, 2015

all the formats are mp4

youtube-dl -F http://pluzz.francetv.fr/videos/slam_,125456409.html
[pluzz.francetv.fr] slam_,125456409: Downloading webpage
[pluzz.francetv.fr] 125456409: Downloading video JSON
[pluzz.francetv.fr] 125456409: Downloading geo restriction info
[pluzz.francetv.fr] 125456409: Downloading m3u8 information
[pluzz.francetv.fr] 125456409: Downloading m3u8 information
[info] Available formats for 125456409:
format code         extension  resolution note
hls_v5_os-meta      mp4        multiple   Quality selection URL 
m3u8-download-meta  mp4        multiple   Quality selection URL 
hls_v5_os-307       mp4        320x180     307k , avc1,  mp4a
m3u8-download-307   mp4        320x180     307k , avc1,  mp4a
hls_v5_os-583       mp4        512x288     583k , avc1,  mp4a
m3u8-download-583   mp4        512x288     583k , avc1,  mp4a
hls_v5_os-844       mp4        704x396     844k , avc1,  mp4a
m3u8-download-844   mp4        704x396     844k , avc1,  mp4a (best)
youtube-dl -v http://pluzz.francetv.fr/videos/slam_,125456409.html
[debug] System config: []
[debug] User config: ['--external-downloader', 'aria2c', '--external-downloader-args', '-x 16 --check-certificate=false', '-f', 'best[height<=?720]', '--sub-lang', 'ar,en', '--write-sub']
[debug] Command-line args: ['-v', 'http://pluzz.francetv.fr/videos/slam_,125456409.html']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2015.07.21
[debug] Python version 3.4.3 - Linux-4.1.2-2-ARCH-x86_64-with-arch-Arch-Linux
[debug] exe versions: ffmpeg 2.7.2, ffprobe 2.7.2, rtmpdump 2.4
[debug] Proxy map: {}
[pluzz.francetv.fr] slam_,125456409: Downloading webpage
[pluzz.francetv.fr] 125456409: Downloading video JSON
[pluzz.francetv.fr] 125456409: Downloading geo restriction info
[pluzz.francetv.fr] 125456409: Downloading m3u8 information
[pluzz.francetv.fr] 125456409: Downloading m3u8 information
[debug] Invoking downloader on 'http://ftvodhdsecz-f.akamaihd.net/i/streaming-adaptatif_france-dom-tom/2015/S30/J4/125456409-20150723-,398k,632k,934k,.mp4.csmil/index_2_av.m3u8?null='
[download] Destination: Slam-125456409.mp4
ffmpeg version 2.7.2 Copyright (c) 2000-2015 the FFmpeg developers
  built with gcc 5.1.0 (GCC)
  configuration: --prefix=/usr --disable-debug --disable-static --disable-stripping --enable-avisynth --enable-avresample --enable-fontconfig --enable-gnutls --enable-gpl --enable-libass --enable-libbluray --enable-libfreetype --enable-libfribidi --enable-libgsm --enable-libmodplug --enable-libmp3lame --enable-libopencore_amrnb --enable-libopencore_amrwb --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-libschroedinger --enable-libspeex --enable-libssh --enable-libtheora --enable-libv4l2 --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxvid --enable-shared --enable-version3 --enable-x11grab
  libavutil      54. 27.100 / 54. 27.100
  libavcodec     56. 41.100 / 56. 41.100
  libavformat    56. 36.100 / 56. 36.100
  libavdevice    56.  4.100 / 56.  4.100
  libavfilter     5. 16.101 /  5. 16.101
  libavresample   2.  1.  0 /  2.  1.  0
  libswscale      3.  1.101 /  3.  1.101
  libswresample   1.  2.100 /  1.  2.100
  libpostproc    53.  3.100 / 53.  3.100
Input #0, hls,applehttp, from 'http://ftvodhdsecz-f.akamaihd.net/i/streaming-adaptatif_france-dom-tom/2015/S30/J4/125456409-20150723-,398k,632k,934k,.mp4.csmil/index_2_av.m3u8?null=':
  Duration: 00:33:33.20, start: 0.100667, bitrate: 0 kb/s
  Program 0 
    Metadata:
      variant_bitrate : 0
    Stream #0:0: Video: h264 (Main) ([27][0][0][0] / 0x001B), yuv420p, 704x396 [SAR 1:1 DAR 16:9], 25 fps, 25 tbr, 90k tbn, 50 tbc
    Stream #0:1: Audio: aac (LC) ([15][0][0][0] / 0x000F), 48000 Hz, stereo, fltp, 66 kb/s
[mp4 @ 0x559a72d41820] Codec for stream 0 does not use global headers but container format requires global headers
[mp4 @ 0x559a72d41820] Codec for stream 1 does not use global headers but container format requires global headers
Output #0, mp4, to 'Slam-125456409.mp4.part':
  Metadata:
    encoder         : Lavf56.36.100
    Stream #0:0: Video: h264 ([33][0][0][0] / 0x0021), yuv420p, 704x396 [SAR 1:1 DAR 16:9], q=2-31, 25 fps, 25 tbr, 90k tbn, 90k tbc
    Stream #0:1: Audio: aac ([64][0][0][0] / 0x0040), 48000 Hz, stereo, 66 kb/s
Stream mapping:
  Stream #0:0 -> #0:0 (copy)
  Stream #0:1 -> #0:1 (copy)
Press [q] to stop, [?] for help
frame=   27 fps=0.0 q=-1.0 size=     107kB time=00:00:01.06 bitrate= 822.1kbits
@btrd
Copy link

@btrd btrd commented Jul 24, 2015

@remitamine You respond to a 1 year old issue ;)

@remitamine
Copy link
Collaborator

@remitamine remitamine commented Jul 24, 2015

why it still open then? if the problem is not relevant anymore

@NicolasP
Copy link

@NicolasP NicolasP commented Jul 24, 2015

Actually I started getting the same problem as described here a couple days ago on http://pluzz.francetv.fr/videos/des_jours_et_des_vies.html.

Without specifying the format I get this:

[download] Downloading f4m manifest
[download] Destination: Des jours et des vies-125459124.flv
ERROR: unable to download video data: HTTP Error 403: Forbidden

With -f mp4, it works again.

@LubosKolouch
Copy link

@LubosKolouch LubosKolouch commented Feb 16, 2020

This is now quite old issue, should be probably closed...

@quark67 quark67 closed this Feb 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
8 participants
@NicolasP @naglis @jaimeMF @btrd @LubosKolouch @quark67 @remitamine and others
You can’t perform that action at this time.