Pierre Rudloff

Results 157 comments of Pierre Rudloff

I tried to download https://www.youtube.com/playlist?list=PLyCLoPd4VxBszBLWgWMpt9kb5sKDXNX6M and got this error on one the videos (https://www.youtube.com/watch?v=EXt2jLRlaf8): ``` YouTube said: Unable to extract video data ``` But if I try to download this...

We could try to catch the error and then use `Archive::push_error()` to include an error message in the archive. That would be better than downloading a corrupted archive.

I can reproduce the issue but I am not sure what happens. If I run ffmpeg manyally like this: ```bash '/usr/bin/ffmpeg' '-v' 'error' '-i' 'https://prod-fastly-us-west-1.video.periscope.tv/Transcoding/v1/hls/al_CKDtfIi5r8dB2_1hpBw3zGHAUaGg3t9K7-ELagqSmzefrNZddrXurfX2m-Onzia1gXaMCcJwqZTTi1EJ1Mg/non_transcode/us-west-1/periscope-replay-direct-prod-us-west-1-public/playlist_16880814745145724468.m3u8?type=replay' '-f' 'mp4' '-c' 'copy' '-bsf:a'...

I can reproduce the issue on the commandline by running this: ```bash /usr/bin/ffmpeg' '-i' 'https://prod-fastly-us-west-1.video.periscope.tv/Transcoding/v1/hls/al_CKDtfIi5r8dB2_1hpBw3zGHAUaGg3t9K7-ELagqSmzefrNZddrXurfX2m-Onzia1gXaMCcJwqZTTi1EJ1Mg/non_transcode/us-west-1/periscope-replay-direct-prod-us-west-1-public/playlist_16880814745145724468.m3u8?type=replay' '-f' 'mp4' '-c' 'copy' '-bsf:a' 'aac_adtstoasc' '-movflags' 'frag_keyframe+empty_moov' pipe:1 > foo.mp4 ``` It looks like...

Periscope only provides M3U videos so AllTube will only be able to download them if [stream mode](https://github.com/Rudloff/alltube/blob/master/resources/FAQ.md#enable-streaming-videos-through-the-server) is enabled.

I can't reproduce this error. Do you still get it?

This can probably be done in stream mode in a similar way to what we do for audio conversion: https://github.com/Rudloff/alltube-library/blob/f0bbd14b06bb4df9e3fbae62a6f09b455fdcc703/classes/Downloader.php#L194

AllTube never stores video files on the server, it always works with streams. For HTTP streams, ffmpeg is smart enough to skip to the part to trim so it does...

I can't reproduce with 3.0.0-beta5. This probably happens because the youtube-dl version in 2.3.0 is too old. You can either try the 3.0.0 beta or try to update youtube-dl.

I don't maintain or even use the Yunohost package, so I am not sure how it installs youtube-dl. What you can do is [install a recent youtube-dl manually](https://ytdl-org.github.io/youtube-dl/download.html) then edit...