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

Help with CW #9123

Closed
jschwalbe opened this issue Apr 9, 2016 · 5 comments
Closed

Help with CW #9123

jschwalbe opened this issue Apr 9, 2016 · 5 comments

Comments

@jschwalbe
Copy link

@jschwalbe jschwalbe commented Apr 9, 2016

  • [ X ] I've verified and I assure that I'm running youtube-dl 2016.04.06

Before submitting an issue make sure you have:

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

What is the purpose of your issue?

  • [ X ] Bug report (encountered problems with youtube-dl)
  • [ X ] Question
[user@1 :: ~/downloaders]$ youtube-dl -v http://www.cwtv.com/shows/jane-the-virgin/chapter-thirty-eight/?play=ce23e0a2-89d5-4dc3-810d-a4076beade5f
[debug] System config: []
[debug] User config: []
[debug] Command-line args: [u'-v', u'http://www.cwtv.com/shows/jane-the-virgin/chapter-thirty-eight/?play=ce23e0a2-89d5-4dc3-810d-a4076beade5f']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2016.04.06
[debug] Python version 2.7.6 - Darwin-14.1.0-x86_64-i386-64bit
[debug] exe versions: ffmpeg 3.0.1, ffprobe 3.0.1, rtmpdump 2.4
[debug] Proxy map: {}
[CWTV] ce23e0a2-89d5-4dc3-810d-a4076beade5f: Downloading JSON metadata
[CWTV] ce23e0a2-89d5-4dc3-810d-a4076beade5f: Downloading m3u8 information
[debug] Invoking downloader on u'http://hlsioscwtv.warnerbros.com/hls/2016/03/26/JaneTheVirgin-216-ChapterThirtyEight-CW-Stereo_a3a2bb56f_2100kbps/JaneTheVirgin-216-ChapterThirtyEight-CW-Stereo_a3a2bb56f_2100kbps.m3u8'
[download] Destination: Chapter Thirty-Eight-ce23e0a2-89d5-4dc3-810d-a4076beade5f.mp4
[debug] ffmpeg command line: ffmpeg -y -headers 'Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip, deflate
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0) Gecko/20150101 Firefox/44.0 (Chrome)
' -i http://hlsioscwtv.warnerbros.com/hls/2016/03/26/JaneTheVirgin-216-ChapterThirtyEight-CW-Stereo_a3a2bb56f_2100kbps/JaneTheVirgin-216-ChapterThirtyEight-CW-Stereo_a3a2bb56f_2100kbps.m3u8 -c copy -f mp4 -bsf:a aac_adtstoasc 'file:Chapter Thirty-Eight-ce23e0a2-89d5-4dc3-810d-a4076beade5f.mp4.part'
ffmpeg version 3.0.1 Copyright (c) 2000-2016 the FFmpeg developers
  built with Apple LLVM version 7.0.2 (clang-700.1.81)
  configuration: --prefix=/usr/local/Cellar/ffmpeg/3.0.1 --enable-shared --enable-pthreads --enable-gpl --enable-version3 --enable-hardcoded-tables --enable-avresample --cc=clang --host-cflags= --host-ldflags= --enable-opencl --enable-libx264 --enable-libmp3lame --enable-libxvid --enable-vda
  libavutil      55. 17.103 / 55. 17.103
  libavcodec     57. 24.102 / 57. 24.102
  libavformat    57. 25.100 / 57. 25.100
  libavdevice    57.  0.101 / 57.  0.101
  libavfilter     6. 31.100 /  6. 31.100
  libavresample   3.  0.  0 /  3.  0.  0
  libswscale      4.  0.100 /  4.  0.100
  libswresample   2.  0.101 /  2.  0.101
  libpostproc    54.  0.100 / 54.  0.100
Input #0, hls,applehttp, from 'http://hlsioscwtv.warnerbros.com/hls/2016/03/26/JaneTheVirgin-216-ChapterThirtyEight-CW-Stereo_a3a2bb56f_2100kbps/JaneTheVirgin-216-ChapterThirtyEight-CW-Stereo_a3a2bb56f_2100kbps.m3u8':
  Duration: 00:42:38.70, start: 10.000000, bitrate: 0 kb/s
  Program 0 
    Metadata:
      variant_bitrate : 0
    Stream #0:0: Video: h264 (Constrained Baseline) ([27][0][0][0] / 0x001B), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], 23.98 fps, 23.98 tbr, 90k tbn, 47.95 tbc
    Stream #0:1: Audio: aac (LC) ([15][0][0][0] / 0x000F), 44100 Hz, stereo, fltp, 5 kb/s
Output #0, mp4, to 'file:Chapter Thirty-Eight-ce23e0a2-89d5-4dc3-810d-a4076beade5f.mp4.part':
  Metadata:
    encoder         : Lavf57.25.100
    Stream #0:0: Video: h264 ([33][0][0][0] / 0x0021), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], q=2-31, 23.98 fps, 23.98 tbr, 90k tbn, 90k tbc
    Stream #0:1: Audio: aac (LC) ([64][0][0][0] / 0x0040), 44100 Hz, stereo, 5 kb/s
