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

[Youtube] Choppy playback after merge 137 and 140 format with ffmpeg #12031

Closed
Cinerar opened this issue Feb 8, 2017 · 1 comment
Closed

[Youtube] Choppy playback after merge 137 and 140 format with ffmpeg #12031

Cinerar opened this issue Feb 8, 2017 · 1 comment

Comments

@Cinerar
Copy link

@Cinerar Cinerar commented Feb 8, 2017

Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2017.02.07. If it's not read this FAQ entry and update. Issues with outdated version will be rejected.

  • I've verified and I assure that I'm running youtube-dl 2017.02.07

Before submitting an issue make sure you have:

  • At least skimmed through README and most notably FAQ and BUGS sections
  • Searched the bugtracker for similar issues including closed ones

What is the purpose of your issue?

  • Bug report (encountered problems with youtube-dl)
  • Site support request (request for adding support for a new site)
  • Feature request (request for a new functionality)
  • Question
  • Other


D:\!Incoming\Youtube-dl>youtube-dl.exe -v  http://www.youtube.com/watch?v=tecfyU
B-bmA
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-v', 'http://www.youtube.com/watch?v=tecfyUB-bmA']
[debug] Encodings: locale cp1251, fs mbcs, out cp866, pref cp1251
[debug] youtube-dl version 2017.02.07
[debug] Python version 3.4.4 - Windows-8.1-6.3.9600
[debug] exe versions: ffmpeg 3.2.2, ffprobe 3.2.2
[debug] Proxy map: {}
[youtube] tecfyUB-bmA: Downloading webpage
[youtube] tecfyUB-bmA: Downloading video info webpage
[youtube] tecfyUB-bmA: Extracting video information
[youtube] tecfyUB-bmA: Downloading MPD manifest
[youtube] tecfyUB-bmA: Downloading MPD manifest
[debug] Invoking downloader on 'https://r3---sn-n3toxu-axql.googlevideo.com/vide
oplayback/id/b5e71fc9407e6e60/itag/137/source/yt_otf/requiressl/yes/ms/au/initcw
ndbps/4262500/pl/24/mv/m/mm/31/mn/sn-n3toxu-axql/ratebypass/yes/mime/video%2Fmp4
/otfp/1/otf/1/lmt/1454623116885843/mt/1486596502/signature/90CF8993251CEFD9EC124
65F0590ACBF0ADA93F5.3261FA894F2B6DCCC890A9232AFFAA673F0185C4/key/dg_yt0/upn/qEQd
efyiOG8/ip/188.243.111.129/ipbits/0/expire/1486618179/sparams/ip,ipbits,expire,i
d,itag,source,requiressl,ms,initcwndbps,pl,mv,mm,mn,ratebypass,mime,otfp,otf,lmt
/'
[dashsegments] Total fragments: 50
[download] Destination: Полеты над Кронштадтом-tecfyUB-bmA.f137.mp4
[download] 100% of 112.46MiB in 00:11
[debug] Invoking downloader on 'https://r3---sn-n3toxu-axql.googlevideo.com/vide
oplayback/id/b5e71fc9407e6e60/itag/140/source/youtube/requiressl/yes/ms/au/initc
wndbps/4262500/pl/24/mv/m/mm/31/mn/sn-n3toxu-axql/ratebypass/yes/mime/audio%2Fmp
4/otfp/1/gir/yes/clen/3933733/lmt/1454622950964008/dur/247.455/mt/1486596502/sig
nature/917E545CB6172527F64744B7C2537E9B660CC01C.69457A4AC2FB61D1BEF11A8838CFDA4C
3EB44D01/key/dg_yt0/upn/qEQdefyiOG8/ip/188.243.111.129/ipbits/0/expire/148661817
9/sparams/ip,ipbits,expire,id,itag,source,requiressl,ms,initcwndbps,pl,mv,mm,mn,
ratebypass,mime,otfp,gir,clen,lmt,dur/'
[dashsegments] Total fragments: 51
[download] Destination: Полеты над Кронштадтом-tecfyUB-bmA.f140.m4a
[download] 100% of 3.75MiB in 00:01
[ffmpeg] Merging formats into "Полеты над Кронштадтом-tecfyUB-bmA.mp4"
[debug] ffmpeg command line: ffmpeg -y -i 'file:Полеты над Кронштадтом-tecfyUB-b
mA.f137.mp4' -i 'file:Полеты над Кронштадтом-tecfyUB-bmA.f140.m4a' -c copy -map
0:v:0 -map 1:a:0 'file:Полеты над Кронштадтом-tecfyUB-bmA.temp.mp4'
Deleting original file Полеты над Кронштадтом-tecfyUB-bmA.f137.mp4 (pass -k to k
eep)
Deleting original file Полеты над Кронштадтом-tecfyUB-bmA.f140.m4a (pass -k to k
eep)
...
<end of log>

After merge - playback is choppy, looks like it is about 7-12 fps instead of 25.

If i use -k to not delete tracks and merge same files with mp4box playback is fine. But i recieve errors:

D:\!Incoming\Youtube-dl>mp4box.exe -add "Полеты над Кронштадтом-tecfyUB-bmA.f137
.mp4" -add "Полеты над Кронштадтом-tecfyUB-bmA.f140.m4a" test1.mp4

there are lot of them

[iso file] Warning: wrong sequence number: got 1 but last one was 1
[AVC/HEVC] Not enough bits in bitstream !!
[iso file] Warning: wrong sequence number: got 1 but last one was 1

.....

@Cinerar
Copy link
Author

@Cinerar Cinerar commented Feb 9, 2017

Found out that this happens only with old urls, new ones are ok.

@Cinerar Cinerar closed this Feb 9, 2017
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
1 participant
You can’t perform that action at this time.