Closed makew0rld closed 5 years ago
Try with another mp4 player. Maybe isnt problem of youtube-dl
youtube-dl HLS native downloader does not support fragmented mp4 videos, and ffmpeg produce broken files, so, for now, you can choose formats other than the hlsfmp4-*
until this gets fixed(the best one is syndication
format).
@remitamine thank you, using the second-lowest stream, hls-3895
worked. VLC played the file successfully, although some errors were reported.
❯ youtube-dl -f hls-3895 https://www.nytimes.com/video/us/100000006525294/ufo-video-navy.html\?smid\=pl-share
[NYTimes] 100000006525294: Downloading video JSON
[NYTimes] 100000006525294: Downloading m3u8 information
[NYTimes] 100000006525294: Downloading m3u8 information
[hlsnative] Downloading m3u8 manifest
[hlsnative] Total fragments: 9
[download] Destination: ‘Look at That Thing’ - Footage Shows Pilots Spotting Unknown Object-100000006525294.mp4
[download] 100% of 32.74MiB in 00:10
[ffmpeg] Fixing malformed AAC bitstream in "‘Look at That Thing’ - Footage Shows Pilots Spotting Unknown Object-100000006525294.mp4"
❯ vlc ‘Look\ at\ That\ Thing’\ -\ Footage\ Shows\ Pilots\ Spotting\ Unknown\ Object-100000006525294.mp4
VLC media player 3.0.6 Vetinari (revision 3.0.6-0-g5803e85f73)
[000055717b514570] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
[00007fa64c005bb0] glconv_vaapi_x11 gl error: vaInitialize: unknown libva error
[00007fa64c005bb0] glconv_vaapi_drm gl error: vaInitialize: unknown libva error
libva error: va_getDriverName() failed with operation failed,driver_name=i965
[00007fa64c005bb0] glconv_vaapi_drm gl error: vaInitialize: operation failed
Failed to open VDPAU backend libvdpau_i965.so: cannot open shared object file: No such file or directory
QObject::~QObject: Timers cannot be stopped from another thread
the errors reported by VLC are not caused by the file itself, they are caused by a missing/misconfiguration of the hardware acceleration libraries(VAAPI/VDPAU) in your system.
Checklist
Verbose log
Downloading with
-v
flagTrying to play in VLC with no
v
flags:VLC with
-vv
:Description
I downloaded a video from The New York Times, with this link: https://www.nytimes.com/video/us/100000006525294/ufo-video-navy.html?smid=pl-share
It downloaded fine, but could not be played, and the VLC output seems to suggest it was not properly formatted as an MP4 file.