[FFmpeg-user] errors in encoding avc x264 to av1 using latest ffmpeg libaom linux

Ferdi Scholten ferdi at sttc-nlp.nl
Tue Jan 31 19:17:01 EET 2023



On 31-01-2023 17:05, Guddla Rupesh wrote:
> Hi in the attachments below I am providing the script which consists of
> ffmpeg commands to convert a x264 MP4 video file to av1 using latest ffmpeg
> and libaom.
>
> After that I have given the attachment of output of running the script.
>
> Kindly try to suggest what's wrong and run the above script without any
> errors.
>
> Regards,
> Rupesh.
>
> On Mon, 30 Jan 2023, 10:41 pm Ferdi Scholten, <ferdi at sttc-nlp.nl> wrote:
>
>> Hi I am Rupesh from India and I have a system with Intel i3 10th generation
>>> processor and Asus H510 me motherboard. I have installed Arch Linux
>> x86_64
>>> latest version and after that I have installed aom package from official
>>> repository and after that I have compiled ffmpeg with option
>>> --enable-libaom. But I am getting errors while using ffmpeg from command
>>> line.
>>>
>>>
>>> Previously I mean from the past one year I am using ffmpeg along with
>>> libaom and I have not encountered any error but yesterday I have removed
>>> aom package from my system and after that I have uninstalled ffmpeg.
>>> Freshly I have installed aom package and then I have compiled the source
>>> code of ffmpeg with option --enable-libaom and it succeeded. Here the
>> issue
>>> is when I want to convert a h264 avc .mp4 video file to av1 but I am
>>> getting error as follows.
>>>
>>> [CODE]Overriding packet duration by frame rate, this should not
>>> happen[/CODE]
>>>
>>> After that I have removed aom package and un installed ffmpeg. After
>> that I
>>> have tried to install aom-git aur package using yay helper and succeeded.
>>> Now I have tried to compile source code of ffmpeg with option
>>> --enable-libaom and succeeded. After that I have tried to convert h264
>> avc
>>> .mp4 video file using ffmpeg but again I am getting same error as
>> follows.
>>> [CODE]Overriding packet duration by frame rate, this should not
>>> happen"[/CODE]
>>>
>>>   From the past one year I have not received any such errors but now I am
>>> getting. Previously I have used ffmpeg along with Linux distributions
>>> Fedora 36 debian stable etc.,.
>>>
>>> 5 days back the package installed from aom-git aur repository worked fine
>>> along with ffmpeg but now can't.
>>>
>>> I have compiled the source code of aom downloaded from git official
>>> repository as mentioned in itself but still I am getting same error.
>>>
>>> Previously as I have not received any errors and now I think that
>> there's a
>>> bug in the source code of aom git repository.
>>>
>>> If you want I will provide the output of the commands specified by you.
>>> Kindly try to suggest how to make ffmpeg with libaom run properly without
>>> any errors in my arch Linux system. If none works can you suggest how to
>>> compile source code of aom from git.
>>>
>>> Regards,
>>> Rupesh.
>>>
>>>
The message is produced by the ffmpeg muxer, it is not from libaom. It 
is not an error but a warning. The generated output should in principle 
be good to play.

Also, please do not top post!

Why do you use hwaccel? try without, as it usually is both faster and 
better quality transcoding without it.


More information about the ffmpeg-user mailing list