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

ifc aac_adtstoasc error #12584

Open
phinneus1 opened this issue Mar 27, 2017 · 2 comments
Open

ifc aac_adtstoasc error #12584

phinneus1 opened this issue Mar 27, 2017 · 2 comments

Comments

@phinneus1
Copy link

@phinneus1 phinneus1 commented Mar 27, 2017

Please follow the guide below

  • You will be asked some questions and requested to provide some information, please read them carefully and answer honestly
  • Put an x into all the boxes [ ] relevant to your issue (like that [x])
  • Use Preview tab to see how your issue will actually look like

Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2017.03.26. 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.03.26

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)
  • Site support request (request for adding support for a new site)
  • Feature request (request for a new functionality)
  • Question
  • Other

The following sections concretize particular purposed issues, you can erase any section (the contents between triple ---) not applicable to your issue


If the purpose of this issue is a bug report, site support request or you are not completely sure provide the full verbose output as follows:

Add -v flag to your command line you run youtube-dl with, copy the whole output and insert it here. It should look similar to one below (replace it with your log inserted between triple ```):

youtube-dl -v http://www.ifc.com/shows/brockmire/full-episodes/season-01/episode-01/rally-cap
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'-v', u'http://www.ifc.com/shows/brockmire/full-episodes/season-01/episode-01/rally-cap']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2017.03.26
[debug] Python version 2.7.12 - Linux-4.4.0-67-generic-x86_64-with-Ubuntu-16.04-xenial
[debug] exe versions: avconv 2.8.11-0ubuntu0.16.04.1, avprobe 2.8.11-0ubuntu0.16.04.1, ffmpeg 2.8.11-0ubuntu0.16.04.1, ffprobe 2.8.11-0ubuntu0.16.04.1
[debug] Proxy map: {}
[AMCNetworks] rally-cap: Downloading webpage
[AMCNetworks] rally-cap: Downloading JSON metadata
[AMCNetworks] qhWUnix2nQfK: Downloading SMIL data
[AMCNetworks] qhWUnix2nQfK: Downloading m3u8 information
[debug] Invoking downloader on u'https://amc350889sec-vh.akamaihd.net/i/AMC_Networks_-_IFC/265/1011/BROC_101_PRE_R_9075876516,88_mp4_video_1280x720_2432000_primary_audio_6,90_mp4_video_1920x1080_8000000_primary_audio_8,89_mp4_video_1920x1080_5000000_primary_audio_7,87_mp4_video_1280x720_1800000_primary_audio_5,86_mp4_video_960x540_1200000_primary_audio_4,85_mp4_video_640x360_568000_primary_audio_3,84_mp4_video_480x270_400000_primary_audio_2,83_mp4_video_416x234_168000_primary_audio_1,.mp4.csmil/index_1_av.m3u8?null=0&id=AgAtN+jIF0P6FRuc2Vh9Ay5elQRBx61tzd4n28govhZZFUAT2zpCS1ipNR7B%2fPKOQ5iIXQZFKBjXfQ%3d%3d&hdntl=exp=1490742683~acl=%2fi%2fAMC_Networks_-_IFC%2f265%2f1011%2fBROC_101_PRE_R_9075876516*~data=hdntl~hmac=50a2510c455820aa157e709e98e4c32736c0e933aed340a4f728bb3b22ce5516'
[download] Destination: Brockmire - Season 1 - Rally Cap-qhWUnix2nQfK.mp4
[debug] avconv command line: avconv -y -headers '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/47.0 (Chrome)
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Cookie: _alid_=NQSJDNFwkTNUl9q2K6Wmbw==; hdntl=exp=1490742683~acl=%2fi%2fAMC_Networks_-_IFC%2f265%2f1011%2fBROC_101_PRE_R_9075876516*~data=hdntl~hmac=50a2510c455820aa157e709e98e4c32736c0e933aed340a4f728bb3b22ce5516
' -i 'https://amc350889sec-vh.akamaihd.net/i/AMC_Networks_-_IFC/265/1011/BROC_101_PRE_R_9075876516,88_mp4_video_1280x720_2432000_primary_audio_6,90_mp4_video_1920x1080_8000000_primary_audio_8,89_mp4_video_1920x1080_5000000_primary_audio_7,87_mp4_video_1280x720_1800000_primary_audio_5,86_mp4_video_960x540_1200000_primary_audio_4,85_mp4_video_640x360_568000_primary_audio_3,84_mp4_video_480x270_400000_primary_audio_2,83_mp4_video_416x234_168000_primary_audio_1,.mp4.csmil/index_1_av.m3u8?null=0&id=AgAtN+jIF0P6FRuc2Vh9Ay5elQRBx61tzd4n28govhZZFUAT2zpCS1ipNR7B%2fPKOQ5iIXQZFKBjXfQ%3d%3d&hdntl=exp=1490742683~acl=%2fi%2fAMC_Networks_-_IFC%2f265%2f1011%2fBROC_101_PRE_R_9075876516*~data=hdntl~hmac=50a2510c455820aa157e709e98e4c32736c0e933aed340a4f728bb3b22ce5516' -c copy -f mp4 'file:Brockmire - Season 1 - Rally Cap-qhWUnix2nQfK.mp4.part'
ffmpeg version 2.8.11-0ubuntu0.16.04.1 Copyright (c) 2000-2017 the FFmpeg developers
  built with gcc 5.4.0 (Ubuntu 5.4.0-6ubuntu1~16.04.4) 20160609
  configuration: --prefix=/usr --extra-version=0ubuntu0.16.04.1 --build-suffix=-ffmpeg --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --cc=cc --cxx=g++ --enable-gpl --enable-shared --disable-stripping --disable-decoder=libopenjpeg --disable-decoder=libschroedinger --enable-avresample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libmodplug --enable-libmp3lame --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-librtmp --enable-libschroedinger --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxvid --enable-libzvbi --enable-openal --enable-opengl --enable-x11grab --enable-libdc1394 --enable-libiec61883 --enable-libzmq --enable-frei0r --enable-libx264 --enable-libopencv
  libavutil      54. 31.100 / 54. 31.100
  libavcodec     56. 60.100 / 56. 60.100
  libavformat    56. 40.101 / 56. 40.101
  libavdevice    56.  4.100 / 56.  4.100
  libavfilter     5. 40.101 /  5. 40.101
  libavresample   2.  1.  0 /  2.  1.  0
  libswscale      3.  1.101 /  3.  1.101
  libswresample   1.  2.101 /  1.  2.101
  libpostproc    53.  3.100 / 53.  3.100
[h264 @ 0x26c9700] non-existing SPS 0 referenced in buffering period
    Last message repeated 1 times
[h264 @ 0x2824660] non-existing SPS 0 referenced in buffering period
Input #0, hls,applehttp, from 'https://amc350889sec-vh.akamaihd.net/i/AMC_Networks_-_IFC/265/1011/BROC_101_PRE_R_9075876516,88_mp4_video_1280x720_2432000_primary_audio_6,90_mp4_video_1920x1080_8000000_primary_audio_8,89_mp4_video_1920x1080_5000000_primary_audio_7,87_mp4_video_1280x720_1800000_primary_audio_5,86_mp4_video_960x540_1200000_primary_audio_4,85_mp4_video_640x360_568000_primary_audio_3,84_mp4_video_480x270_400000_primary_audio_2,83_mp4_video_416x234_168000_primary_audio_1,.mp4.csmil/index_1_av.m3u8?null=0&id=AgAtN+jIF0P6FRuc2Vh9Ay5elQRBx61tzd4n28govhZZFUAT2zpCS1ipNR7B%2fPKOQ5iIXQZFKBjXfQ%3d%3d&hdntl=exp=1490742683~acl=%2fi%2fAMC_Networks_-_IFC%2f265%2f1011%2fBROC_101_PRE_R_9075876516*~data=hdntl~hmac=50a2510c455820aa157e709e98e4c32736c0e933aed340a4f728bb3b22ce5516':
  Duration: 00:23:23.40, start: 0.100511, bitrate: 0 kb/s
  Program 0
    Metadata:
      variant_bitrate : 0
    Stream #0:0: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], 29.97 fps, 29.97 tbr, 90k tbn, 59.94 tbc
    Stream #0:1: Audio: aac (LC) ([15][0][0][0] / 0x000F), 44100 Hz, stereo, fltp, 128 kb/s
[mp4 @ 0x26cb1a0] Codec for stream 0 does not use global headers but container format requires global headers
[mp4 @ 0x26cb1a0] Codec for stream 1 does not use global headers but container format requires global headers
Output #0, mp4, to 'file:Brockmire - Season 1 - Rally Cap-qhWUnix2nQfK.mp4.part':
  Metadata:
    encoder         : Lavf56.40.101
    Stream #0:0: Video: h264 ([33][0][0][0] / 0x0021), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 29.97 fps, 29.97 tbr, 90k tbn, 90k tbc
    Stream #0:1: Audio: aac ([64][0][0][0] / 0x0040), 44100 Hz, stereo, 128 kb/s
Stream mapping:
  Stream #0:0 -> #0:0 (copy)
  Stream #0:1 -> #0:1 (copy)
Press [q] to stop, [?] for help
[mp4 @ 0x26cb1a0] Malformed AAC bitstream detected: use the audio bitstream filter 'aac_adtstoasc' to fix it ('-bsf:a aac_adtstoasc' option with ffmpeg)
av_interleaved_write_frame(): Operation not permitted
frame=    1 fps=0.0 q=-1.0 Lsize=       3kB time=00:00:00.02 bitrate=1216.9kbits/s
video:3kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 15.727392%
Conversion failed!


ERROR: ffmpeg exited with code 1
  File "/usr/lib/python2.7/runpy.py", line 174, in _run_module_as_main
    "__main__", fname, loader, pkg_name)
  File "/usr/lib/python2.7/runpy.py", line 72, in _run_code
    exec code in run_globals
  File "/usr/local/bin/youtube-dl/__main__.py", line 19, in <module>
    youtube_dl.main()
  File "/usr/local/bin/youtube-dl/youtube_dl/__init__.py", line 464, in main
    _real_main(argv)
  File "/usr/local/bin/youtube-dl/youtube_dl/__init__.py", line 454, in _real_main
    retcode = ydl.download(all_urls)
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1884, in download
    url, force_generic_extractor=self.params.get('force_generic_extractor', False))
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 772, in extract_info
    return self.process_ie_result(ie_result, download, extra_info)
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 826, in process_ie_result
    return self.process_video_result(ie_result, download=download)
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1527, in process_video_result
    self.process_info(new_info)
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1791, in process_info
    success = dl(filename, info_dict)
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1733, in dl
    return fd.download(name, info)
  File "/usr/local/bin/youtube-dl/youtube_dl/downloader/common.py", line 356, in download
    return self.real_download(filename, info_dict)
  File "/usr/local/bin/youtube-dl/youtube_dl/downloader/external.py", line 47, in real_download
    self.get_basename(), retval))
  File "/usr/local/bin/youtube-dl/youtube_dl/downloader/common.py", line 162, in report_error
    self.ydl.report_error(*args, **kargs)
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 589, in report_error
    self.trouble(error_message, tb)
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 551, in trouble
    tb_data = traceback.format_list(traceback.extract_stack())

<end of log>

If the purpose of this issue is a site support request please provide all kinds of example URLs support for which should be included (replace following example URLs by yours):

Note that youtube-dl does not support sites dedicated to copyright infringement. In order for site support request to be accepted all provided example URLs should not violate any copyrights.


Description of your issue, suggested solution and other information

IFC dont work becuase of aac_adtstoasc error.....btw video above is free no login required

@phinneus1
Copy link
Author

@phinneus1 phinneus1 commented Mar 28, 2017

cbs also same thing.........sure am glad I backed up before upgrading

@joetex72
Copy link

@joetex72 joetex72 commented Mar 29, 2017

Try adding --prefer-ffmpeg switch.

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.