Package Details: ffmpeg-normalize 1.30.0-1

Git Clone URL: https://aur.archlinux.org/ffmpeg-normalize.git (read-only, click to copy)
Package Base: ffmpeg-normalize
Description: Normalize loudness of audio and video files using FFmpeg
Upstream URL: https://github.com/slhck/ffmpeg-normalize
Keywords: audio ffmpeg normalization
Licenses: MIT
Submitter: nicoulaj
Maintainer: willemw
Last Packager: willemw
Votes: 7
Popularity: 0.45
First Submitted: 2019-04-13 20:49 (UTC)
Last Updated: 2024-11-23 06:55 (UTC)

Latest Comments

1 2 Next › Last »

willemw commented on 2024-07-15 17:25 (UTC)

@periode:

Try building with the official ffmpeg package (temporarily) installed.

Running ffmpeg -encoders 2>&1 | grep libx265 should print 2 lines. Maybe those encoders were not built into the custom ffmpeg.

See https://github.com/slhck/ffmpeg-normalize: it shows you how to have a static ffmpeg version on your system which you can use just for ffmpeg-normalize, in case you don't want to uninstall your custom ffmpeg permanently.

periode commented on 2024-07-15 12:32 (UTC)

@willemw

I just did, and here's the error:

[vost#0:0 @ 0x59893c41ef00] Unknown encoder 'libx265'                                                                                                                                                                                          
[vost#0:0 @ 0x59893c41ef00] Error selecting an encoder                                                                                                                                                                                         
Error opening output file /tmp/tmpmpr07uyh/out.mkv.
Error opening output files: Encoder not found

I have a custom build of ffmpeg on my machine, so looks like this is the issue?

willemw commented on 2024-07-04 12:02 (UTC) (edited on 2024-07-04 12:07 (UTC) by willemw)

@periode: Strange. Cannot reproduce (in a clean chroot build environment).

Maybe build and install with the tests disabled. Then run for example ffmpeg-normalize test/test.mp4 -c:v libx265 from the src/ffmpeg-normalize-1.28.2 build directory.

periode commented on 2024-07-03 14:08 (UTC)

The ffmpeg tests fail for me:

test/test.py ............F...F.F......                                                                                                                                                                                                  [100%] 

================================================================================================================== FAILURES ===================================================================================================================
_______________________________________________________________________________________________________ TestFFmpegNormalize.test_vcodec _______________________________________________________________________________________________________

self = <test.TestFFmpegNormalize object at 0x7dcdb6c5eb70>                                                                                                                                                                                     

    def test_vcodec(self):                                                                                                                                                                                                                     
        ffmpeg_normalize_call(["test/test.mp4", "-c:v", "libx265"])                                                                                                                                                                            
>       assert os.path.isfile("normalized/test.mkv")                                                                                                                                                                                           
E       AssertionError: assert False                                                                                                                                                                                                           
E        +  where False = <function isfile at 0x7dcdb8714360>('normalized/test.mkv')                                                                                                                                                           
E        +    where <function isfile at 0x7dcdb8714360> = <module 'posixpath' (frozen)>.isfile                                                                                                                                                 
E        +      where <module 'posixpath' (frozen)> = os.path                                                                                                                                                                                  

test/test.py:325: AssertionError
------------------------------------------------------------------------------------------------------------ Captured stdout call -------------------------------------------------------------------------------------------------------------
/usr/bin/python -m ffmpeg_normalize test/test.mp4 -c:v libx265

I can't paste whole output, so here's the summary:

FAILED test/test.py::TestFFmpegNormalize::test_vcodec - AssertionError: assert False
FAILED test/test.py::TestFFmpegNormalize::test_ofmt_mp3 - AssertionError: assert False
FAILED test/test.py::TestFFmpegNormalize::test_ext_mp3 - AssertionError: assert False
======================================================================================================== 3 failed, 22 passed in 21.69s ========================================================================================================
==> ERROR: A failure occurred in check().
    Aborting...
 -> error making: ffmpeg-normalize-exit status 4
 -> Failed to install the following packages. Manual intervention is required:
ffmpeg-normalize - exit status 4

sian1468 commented on 2024-05-10 05:30 (UTC)

@ruahcra

Ok, I add python-tqdm to dependency list in 1.27.7-3

ruahcra commented on 2024-05-09 14:05 (UTC)

Hmm, I do not think that is correct; have you seen the docs below?

https://wiki.archlinux.org/title/PKGBUILD#depends "The depends array should list all direct first level dependencies even when some are already declared transitively. For instance, if a package foo depends on both bar and baz, and the bar package depends in turn on baz too, it will ultimately lead to undesired behavior if bar stops pulling in baz."

sian1468 commented on 2024-05-09 10:33 (UTC)

@ruahcra

As python-ffmpeg-progress-yield which is hard dependency, has python-tqdm , so it doesn't need to add it as dependency here.

ruahcra commented on 2024-05-09 10:16 (UTC)

Looks like missing a dependency on tqdm

https://github.com/slhck/ffmpeg-normalize/blob/master/requirements.txt

npreining commented on 2024-04-30 04:01 (UTC)

I fixed building the package by one of the two steps I did: - removed ffmpeg-normalize before building a new version - re-installed python-ffmpeg-progress-yield