Youtube 1080P merger error #2481

Closed
opened 2026-02-21 00:23:04 -05:00 by deekerman · 7 comments
Owner

Originally created by @Enivel on GitHub (Jun 22, 2014).

root@li565-235:/a# youtube-dl -f 137+140 https://www.youtube.com/watch?v=AHDtXqjgEj4
[youtube] Setting language
[youtube] AHDtXqjgEj4: Downloading webpage
[youtube] AHDtXqjgEj4: Downloading video info webpage
[youtube] AHDtXqjgEj4: Extracting video information
[youtube] AHDtXqjgEj4: Encrypted signatures detected.
[download] Destination: Bruno Mars - Gorilla [Official Music Video]-AHDtXqjgEj4.f137.mp4
[download] 100% of 121.28MiB in 00:04
[download] Destination: Bruno Mars - Gorilla [Official Music Video]-AHDtXqjgEj4.f140.m4a
[download] 100% of 5.50MiB in 00:00
[ffmpeg] Merging formats into "Bruno Mars - Gorilla [Official Music Video]-AHDtXqjgEj4.mp4"
root@li565-235:
/a# ll
total 135672
drwxr-xr-x 2 root root 4096 Jun 22 12:17 ./
drwx------ 8 root root 4096 Jun 22 10:21 ../
-rw-r--r-- 1 root root 127168794 Feb 3 19:36 Bruno Mars - Gorilla [Official Music Video]-AHDtXqjgEj4.f137.mp4
-rw-r--r-- 1 root root 5763250 Feb 3 19:36 Bruno Mars - Gorilla [Official Music Video]-AHDtXqjgEj4.f140.m4a
-rw-r--r-- 1 root root 5821714 Jun 22 12:17 Bruno Mars - Gorilla [Official Music Video]-AHDtXqjgEj4.mp4

The combined file size and audio the same size, which is why? Plagued many days, and have tried various methods

Originally created by @Enivel on GitHub (Jun 22, 2014). root@li565-235:~/a# youtube-dl -f 137+140 https://www.youtube.com/watch?v=AHDtXqjgEj4 [youtube] Setting language [youtube] AHDtXqjgEj4: Downloading webpage [youtube] AHDtXqjgEj4: Downloading video info webpage [youtube] AHDtXqjgEj4: Extracting video information [youtube] AHDtXqjgEj4: Encrypted signatures detected. [download] Destination: Bruno Mars - Gorilla [Official Music Video]-AHDtXqjgEj4.f137.mp4 [download] 100% of 121.28MiB in 00:04 [download] Destination: Bruno Mars - Gorilla [Official Music Video]-AHDtXqjgEj4.f140.m4a [download] 100% of 5.50MiB in 00:00 [ffmpeg] Merging formats into "Bruno Mars - Gorilla [Official Music Video]-AHDtXqjgEj4.mp4" root@li565-235:~/a# ll total 135672 drwxr-xr-x 2 root root 4096 Jun 22 12:17 ./ drwx------ 8 root root 4096 Jun 22 10:21 ../ -rw-r--r-- 1 root root 127168794 Feb 3 19:36 Bruno Mars - Gorilla [Official Music Video]-AHDtXqjgEj4.f137.mp4 -rw-r--r-- 1 root root 5763250 Feb 3 19:36 Bruno Mars - Gorilla [Official Music Video]-AHDtXqjgEj4.f140.m4a -rw-r--r-- 1 root root 5821714 Jun 22 12:17 Bruno Mars - Gorilla [Official Music Video]-AHDtXqjgEj4.mp4 The combined file size and audio the same size, which is why? Plagued many days, and have tried various methods
Author
Owner

@jaimeMF commented on GitHub (Jun 22, 2014):

Please post the output of youtube-dl -f 137+140 https://www.youtube.com/watch?v=AHDtXqjgEj4 --verbose.

By the way: it seems you are running youtube-dl with the root user, don't do that, bad things can happen. You should only need to use root when updating.

