maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Development (https://talk.maemo.org/forumdisplay.php?f=13)
-   -   [ANNOUNCE] pymp youtube-dl frontend - video downloader and mp3 converter (https://talk.maemo.org/showthread.php?t=69796)

emesem 2011-02-13 20:10

[ANNOUNCE] pymp youtube-dl frontend - video downloader and mp3 converter
 
Some of you already use youtube-dl on the N900. As pymp is just a frontend, the most credit goes to the makes of youtube-dl and mplayer and lame and...

Pymp is the frontend for and based on the script youtube-dl. youtube-dl is a downloader for videos from certain sites (youtube.com, google video, yahoo video ...). Therefor it is not specialized on one. This program only relies on the availability of the video host. Which is much better than that of the conversion sites which also dont really function with mobile browsers.
For N900 cutting and normalizing the audio is only available if normalize and sox would be available.
Pymp needs python (pyqt), mplayer and lame installed.

Pymp is more intended for desktop computers but can also run on the N900. But it is recommend to keep the number of simultaneous downloads and conversions low.

The simple usage would be like:
Add some URLs into pymp. Start downloading. Watch the movies.

Features
  • Video download (many simultaneous)
  • mp3 conversion (many simultaneous)
  • Loading/saving of download lists
  • Starting mplayer to play the just downloaded files
  • Update youtube-dl as some webpage sometimes change their style and youtube-dl needs to adjust to it.

Not much, but enough to make me happy ;).

Screenshots

https://sites.google.com/site/markus...=240&width=400
http://sites.google.com/site/markuss...=240&width=400
http://sites.google.com/site/markuss...=240&width=400

Resources

Pymp is currently available through extras-devel (search for extras-devel warnings before activating it).

pymp in extras-testing
Pymp builds on maemo.org
Pymp download page here you can get a *.deb or *tar.gz. The *tar.gz needs to be extracted on the PC (as long as it fails on the N900) and then the directory can be copied to the N900.
Pymp@googlecode
Pymp website

emesem 2011-02-20 16:45

Re: [ANNOUNCE] pymp youtube-dl frontend - video downloader and mp3 converter
 
Now there can be files or directories in the "download list" which then will be converted (if mp3 is checked).

This (nearly obvious) idea was given here http://talk.maemo.org/showthread.php?t=69882 .

extendedping 2011-02-20 19:40

Re: [ANNOUNCE] pymp youtube-dl frontend - video downloader and mp3 converter
 
Hi first thanks, I have been using cute tube to download music, but I figure the mp4 files are killing my battery and space.

I just did my first conversion of an mp4 (mp4 to mp3 of a youtube vid I had already downloaded) and it seemed to work although the progress bar never showed finished it only went to 50%.

Also the upgrade from version to version of the app fails, you have to do apt-get --purge and remove the old one first.

Also would it be possible to make it take wildcards? for instance all the mp4's I have in one directory I want to convert to mp3 but now I would have to specify each one manually. Much better would be /path/to/dir/*. even better would be a browse to dir so you don't have to peck away at it.

Also would be nice to have an option to have the conversion process strip off the .mp4 part of the file name. now it ends up taking the original file somefile.mp4 and changing it to somefile.mp4.mp3.

Again thanks for the app...

emesem 2011-03-02 19:00

Re: [ANNOUNCE] pymp youtube-dl frontend - video downloader and mp3 converter
 
Thank you for your feedback. Those are nice ideas and I would like to implement them. But currently there is a lack of time. Sorry for that :(. And my wife doesn't know regexs/wildcards so she is happy so far ;).

corduroysack 2011-05-01 17:59

Re: [ANNOUNCE] pymp youtube-dl frontend - video downloader and mp3 converter
 
would it be possible to make an app like this to convert audio files to mp3?

MohammadAG 2011-05-01 18:30

Re: [ANNOUNCE] pymp youtube-dl frontend - video downloader and mp3 converter
 
Just use
Code:

mplayer -ao pcm audiofile
then
Code:

lame audiodump.wav NewName.mp3

Makeclick 2011-05-25 18:28

Re: [ANNOUNCE] pymp youtube-dl frontend - video downloader and mp3 converter
 
This is very nice, but change the 128kbps convert to 192-> . 128kbps is very lame if you play that on good speakers.

emesem 2011-06-19 16:47

Re: [ANNOUNCE] pymp youtube-dl frontend - video downloader and mp3 converter
 
The version 0.0.5 (since 2011-06-05) is now able to only convert files to mp3 and also allows you to adjust the audio bitrate as you like. Thank you for your input :).

copperviking 2011-06-19 17:57

Re: [ANNOUNCE] pymp youtube-dl frontend - video downloader and mp3 converter
 
Quote:

Originally Posted by emesem (Post 1032142)
The version 0.0.5 (since 2011-06-05) is now able to only convert files to mp3 and also allows you to adjust the audio bitrate as you like. Thank you for your input :).

After update, when I try to start pymp nothing happens?

emesem 2011-06-20 03:17

Re: [ANNOUNCE] pymp youtube-dl frontend - video downloader and mp3 converter
 
Yes, thats true. That is a bug in the pymp-debian installations scripts of the old version. You have to uninstall/remove it and install it again (no update).

For future releases updating will work.

So you can do the following to fix it on command line level:
Code:

apt-get remove --purge pymp #or: dpkg --purge pymp
apt-get install pymp



All times are GMT. The time now is 17:47.

vBulletin® Version 3.8.8