[youtube] 1080p DASH merging problem. #1733

Closed
opened 2026-02-20 22:16:29 -05:00 by deekerman · 5 comments
Owner

Originally created by @BlindB0 on GitHub (Jan 19, 2014).

youtube-dl --verbose -f 137+172 http://www.youtube.com/watch?v=XSGBVzeBUbk
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['--verbose', '-f', '137+172', 'http://www.youtube.com/watch?v=XSGBVzeBUbk']
[debug] Encodings: locale 'UTF-8', fs 'UTF-8', out 'UTF-8', pref: 'UTF-8'
[debug] youtube-dl version 2014.01.17.2
[debug] Python version 2.7.5+ - Linux-3.11.0-15-generic-i686-athlon-with-Ubuntu-13.10-saucy
[debug] Proxy map: {}
[youtube] Setting language
[youtube] XSGBVzeBUbk: Downloading webpage
[youtube] XSGBVzeBUbk: Downloading video info webpage
[youtube] XSGBVzeBUbk: Extracting video information
[download] Destination: Big Buck Bunny animation (1080p HD)-XSGBVzeBUbk.f137.mp4
[download] 100% of 181.45MiB in 00:16
[download] Destination: Big Buck Bunny animation (1080p HD)-XSGBVzeBUbk.f172.webm
[download] 100% of 11.91MiB in 00:01
[debug] ffmpeg command line: avconv -y -i 'Big Buck Bunny animation (1080p HD)-XSGBVzeBUbk.f137.mp4' -i 'Big Buck Bunny animation (1080p HD)-XSGBVzeBUbk.f172.webm' -c copy 'Big Buck Bunny animation (1080p HD)-XSGBVzeBUbk.mp4'
.....
size of resulting files:
190258874 Big Buck Bunny animation (1080p HD)-XSGBVzeBUbk.f137.mp4
12491623 Big Buck Bunny animation (1080p HD)-XSGBVzeBUbk.f172.webm
12725882 Big Buck Bunny animation (1080p HD)-XSGBVzeBUbk.mp4
Size of resulting mp4 near exact as size of webm sound file.
Video did not include during merging files, in mp4 file only audio.
Because of error in video f137.mp4 file/
Downloaded f137.mp4 video file without index, so videoplayer cannot jump forward (mplayer), vlc cannot play this video at all. In player info:
Video Resolution 1920 x 1080
Aspect ratio 1.77778
Format H264
Bitrate 0 kbps
Frames per second 24.000
Selected codec ffh264

Originally created by @BlindB0 on GitHub (Jan 19, 2014). youtube-dl --verbose -f 137+172 http://www.youtube.com/watch?v=XSGBVzeBUbk [debug] System config: [] [debug] User config: [] [debug] Command-line args: ['--verbose', '-f', '137+172', 'http://www.youtube.com/watch?v=XSGBVzeBUbk'] [debug] Encodings: locale 'UTF-8', fs 'UTF-8', out 'UTF-8', pref: 'UTF-8' [debug] youtube-dl version 2014.01.17.2 [debug] Python version 2.7.5+ - Linux-3.11.0-15-generic-i686-athlon-with-Ubuntu-13.10-saucy [debug] Proxy map: {} [youtube] Setting language [youtube] XSGBVzeBUbk: Downloading webpage [youtube] XSGBVzeBUbk: Downloading video info webpage [youtube] XSGBVzeBUbk: Extracting video information [download] Destination: Big Buck Bunny animation (1080p HD)-XSGBVzeBUbk.f137.mp4 [download] 100% of 181.45MiB in 00:16 [download] Destination: Big Buck Bunny animation (1080p HD)-XSGBVzeBUbk.f172.webm [download] 100% of 11.91MiB in 00:01 [debug] ffmpeg command line: avconv -y -i 'Big Buck Bunny animation (1080p HD)-XSGBVzeBUbk.f137.mp4' -i 'Big Buck Bunny animation (1080p HD)-XSGBVzeBUbk.f172.webm' -c copy 'Big Buck Bunny animation (1080p HD)-XSGBVzeBUbk.mp4' ..... size of resulting files: 190258874 Big Buck Bunny animation (1080p HD)-XSGBVzeBUbk.f137.mp4 12491623 Big Buck Bunny animation (1080p HD)-XSGBVzeBUbk.f172.webm 12725882 Big Buck Bunny animation (1080p HD)-XSGBVzeBUbk.mp4 Size of resulting mp4 near exact as size of webm sound file. Video did not include during merging files, in mp4 file only audio. Because of error in video f137.mp4 file/ Downloaded f137.mp4 video file without index, so videoplayer cannot jump forward (mplayer), vlc cannot play this video at all. In player info: Video Resolution 1920 x 1080 Aspect ratio 1.77778 Format H264 Bitrate 0 kbps Frames per second 24.000 Selected codec ffh264
Author
Owner