@jaimeMF commented on GitHub (Jun 22, 2014): Please post the output of `youtube-dl -f 137+140 https://www.youtube.com/watch?v=AHDtXqjgEj4 --verbose`. By the way: it seems you are running youtube-dl with the root user, don't do that, bad things can happen. You should only need to use root when updating.
Author
Owner

@Enivel commented on GitHub (Jun 23, 2014):

Thank you, this is just a test system

root@li565-235:# youtube-dl -f 137+140 https://www.youtube.com/watch?v=AHDtXqjgEj4 --verbose
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['-f', '137+140', 'https://www.youtube.com/watch?v=AHDtXqjgEj4', '--verbose']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2014.06.19
[debug] Python version 2.7.3 - Linux-3.14.4-x86_64-linode40-x86_64-with-Ubuntu-12.04-precise
[debug] Proxy map: {}
[youtube] Setting language
[youtube] AHDtXqjgEj4: Downloading webpage
[youtube] AHDtXqjgEj4: Downloading video info webpage
[youtube] AHDtXqjgEj4: Extracting video information
[youtube] AHDtXqjgEj4: Encrypted signatures detected.
[youtube] encrypted signature length 82 (40.41), itag 22, html5 player en_US-vflgt97Vg
[youtube] encrypted signature length 82 (40.41), itag 43, html5 player en_US-vflgt97Vg
[youtube] encrypted signature length 82 (40.41), itag 18, html5 player en_US-vflgt97Vg
[youtube] encrypted signature length 82 (40.41), itag 5, html5 player en_US-vflgt97Vg
[youtube] encrypted signature length 82 (40.41), itag 36, html5 player en_US-vflgt97Vg
[youtube] encrypted signature length 82 (40.41), itag 17, html5 player en_US-vflgt97Vg
[youtube] encrypted signature length 83 (42.40), itag 137, html5 player en_US-vflgt97Vg
[youtube] encrypted signature length 83 (42.40), itag 248, html5 player en_US-vflgt97Vg
[youtube] encrypted signature length 83 (42.40), itag 136, html5 player en_US-vflgt97Vg
[youtube] encrypted signature length 83 (42.40), itag 247, html5 player en_US-vflgt97Vg
[youtube] encrypted signature length 83 (42.40), itag 135, html5 player en_US-vflgt97Vg
[youtube] encrypted signature length 83 (42.40), itag 244, html5 player en_US-vflgt97Vg
[youtube] encrypted signature length 83 (42.40), itag 134, html5 player en_US-vflgt97Vg
[youtube] encrypted signature length 83 (42.40), itag 243, html5 player en_US-vflgt97Vg
[youtube] encrypted signature length 83 (42.40), itag 133, html5 player en_US-vflgt97Vg
[youtube] encrypted signature length 83 (42.40), itag 242, html5 player en_US-vflgt97Vg
[youtube] encrypted signature length 83 (42.40), itag 160, html5 player en_US-vflgt97Vg
[youtube] encrypted signature length 83 (42.40), itag 140, html5 player en_US-vflgt97Vg
[youtube] encrypted signature length 83 (42.40), itag 171, html5 player en_US-vflgt97Vg
[youtube] encrypted signature length 82 (40.41), itag 137, html5 player en_US-vflgt97Vg
[youtube] encrypted signature length 82 (40.41), itag 248, html5 player en_US-vflgt97Vg
[youtube] encrypted signature length 82 (40.41), itag 136, html5 player en_US-vflgt97Vg
[youtube] encrypted signature length 82 (40.41), itag 247, html5 player en_US-vflgt97Vg
[youtube] encrypted signature length 82 (40.41), itag 135, html5 player en_US-vflgt97Vg
[youtube] encrypted signature length 82 (40.41), itag 244, html5 player en_US-vflgt97Vg
[youtube] encrypted signature length 82 (40.41), itag 134, html5 player en_US-vflgt97Vg
[youtube] encrypted signature length 82 (40.41), itag 243, html5 player en_US-vflgt97Vg
[youtube] encrypted signature length 82 (40.41), itag 133, html5 player en_US-vflgt97Vg
[youtube] encrypted signature length 82 (40.41), itag 242, html5 player en_US-vflgt97Vg
[youtube] encrypted signature length 82 (40.41), itag 160, html5 player en_US-vflgt97Vg
[youtube] encrypted signature length 82 (40.41), itag 140, html5 player en_US-vflgt97Vg
[youtube] encrypted signature length 82 (40.41), itag 171, html5 player en_US-vflgt97Vg
[download] Destination: Bruno Mars - Gorilla [Official Music Video]-AHDtXqjgEj4.f137.mp4
[download] 100% of 121.28MiB in 00:07
[download] Destination: Bruno Mars - Gorilla [Official Music Video]-AHDtXqjgEj4.f140.m4a
[download] 100% of 5.50MiB in 00:00
[ffmpeg] Merging formats into "Bruno Mars - Gorilla [Official Music Video]-AHDtXqjgEj4.mp4"
[debug] ffmpeg command line: avconv -y -i 'Bruno Mars - Gorilla [Official Music Video]-AHDtXqjgEj4.f137.mp4' -i 'Bruno Mars - Gorilla [Official Music Video]-AHDtXqjgEj4.f140.m4a' -c copy 'Bruno Mars - Gorilla [Official Music Video]-AHDtXqjgEj4.mp4'
root@li565-235:
# ll
total 330460
drwx------ 8 root root 4096 Jun 23 08:55 ./
drwxr-xr-x 23 root root 4096 Jun 20 17:50 ../
drwxr-xr-x 2 root root 4096 Jun 22 12:44 a/
-rw------- 1 root root 17177 Jun 22 17:33 .bash_history
-rw-r--r-- 1 root root 3106 Apr 19 2012 .bashrc
-rw-r--r-- 1 root root 1047552 Jun 20 17:53 BBW teen fucked-20167121.mp4.part
-rw-r--r-- 1 root root 127168794 Feb 3 19:36 Bruno Mars - Gorilla [Official Music Video]-AHDtXqjgEj4.f137.mp4
-rw-r--r-- 1 root root 5763250 Feb 3 19:36 Bruno Mars - Gorilla [Official Music Video]-AHDtXqjgEj4.f140.m4a
-rw-r--r-- 1 root root 5821714 Jun 23 08:55 Bruno Mars - Gorilla [Official Music Video]-AHDtXqjgEj4.mp4

