update 'avconv' (was youtube-dl)

Top Page
Attachments:
Message as email
+ (text/plain)
+ (text/html)
+ (text/plain)
Delete this message
Reply to this message
Author: Michael Havens
Date:  
To: PLUG
Subject: update 'avconv' (was youtube-dl)
youtube-dl -o ComeALittleCloser.mp3 --extract-audio --audio-format=mp3 "
https://www.youtube.com/watch?v=1JcpXKSNqFg"
<edit>
WARNING: Your copy of avconv is outdated, update avconv to version 10-0 or
newer if you encounter any errors.
[ffmpeg] Post-process file ComeALittleCloser.mp3 exists, skipping
<edit>
sudo apt-get update; sudo apt-get upgrade

which showed a LOT of packages that needed to be upgraded (but it seems
that "avconv in libav-tools
<http://askubuntu.com/questions/563245/avconv-warning-while-downloading-youtube-video>
just
simply is outdated in the repos, so in this case normal upgrade process
will not help
<http://askubuntu.com/questions/563245/avconv-warning-while-downloading-youtube-video>.").
So it seems the GUI update manager does not update everything. Should I
update it or just leave it be?

This message morphed from a question about youtub-dl not working into
updating avconv. following is the original message:

Hello. I'm trying to use youtube-dl but get an error:

youtube-dl -o ComeALittleCloser.mp3 --extract-audio --audio-format=mp3 "
https://www.youtube.com/watch?v=1JcpXKSNqFg"
[youtube] Setting language
[youtube] 1JcpXKSNqFg: Downloading webpage
[youtube] 1JcpXKSNqFg: Downloading video info webpage
[youtube] 1JcpXKSNqFg: Extracting video information
[youtube] 1JcpXKSNqFg: Encrypted signatures detected.
WARNING: Automatic signature extraction failed: Traceback (most recent call
last):
  File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/youtube.py",
line 957, in _decrypt_signature
    video_id, player_url, len(s)
  File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/youtube.py",
line 331, in _extract_signature_function
    player_type = id_m.group('ext')
AttributeError: 'NoneType' object has no attribute 'group'
WARNING: Warning: Falling back to static signature algorithm
WARNING: Automatic signature extraction failed: Traceback (most recent call
last):


There are more errors but I edited them out. My websearch suggested that I
needed to update youtube-dl but that resulted in the following error:

sudo youtube-dl --update
It looks like you installed youtube-dl with a package manager, pip,
setup.py or a tarball. Please use that to update.

so I searched that error which led to the instructions to:

sudo apt-get install python-setuptools
sudo easy_install pip
sudo pip install --upgrade youtube-dl

(I had to press <enter> after each command but....
t.... that led to a new error:

youtube-dl -o ComeALittleCloser.mp3 --extract-audio --audio-format=mp3 "
https://www.youtube.com/watch?v=1JcpXKSNqFg"
[youtube] 1JcpXKSNqFg: Downloading webpage
[youtube] 1JcpXKSNqFg: Downloading video info webpage
[youtube] 1JcpXKSNqFg: Extracting video information
[youtube] 1JcpXKSNqFg: Downloading js player en_US-vflnrstgx
[youtube] 1JcpXKSNqFg: Downloading DASH manifest
[download] Destination: ComeALittleCloser.mp3
[download] 100% of 7.00MiB in 00:00
[ffmpeg] Correcting container in "ComeALittleCloser.mp3"
WARNING: Your copy of avconv is outdated, update avconv to version 10-0 or
newer if you encounter any errors.
[ffmpeg] Post-process file ComeALittleCloser.mp3 exists, skipping

... and that downloaded the file! But I suppose I'll update avconv because
it is outdated.

sudo apt-get update; sudo apt-get upgrade

which showed a LOT of packages that needed to be upgraded (but it seems
that "avconv in libav-tools
<http://askubuntu.com/questions/563245/avconv-warning-while-downloading-youtube-video>
just
simply is outdated in the repos, so in this case normal upgrade process
will not help
<http://askubuntu.com/questions/563245/avconv-warning-while-downloading-youtube-video>.").
So it seems the GUI update manager does not update everything. Should I
update it or just leave it be?


--
:-)~MIKE~(-:
---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change your mail settings:
http://lists.phxlinux.org/mailman/listinfo/plug-discuss