@jaimeMF commented on GitHub (Jan 19, 2014):

It works fine for me with both avconv (9.10) and ffmpeg (1.2.4). Mplayer (1.1.1) plays the f137.mp4 fine.
Could you post which version of avconv you have and post the output of manually running avconv -y -i 'Big Buck Bunny animation (1080p HD)-XSGBVzeBUbk.f137.mp4' -i 'Big Buck Bunny animation (1080p HD)-XSGBVzeBUbk.f172.webm' -c copy 'Big Buck Bunny animation (1080p HD)-XSGBVzeBUbk.mp4'(the command youtube-dl prints)

@jaimeMF commented on GitHub (Jan 19, 2014): It works fine for me with both avconv (9.10) and ffmpeg (1.2.4). Mplayer (1.1.1) plays the f137.mp4 fine. Could you post which version of avconv you have and post the output of manually running `avconv -y -i 'Big Buck Bunny animation (1080p HD)-XSGBVzeBUbk.f137.mp4' -i 'Big Buck Bunny animation (1080p HD)-XSGBVzeBUbk.f172.webm' -c copy 'Big Buck Bunny animation (1080p HD)-XSGBVzeBUbk.mp4'`(the command youtube-dl prints)
Author
Owner

@BlindB0 commented on GitHub (Jan 19, 2014):

avconv -y -i 'Big Buck Bunny animation (1080p HD)-XSGBVzeBUbk.f137.mp4' -i 'Big Buck Bunny animation (1080p HD)-XSGBVzeBUbk.f172.webm' -c copy 'Big Buck Bunny animation (1080p HD)-XSGBVzeBUbk.mp4'
avconv version 0.8.9-6:0.8.9-0ubuntu0.13.10.1, Copyright (c) 2000-2013 the Libav developers
built on Nov 9 2013 19:15:22 with gcc 4.8.1
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'Big Buck Bunny animation (1080p HD)-XSGBVzeBUbk.f137.mp4':
Metadata:
major_brand : dash
minor_version : 0
compatible_brands: iso6avc1mp41
creation_time : 2013-11-26 10:30:28
Duration: 00:19:52.83, start: 596.417000, bitrate: 1276 kb/s
Stream #0.0(und): Video: h264 (High), yuv420p, 1920x1080, 24 tbr, 90k tbn, 48 tbc
Metadata:
creation_time : 2013-11-26 10:30:28
[matroska,webm @ 0x9cf0da0] Estimating duration from bitrate, this may be inaccurate
Input #1, matroska,webm, from 'Big Buck Bunny animation (1080p HD)-XSGBVzeBUbk.f172.webm':
Duration: 00:09:56.55, start: 0.000000, bitrate: N/A
Stream #1.0(eng): Audio: vorbis, 44100 Hz, stereo, s16 (default)
Output #0, mp4, to 'Big Buck Bunny animation (1080p HD)-XSGBVzeBUbk.mp4':
Metadata:
major_brand : dash
minor_version : 0
compatible_brands: iso6avc1mp41
creation_time : 2013-11-26 10:30:28
encoder : Lavf53.21.1
Stream #0.0(und): Video: libx264, yuv420p, 1920x1080, q=2-31, 90k tbn, 90k tbc
Metadata:
creation_time : 2013-11-26 10:30:28
Stream #0.1(eng): Audio: libvorbis, 44100 Hz, stereo (default)
Stream mapping:
Stream #0:0 -> #0:0 (copy)
Stream #1:0 -> #0:1 (copy)
Press ctrl-c to stop encoding
frame= 0 fps= 0 q=-1.0 Lsize= 12428kB time=596.55 bitrate= 170.7kbits/s
video:0kB audio:11979kB global headers:0kB muxing overhead 3.748582%
...
md5sum ./Big Buck Bunny animation (1080p HD)-XSGBVzeBUbk.mp4
18ffa3803bc4dd31b919089dc30b2221 (same, as if run avconv from youtube-dl)
md5sum ./Big Buck Bunny animation (1080p HD)-XSGBVzeBUbk.f137.mp4
04a9adc6502a9a9dcf406c7ba120e9be
...
mplayer version: 2:1.0~rc4.dfsg1+svn34540-1ubuntu4 (ubuntu repo)
vlc version: 2.0.8-1 (ubuntu repo)
ffmpeg version 6:0.8.9-0ubuntu0.13.10.1 (ubuntu repo)
avconv version 0.8.9-6:0.8.9-0ubuntu0.13.10.1 (ubuntu repo)