Stream mapping:
  Stream #0:0 -> #0:0 (copy)
  Stream #0:1 -> #0:1 (copy)
Press [q] to stop, [?] for help
[mp4 @ 0x7fd2540b0e00] Non-monotonous DTS in output stream 0:1; previous: 20480, current: 0; changing to 20481. This may result in incorrect timestamps in the output file.
frame=  362 fps=361 q=-1.0 size=    3297kB time=00:00:15.05 bitrate=1793.9kbits/s speed=  
**_PERSONAL NOTE: At this point it pauses without any output or updates for a few minutes and then refreshes with the time= part changed by about 30 seconds and then the process continues like this.._**
[http @ 0x7fd253d3cc80] Stream ends prematurely at 47691, should be 2493072bits/s speed=0.164x    
    Last message repeated 1 times
[mpegts @ 0x7fd254801000] PES packet size mismatch
[crypto @ 0x7fd253c341c0] Unable to open resource: http://hlsioscwtv.warnerbros.com/hls/2016/03/26/JaneTheVirgin-216-ChapterThirtyEight-CW-Stereo_a3a2bb56f_2100kbps/JaneTheVirgin-216-ChapterThirtyEight-CW-Stereo_a3a2bb56f_2100kbps-4.ts
[hls,applehttp @ 0x7fd25400da00] Failed to open segment of playlist 0
frame=  904 fps=6.0 q=-1.0 size=    8811kB time=00:00:57.43 bitrate=1256.8kbits/s speed=0.382x    


**^C^C**[crypto @ 0x7fd253c35740] Unable to open resource: http://hlsioscwtv.warnerbros.com/hls/2016/03/26/JaneTheVirgin-216-ChapterThirtyEight-CW-Stereo_a3a2bb56f_2100kbps/JaneTheVirgin-216-ChapterThirtyEight-CW-Stereo_a3a2bb56f_2100kbps-6.ts
av_interleaved_write_frame(): Immediate exit requested
Error writing trailer of file:Chapter Thirty-Eight-ce23e0a2-89d5-4dc3-810d-a4076beade5f.mp4.part: Immediate exit requestedframe=  959 fps=1.1 q=-1.0 Lsize=    9498kB time=00:00:59.83 bitrate=1300.2kbits/s speed=0.0656x    
video:8888kB audio:615kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown

ERROR: Interrupted by user
Exiting normally, received signal 2.

And on my other computer, same command, same versions, it runs mostly okay - a few errors but appears to have downloaded in full:

[user@2 :: /tmp]$ youtube-dl -v http://www.cwtv.com/shows/jane-the-virgin/chapter-thirty-eight/?play=ce23e0a2-89d5-4dc3-810d-a4076beade5f
[debug] System config: []
[debug] User config: []
[debug] Command-line args: [u'-v', u'http://www.cwtv.com/shows/jane-the-virgin/chapter-thirty-eight/?play=ce23e0a2-89d5-4dc3-810d-a4076beade5f']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2016.04.06
[debug] Python version 2.7.10 - Darwin-15.3.0-x86_64-i386-64bit
[debug] exe versions: ffmpeg 3.0.1, ffprobe 3.0.1, rtmpdump 2.4
[debug] Proxy map: {}
[CWTV] ce23e0a2-89d5-4dc3-810d-a4076beade5f: Downloading JSON metadata
[CWTV] ce23e0a2-89d5-4dc3-810d-a4076beade5f: Downloading m3u8 information
[debug] Invoking downloader on u'http://hlsioscwtv.warnerbros.com/hls/2016/03/26/JaneTheVirgin-216-ChapterThirtyEight-CW-Stereo_a3a2bb56f_2100kbps/JaneTheVirgin-216-ChapterThirtyEight-CW-Stereo_a3a2bb56f_2100kbps.m3u8'
[download] Destination: Chapter Thirty-Eight-ce23e0a2-89d5-4dc3-810d-a4076beade5f.mp4
[debug] ffmpeg command line: ffmpeg -y -headers 'Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip, deflate
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0) Gecko/20150101 Firefox/44.0 (Chrome)
' -i http://hlsioscwtv.warnerbros.com/hls/2016/03/26/JaneTheVirgin-216-ChapterThirtyEight-CW-Stereo_a3a2bb56f_2100kbps/JaneTheVirgin-216-ChapterThirtyEight-CW-Stereo_a3a2bb56f_2100kbps.m3u8 -c copy -f mp4 -bsf:a aac_adtstoasc 'file:Chapter Thirty-Eight-ce23e0a2-89d5-4dc3-810d-a4076beade5f.mp4.part'
ffmpeg version 3.0.1 Copyright (c) 2000-2016 the FFmpeg developers
  built with Apple LLVM version 7.3.0 (clang-703.0.29)
  configuration: --prefix=/usr/local/Cellar/ffmpeg/3.0.1 --enable-shared --enable-pthreads --enable-gpl --enable-version3 --enable-hardcoded-tables --enable-avresample --cc=clang --host-cflags= --host-ldflags= --enable-opencl --enable-libx264 --enable-libmp3lame --enable-libxvid --enable-vda
  libavutil      55. 17.103 / 55. 17.103
  libavcodec     57. 24.102 / 57. 24.102
  libavformat    57. 25.100 / 57. 25.100
  libavdevice    57.  0.101 / 57.  0.101
  libavfilter     6. 31.100 /  6. 31.100
  libavresample   3.  0.  0 /  3.  0.  0
  libswscale      4.  0.100 /  4.  0.100
  libswresample   2.  0.101 /  2.  0.101
  libpostproc    54.  0.100 / 54.  0.100
