simon-r / dr14_t.meter

Compute the DR14 of a given audio file according to the procedure described by the Pleasurize Music Foundation
http://dr14tmeter.sourceforge.net
GNU General Public License v3.0
125 stars 33 forks source link

Could ffmpeg dependancy be satisfied with avconv? #15

Closed unfa closed 9 years ago

unfa commented 10 years ago

Due to dependency hell and some personal wars, I can't get ffmpeg on my system. And because of that I can't meet dr14_t.meter's dependancies so I can't install it (ugh!) I have avconv instead - could dr14_t.meter be satisfied with it?

*I've just started a Facebook page "We want FFmpeg BACK!", if you care, come and spread the word: http://www.facebook.com/ffmpegback

simon-r commented 10 years ago

Witch distro are you using?

unfa commented 10 years ago

KXStudio

2014-08-21 9:27 GMT+02:00 simon-r notifications@github.com:

Witch distro are you using?

— Reply to this email directly or view it on GitHub https://github.com/simon-r/dr14_t.meter/issues/15#issuecomment-52887107.

Tobiasz unfa

-----BEGIN GEEK CODE BLOCK----- Version: 3.1 GIT/MU/P d->-- s+:-(--)> a? C++(+++)>$ ULC+(++)>$ !P? L+++>++++$ E? W++>$ !N-? !o--? K-? !w-- O? !M-- V? PS++ PE++ !Y+ !PGP+? !t(+) 5? !X !R+ tv b+>+++ DI>+ D+ G e h-->- !r y--() ------END GEEK CODE BLOCK------

simon-r commented 10 years ago

Do you know if avconv has the same command-line ad the same output structure of ffmpeg?

In avconv what's the equivalent cmd of ffbrobe and ffmpeg ?

unfa commented 10 years ago

I'm not sure, they say the two projects keep drifting apart. No idea.

2014-08-22 11:56 GMT+02:00 simon-r notifications@github.com:

In avconv what's the equivalent cmd of ffbrobe and ffmpeg ?

— Reply to this email directly or view it on GitHub https://github.com/simon-r/dr14_t.meter/issues/15#issuecomment-53043364.

Tobiasz unfa

-----BEGIN GEEK CODE BLOCK----- Version: 3.1 GIT/MU/P d->-- s+:-(--)> a? C++(+++)>$ ULC+(++)>$ !P? L+++>++++$ E? W++>$ !N-? !o--? K-? !w-- O? !M-- V? PS++ PE++ !Y+ !PGP+? !t(+) 5? !X !R+ tv b+>+++ DI>+ D+ G e h-->- !r y--() ------END GEEK CODE BLOCK------

name387 commented 10 years ago

Broken on Ubuntu 13.04 and Debian for same reason.

The only change needed is to use avprobe & avconv rather than ffprobe & ffmpeg. For now at least, it works with no further change.

marmistrz commented 9 years ago

On Ubuntu 14.04 there is no ffmpeg package anymore. Could you please switch to avconv (or at least add an option to choose ffmpeg/avconv)?

Both of the projects have the same root, so the syntax is similar. It might differ in some situations, though. The majority of users will use ffmpeg, I guess, as it's the only one in the Debian repos.

PS. Is the dr14tmeter gmail address still valid?

simon-r commented 9 years ago

Ok. Do you know some python? For testing?

As asked before, what's the equivalent of ffbrobe in avconv?

The e-mail is still working, but I've forgot to read the new e-mail.

simon-r commented 9 years ago

Witch version of python is installed on Ubuntu? type the cmd: python --version

simon-r commented 9 years ago

Please try the current git version on Ubuntu. Python >=3.3 is needed !!!!

marmistrz commented 9 years ago

I know only the absolute basics of Python. IIRC Ubuntu/Linux Mint have Python 2.7.x and 3.4.x. I'll try the new version asap.

simon-r commented 9 years ago

Ok, that's enough if you perform some test with Ubuntu and avconv.

marmistrz commented 9 years ago

I can try whether it works but I can't compare the results with anything.

simon-r commented 9 years ago

The problem is only with ffmpeg / avconv, they not influence the results.

marmistrz commented 9 years ago

Built with dpkg-buildpackage, having changed the deps as in my clone (allowing libav-tools instead of ffmpeg) and

.../1988 - Operation Mindcrime $ dr14_tmeter 
Traceback (most recent call last):
  File "/usr/bin/dr14_tmeter", line 21, in <module>
    import dr14tmeter.dr14_tmeter
  File "/usr/lib/pymodules/python2.7/dr14tmeter/dr14_tmeter.py", line 24, in <module>
    from dr14tmeter.dynamic_range_meter import DynamicRangeMeter
  File "/usr/lib/pymodules/python2.7/dr14tmeter/dynamic_range_meter.py", line 29, in <module>
    from dr14tmeter.audio_track import *
  File "/usr/lib/pymodules/python2.7/dr14tmeter/audio_track.py", line 20, in <module>
    from dr14tmeter.audio_decoder import AudioDecoder
  File "/usr/lib/pymodules/python2.7/dr14tmeter/audio_decoder.py", line 24, in <module>
    from dr14tmeter.audio_file_reader import *
  File "/usr/lib/pymodules/python2.7/dr14tmeter/audio_file_reader.py", line 30, in <module>
    from _ftdi1 import NONE
ImportError: No module named _ftdi1
simon-r commented 9 years ago

Your are using python 2.7 !!! My current fix works only with python 3.3 or newest.

Ok !!! I write a python 2.7 version:

marmistrz commented 9 years ago

Well, dr14tmeter defaults to python2.x. If you make it default to python3, it'll be still ok. But it might be a good idea to keep compatibility with 2.x

Sent from my Nokia N900 Marcin

On Mon Nov 24 07:44:23 2014 simon-r notifications@github.com wrote:

Your are using python 2.7 !!! My current fix works only with python 3.3 or newest.

Ok !!!  I write a python 2.7 version:


Reply to this email directly or view it on GitHub: https://github.com/simon-r/dr14_t.meter/issues/15#issuecomment-64156538

simon-r commented 9 years ago

Now it works with python 2.7. Can you perform the test with Ubuntu and avconv?

Tnx.

simon-r commented 9 years ago

Ok I've tested and released the version 1.0.15 compatible with Ubuntu 14.10. Let's me known if you have some problem.

... http://dr14tmeter.sourceforge.net/index.php/Main_Page

marmistrz commented 9 years ago

It works, but the files are displayed in a wrong order. Thanks for fixing the issue!

http://paste.ubuntu.com/9236005/

simon-r commented 9 years ago

In your pastebin the files are sorted correctly. During the processing the order is arbitrary (or wrong) due to the MP computing.

try: dr14_tmeter -1 ... but is slower.

Bye.