[FFmpeg-user] ISSUE WITH LIBX265 CODEC

Hervé ANSELME hervea95 at hotmail.com
Wed Feb 28 11:39:20 EET 2024


As suggested by Ferdi : I've tried to create a re-encoded film formatted "mp4" instead of "avi" : now I have both sound and image in re-encoded film 🙂
Thanks everybody for your help 🙂
Regards,
HA

________________________________
From: ffmpeg-user <ffmpeg-user-bounces at ffmpeg.org> on behalf of Ferdi Scholten <ferdi at sttc-nlp.nl>
Sent: Wednesday, February 28, 2024 08:30
To: ffmpeg-user at ffmpeg.org <ffmpeg-user at ffmpeg.org>
Subject: Re: [FFmpeg-user] ISSUE WITH LIBX265 CODEC

Here is the command line I used :
> ffmpeg.exe -loglevel error -sn -i "D:\temp\source_movie.mp4" -map 0:v:0 -map 0:a:0 -acodec libmp3lame -ar 48k -b:a 128k -q:a 3 -vcodec libx265 -vf scale=768:432 -sws_flags lanczos+accurate_rnd -b:v 1008k -minrate 1008k -maxrate 1008k -r 2997/100 -qscale:v 2 -x265-params "nal-hrd=cbr:force-cfr=1:vbv-maxrate=1008:vbv-bufsize=1512 "  -log_level -1 "C:\temp\re_encoded_movie.avi" -bufsize 1548288
>
> and here are the technical infos, displayed by the program, in the DOS window :
>
> [cid:145e4b32-21c1-476c-8105-fbdd5cb8372e]
>
> I hope those infos will help.
>
> Regards,
> HA
>
Although the avi container supports the X265 codec this is merely
because it is not really critical about what Codec is used, By design
avi has many limitations for modern Codecs. You cannot use B-frames for
example and many of the other advantages of the HEVC format cannot be
used in this ancient container format. Remember the avi container dates
from the early 1990's when X265, X264 or any other modern codec did not
exist yet! Use avi for the Codecs of that era and youĺl be fine! (xvid,
divx etc.)

So please use a modern container format for X265 encoded video, such as
MP4 or MKV. They are much more efficient and allow full use of all X265
features.
_______________________________________________
ffmpeg-user mailing list
ffmpeg-user at ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".


More information about the ffmpeg-user mailing list