@BlindB0 commented on GitHub (Jan 19, 2014): avconv -y -i 'Big Buck Bunny animation (1080p HD)-XSGBVzeBUbk.f137.mp4' -i 'Big Buck Bunny animation (1080p HD)-XSGBVzeBUbk.f172.webm' -c copy 'Big Buck Bunny animation (1080p HD)-XSGBVzeBUbk.mp4' avconv version 0.8.9-6:0.8.9-0ubuntu0.13.10.1, Copyright (c) 2000-2013 the Libav developers built on Nov 9 2013 19:15:22 with gcc 4.8.1 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'Big Buck Bunny animation (1080p HD)-XSGBVzeBUbk.f137.mp4': Metadata: major_brand : dash minor_version : 0 compatible_brands: iso6avc1mp41 creation_time : 2013-11-26 10:30:28 Duration: 00:19:52.83, start: 596.417000, bitrate: 1276 kb/s Stream #0.0(und): Video: h264 (High), yuv420p, 1920x1080, 24 tbr, 90k tbn, 48 tbc Metadata: creation_time : 2013-11-26 10:30:28 [matroska,webm @ 0x9cf0da0] Estimating duration from bitrate, this may be inaccurate Input #1, matroska,webm, from 'Big Buck Bunny animation (1080p HD)-XSGBVzeBUbk.f172.webm': Duration: 00:09:56.55, start: 0.000000, bitrate: N/A Stream #1.0(eng): Audio: vorbis, 44100 Hz, stereo, s16 (default) Output #0, mp4, to 'Big Buck Bunny animation (1080p HD)-XSGBVzeBUbk.mp4': Metadata: major_brand : dash minor_version : 0 compatible_brands: iso6avc1mp41 creation_time : 2013-11-26 10:30:28 encoder : Lavf53.21.1 Stream #0.0(und): Video: libx264, yuv420p, 1920x1080, q=2-31, 90k tbn, 90k tbc Metadata: creation_time : 2013-11-26 10:30:28 Stream #0.1(eng): Audio: libvorbis, 44100 Hz, stereo (default) Stream mapping: Stream #0:0 -> #0:0 (copy) Stream #1:0 -> #0:1 (copy) Press ctrl-c to stop encoding frame= 0 fps= 0 q=-1.0 Lsize= 12428kB time=596.55 bitrate= 170.7kbits/s video:0kB audio:11979kB global headers:0kB muxing overhead 3.748582% ... md5sum ./Big Buck Bunny animation (1080p HD)-XSGBVzeBUbk.mp4 18ffa3803bc4dd31b919089dc30b2221 (same, as if run avconv from youtube-dl) md5sum ./Big Buck Bunny animation (1080p HD)-XSGBVzeBUbk.f137.mp4 04a9adc6502a9a9dcf406c7ba120e9be ... mplayer version: 2:1.0~rc4.dfsg1+svn34540-1ubuntu4 (ubuntu repo) vlc version: 2.0.8-1 (ubuntu repo) ffmpeg version 6:0.8.9-0ubuntu0.13.10.1 (ubuntu repo) avconv version 0.8.9-6:0.8.9-0ubuntu0.13.10.1 (ubuntu repo)
Author
Owner

@xubuntu4iran commented on GitHub (Jan 19, 2014):

@BlindB0 why don't you use -f 137+140

@xubuntu4iran commented on GitHub (Jan 19, 2014): @BlindB0 why don't you use <code> -f 137+140</code>
Author
Owner

@darmbrust commented on GitHub (Sep 19, 2014):

This is the same issue as https://github.com/rg3/youtube-dl/issues/1809 - problem with ubuntu's version of avconv.

@darmbrust commented on GitHub (Sep 19, 2014): This is the same issue as https://github.com/rg3/youtube-dl/issues/1809 - problem with ubuntu's version of avconv.
Author
Owner

@dstftw commented on GitHub (Jan 24, 2016):

Update avconv.

@dstftw commented on GitHub (Jan 24, 2016): Update avconv.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/youtube-dl#1733
No description provided.