@Enivel commented on GitHub (Jun 23, 2014): Thank you, this is just a test system root@li565-235:~# youtube-dl -f 137+140 https://www.youtube.com/watch?v=AHDtXqjgEj4 --verbose [debug] System config: [] [debug] User config: [] [debug] Command-line args: ['-f', '137+140', 'https://www.youtube.com/watch?v=AHDtXqjgEj4', '--verbose'] [debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8 [debug] youtube-dl version 2014.06.19 [debug] Python version 2.7.3 - Linux-3.14.4-x86_64-linode40-x86_64-with-Ubuntu-12.04-precise [debug] Proxy map: {} [youtube] Setting language [youtube] AHDtXqjgEj4: Downloading webpage [youtube] AHDtXqjgEj4: Downloading video info webpage [youtube] AHDtXqjgEj4: Extracting video information [youtube] AHDtXqjgEj4: Encrypted signatures detected. [youtube] encrypted signature length 82 (40.41), itag 22, html5 player en_US-vflgt97Vg [youtube] encrypted signature length 82 (40.41), itag 43, html5 player en_US-vflgt97Vg [youtube] encrypted signature length 82 (40.41), itag 18, html5 player en_US-vflgt97Vg [youtube] encrypted signature length 82 (40.41), itag 5, html5 player en_US-vflgt97Vg [youtube] encrypted signature length 82 (40.41), itag 36, html5 player en_US-vflgt97Vg [youtube] encrypted signature length 82 (40.41), itag 17, html5 player en_US-vflgt97Vg [youtube] encrypted signature length 83 (42.40), itag 137, html5 player en_US-vflgt97Vg [youtube] encrypted signature length 83 (42.40), itag 248, html5 player en_US-vflgt97Vg [youtube] encrypted signature length 83 (42.40), itag 136, html5 player en_US-vflgt97Vg [youtube] encrypted signature length 83 (42.40), itag 247, html5 player en_US-vflgt97Vg [youtube] encrypted signature length 83 (42.40), itag 135, html5 player en_US-vflgt97Vg [youtube] encrypted signature length 83 (42.40), itag 244, html5 player en_US-vflgt97Vg [youtube] encrypted signature length 83 (42.40), itag 134, html5 player en_US-vflgt97Vg [youtube] encrypted signature length 83 (42.40), itag 243, html5 player en_US-vflgt97Vg [youtube] encrypted signature length 83 (42.40), itag 133, html5 player en_US-vflgt97Vg [youtube] encrypted signature length 83 (42.40), itag 242, html5 player en_US-vflgt97Vg [youtube] encrypted signature length 83 (42.40), itag 160, html5 player en_US-vflgt97Vg [youtube] encrypted signature length 83 (42.40), itag 140, html5 player en_US-vflgt97Vg [youtube] encrypted signature length 83 (42.40), itag 171, html5 player en_US-vflgt97Vg [youtube] encrypted signature length 82 (40.41), itag 137, html5 player en_US-vflgt97Vg [youtube] encrypted signature length 82 (40.41), itag 248, html5 player en_US-vflgt97Vg [youtube] encrypted signature length 82 (40.41), itag 136, html5 player en_US-vflgt97Vg [youtube] encrypted signature length 82 (40.41), itag 247, html5 player en_US-vflgt97Vg [youtube] encrypted signature length 82 (40.41), itag 135, html5 player en_US-vflgt97Vg [youtube] encrypted signature length 82 (40.41), itag 244, html5 player en_US-vflgt97Vg [youtube] encrypted signature length 82 (40.41), itag 134, html5 player en_US-vflgt97Vg [youtube] encrypted signature length 82 (40.41), itag 243, html5 player en_US-vflgt97Vg [youtube] encrypted signature length 82 (40.41), itag 133, html5 player en_US-vflgt97Vg [youtube] encrypted signature length 82 (40.41), itag 242, html5 player en_US-vflgt97Vg [youtube] encrypted signature length 82 (40.41), itag 160, html5 player en_US-vflgt97Vg [youtube] encrypted signature length 82 (40.41), itag 140, html5 player en_US-vflgt97Vg [youtube] encrypted signature length 82 (40.41), itag 171, html5 player en_US-vflgt97Vg [download] Destination: Bruno Mars - Gorilla [Official Music Video]-AHDtXqjgEj4.f137.mp4 [download] 100% of 121.28MiB in 00:07 [download] Destination: Bruno Mars - Gorilla [Official Music Video]-AHDtXqjgEj4.f140.m4a [download] 100% of 5.50MiB in 00:00 [ffmpeg] Merging formats into "Bruno Mars - Gorilla [Official Music Video]-AHDtXqjgEj4.mp4" [debug] ffmpeg command line: avconv -y -i 'Bruno Mars - Gorilla [Official Music Video]-AHDtXqjgEj4.f137.mp4' -i 'Bruno Mars - Gorilla [Official Music Video]-AHDtXqjgEj4.f140.m4a' -c copy 'Bruno Mars - Gorilla [Official Music Video]-AHDtXqjgEj4.mp4' root@li565-235:~# ll total 330460 drwx------ 8 root root 4096 Jun 23 08:55 ./ drwxr-xr-x 23 root root 4096 Jun 20 17:50 ../ drwxr-xr-x 2 root root 4096 Jun 22 12:44 a/ -rw------- 1 root root 17177 Jun 22 17:33 .bash_history -rw-r--r-- 1 root root 3106 Apr 19 2012 .bashrc -rw-r--r-- 1 root root 1047552 Jun 20 17:53 BBW teen fucked-20167121.mp4.part -rw-r--r-- 1 root root 127168794 Feb 3 19:36 Bruno Mars - Gorilla [Official Music Video]-AHDtXqjgEj4.f137.mp4 -rw-r--r-- 1 root root 5763250 Feb 3 19:36 Bruno Mars - Gorilla [Official Music Video]-AHDtXqjgEj4.f140.m4a -rw-r--r-- 1 root root 5821714 Jun 23 08:55 Bruno Mars - Gorilla [Official Music Video]-AHDtXqjgEj4.mp4
Author
Owner