Input #0, hls,applehttp, from 'http://hlsioscwtv.warnerbros.com/hls/2016/03/26/JaneTheVirgin-216-ChapterThirtyEight-CW-Stereo_a3a2bb56f_2100kbps/JaneTheVirgin-216-ChapterThirtyEight-CW-Stereo_a3a2bb56f_2100kbps.m3u8':
  Duration: 00:42:38.70, start: 10.000000, bitrate: 0 kb/s
  Program 0 
    Metadata:
      variant_bitrate : 0
    Stream #0:0: Video: h264 (Constrained Baseline) ([27][0][0][0] / 0x001B), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], 23.98 fps, 23.98 tbr, 90k tbn, 47.95 tbc
    Stream #0:1: Audio: aac (LC) ([15][0][0][0] / 0x000F), 44100 Hz, stereo, fltp, 5 kb/s
Output #0, mp4, to 'file:Chapter Thirty-Eight-ce23e0a2-89d5-4dc3-810d-a4076beade5f.mp4.part':
  Metadata:
    encoder         : Lavf57.25.100
    Stream #0:0: Video: h264 ([33][0][0][0] / 0x0021), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], q=2-31, 23.98 fps, 23.98 tbr, 90k tbn, 90k tbc
    Stream #0:1: Audio: aac (LC) ([64][0][0][0] / 0x0040), 44100 Hz, stereo, 5 kb/s
Stream mapping:
  Stream #0:0 -> #0:0 (copy)
  Stream #0:1 -> #0:1 (copy)
Press [q] to stop, [?] for help
[mp4 @ 0x7fc30a005c00] Non-monotonous DTS in output stream 0:1; previous: 20480, current: 0; changing to 20481. This may result in incorrect timestamps in the output file.
[mp4 @ 0x7fc30a005c00] Non-monotonous DTS in output stream 0:0; previous: 3731228, current: 3731228; changing to 3731229. This may result in incorrect timestamps in the output file.
[mp4 @ 0x7fc30a005c00] Non-monotonous DTS in output stream 0:0; previous: 229500521, current: 229500521; changing to 229500522. This may result in incorrect timestamps in the output file.
[mp4 @ 0x7fc30a005c00] Non-monotonous DTS in output stream 0:0; previous: 229571843, current: 229571843; changing to 229571844. This may result in incorrect timestamps in the output file.
frame=61346 fps=307 q=-1.0 Lsize=  630511kB time=00:42:38.69 bitrate=2018.7kbits/s speed=12.8x    
video:589100kB audio:39206kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.350914%
[ffmpeg] Downloaded 645643208 bytes
[download] 100% of 615.73MiB


Description of your issue, suggested solution and other information

I have been using youtube-dl to get videos from CWTV (and others) and it's been working very well for the most part. But lately, and just with one computer, CW has been failing miserably. As you can see above, the same command works on one computer but not the other. So it's probably not the fault of youtube-dl by itself, but I'm really out of ideas!

Any thoughts of things I can try? Thanks much.

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Apr 9, 2016

It's not the same command. Post the command with the same URL.

@jschwalbe
Copy link
Author

@jschwalbe jschwalbe commented Apr 9, 2016

Thanks for noticing that! For the record, neither URL had been working on computer 1 for the past few days. I've updated the original post.

Also I highly doubt this is geo restricted, so I'd appreciate removing that label. My two computers are on the same home network (in USA), literally 15 feet away from each other. That's some pretty crazy geo-restriction!

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Apr 9, 2016

It's georestricted.

Sorry, this content is not available in your location

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Apr 9, 2016

As of the first log you've interrupted ffmpeg by yourself:

ERROR: Interrupted by user
Exiting normally, received signal 2.

Post the log of failure without manual interruption.

@jschwalbe
Copy link
Author

@jschwalbe jschwalbe commented Apr 9, 2016

Well I have no idea but I repeat the command (copy/pasted exact same) and now it works. I didn't reboot or anything. This has been plaguing me for days. Just needed to post about it. If it happens again I'll report back.

Re: geo-restricted label, my sincere apologies I thought the label was implying that my problem was due to geo-restriction.

Thank you again for your time!!

@jschwalbe jschwalbe closed this Apr 9, 2016
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
2 participants
You can’t perform that action at this time.