@jaimeMF commented on GitHub (Jun 23, 2014):

Could you run avconv -y -i 'Bruno Mars - Gorilla [Official Music Video]-AHDtXqjgEj4.f137.mp4' -i 'Bruno Mars - Gorilla [Official Music Video]-AHDtXqjgEj4.f140.m4a' -c copy 'Bruno Mars - Gorilla [Official Music Video]-AHDtXqjgEj4.mp4'(that's what youtube-dl uses for merging the formats) and post the output?, probably you have a version of avconv too old for merging the DASH formats.

About using the root user, I wouldn't use it, but it's up to you.

@jaimeMF commented on GitHub (Jun 23, 2014): Could you run `avconv -y -i 'Bruno Mars - Gorilla [Official Music Video]-AHDtXqjgEj4.f137.mp4' -i 'Bruno Mars - Gorilla [Official Music Video]-AHDtXqjgEj4.f140.m4a' -c copy 'Bruno Mars - Gorilla [Official Music Video]-AHDtXqjgEj4.mp4'`(that's what youtube-dl uses for merging the formats) and post the output?, probably you have a version of avconv too old for merging the DASH formats. About using the root user, I wouldn't use it, but it's up to you.
Author
Owner

@Enivel commented on GitHub (Jun 23, 2014):

avconv version 0.8.12-4:0.8.12-0ubuntu0.12.04.1, Copyright (c) 2000-2014 the Libav developers
built on Jun 10 2014 15:31:10 with gcc 4.6.3

avconv -y -i 'Bruno Mars - Gorilla [Official Music Video]-AHDtXqjgEj4.f137.mp4' -i 'Bruno Mars - Gorilla [Official Music Video]-AHDtXqjgEj4.f140.m4a' -c copy 'Bruno Mars - Gorilla [Official Music Video]-AHDtXqjgEj4.mp4'
avconv version 0.8.12-4:0.8.12-0ubuntu0.12.04.1, Copyright (c) 2000-2014 the Libav developers
built on Jun 10 2014 15:31:10 with gcc 4.6.3
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'Bruno Mars - Gorilla [Official Music Video]-AHDtXqjgEj4.f137.mp4':
Metadata:
major_brand : dash
minor_version : 0
compatible_brands: iso6avc1mp41
creation_time : 2014-02-02 19:36:29
Duration: 00:12:05.56, start: 362.770156, bitrate: 1402 kb/s
Stream #0.0(und): Video: h264 (High), yuv420p, 1920x1080, 23.97 tbr, 90k tbn, 47.95 tbc
Metadata:
creation_time : 2014-02-02 19:36:29
Input #1, mov,mp4,m4a,3gp,3g2,mj2, from 'Bruno Mars - Gorilla [Official Music Video]-AHDtXqjgEj4.f140.m4a':
Metadata:
major_brand : dash
minor_version : 0
compatible_brands: iso6mp41
creation_time : 2014-02-02 19:36:18
Duration: 00:12:05.67, start: 362.835011, bitrate: 63 kb/s
Stream #1.0(und): Audio: aac, 44100 Hz, stereo, s16
Metadata:
creation_time : 2014-02-02 19:36:18
Output #0, mp4, to 'Bruno Mars - Gorilla [Official Music Video]-AHDtXqjgEj4.mp4':
Metadata:
major_brand : dash
minor_version : 0
compatible_brands: iso6avc1mp41
creation_time : 2014-02-02 19:36:29
encoder : Lavf53.21.1
Stream #0.0(und): Video: ![0][0][0] / 0x0021, yuv420p, 1920x1080, q=2-31, 90k tbn, 90k tbc
Metadata:
creation_time : 2014-02-02 19:36:29
Stream #0.1(und): Audio: aac, 44100 Hz, stereo
Metadata:
creation_time : 2014-02-02 19:36:18
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= 5685kB time=362.84 bitrate= 128.4kbits/s
video:0kB audio:5562kB global headers:0kB muxing overhead 2.207452%

Thanks

@Enivel commented on GitHub (Jun 23, 2014): avconv version 0.8.12-4:0.8.12-0ubuntu0.12.04.1, Copyright (c) 2000-2014 the Libav developers built on Jun 10 2014 15:31:10 with gcc 4.6.3 avconv -y -i 'Bruno Mars - Gorilla [Official Music Video]-AHDtXqjgEj4.f137.mp4' -i 'Bruno Mars - Gorilla [Official Music Video]-AHDtXqjgEj4.f140.m4a' -c copy 'Bruno Mars - Gorilla [Official Music Video]-AHDtXqjgEj4.mp4' avconv version 0.8.12-4:0.8.12-0ubuntu0.12.04.1, Copyright (c) 2000-2014 the Libav developers built on Jun 10 2014 15:31:10 with gcc 4.6.3 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'Bruno Mars - Gorilla [Official Music Video]-AHDtXqjgEj4.f137.mp4': Metadata: major_brand : dash minor_version : 0 compatible_brands: iso6avc1mp41 creation_time : 2014-02-02 19:36:29 Duration: 00:12:05.56, start: 362.770156, bitrate: 1402 kb/s Stream #0.0(und): Video: h264 (High), yuv420p, 1920x1080, 23.97 tbr, 90k tbn, 47.95 tbc Metadata: creation_time : 2014-02-02 19:36:29 Input #1, mov,mp4,m4a,3gp,3g2,mj2, from 'Bruno Mars - Gorilla [Official Music Video]-AHDtXqjgEj4.f140.m4a': Metadata: major_brand : dash minor_version : 0 compatible_brands: iso6mp41 creation_time : 2014-02-02 19:36:18 Duration: 00:12:05.67, start: 362.835011, bitrate: 63 kb/s Stream #1.0(und): Audio: aac, 44100 Hz, stereo, s16 Metadata: creation_time : 2014-02-02 19:36:18 Output #0, mp4, to 'Bruno Mars - Gorilla [Official Music Video]-AHDtXqjgEj4.mp4': Metadata: major_brand : dash minor_version : 0 compatible_brands: iso6avc1mp41 creation_time : 2014-02-02 19:36:29 encoder : Lavf53.21.1 Stream #0.0(und): Video: ![0][0][0] / 0x0021, yuv420p, 1920x1080, q=2-31, 90k tbn, 90k tbc Metadata: creation_time : 2014-02-02 19:36:29 Stream #0.1(und): Audio: aac, 44100 Hz, stereo Metadata: creation_time : 2014-02-02 19:36:18 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= 5685kB time=362.84 bitrate= 128.4kbits/s video:0kB audio:5562kB global headers:0kB muxing overhead 2.207452% Thanks
Author
Owner

@jaimeMF commented on GitHub (Jun 23, 2014):

The avconv version is too old, you'll need to get a newer version (in 10.* it works fine).

@jaimeMF commented on GitHub (Jun 23, 2014): The avconv version is too old, you'll need to get a newer version (in 10.\* it works fine).
Author
Owner

@phihag commented on GitHub (Jun 23, 2014):

Can we detect this error case? If so, youtube-dl should at least warn, if not error out, and provide useful instructions.

@phihag commented on GitHub (Jun 23, 2014): Can we detect this error case? If so, youtube-dl should at least warn, if not error out, and provide useful instructions.
Author
Owner

@jaimeMF commented on GitHub (Jun 23, 2014):

We could just run avconv -version and check if it's not too old, but we would need to know in which version they added support for the DASH formats. The same should be done for ffmpeg.

@jaimeMF commented on GitHub (Jun 23, 2014): We could just run `avconv -version` and check if it's not too old, but we would need to know in which version they added support for the DASH formats. The same should be done for ffmpeg.
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-ytdl-org#2481
No description provided.