[Cin] another set of test profiles

Terje J. Hanssen terjejhanssen at gmail.com
Mon Oct 14 23:29:06 CEST 2024




Den 14.10.2024 22:58, skrev Andrew Randrianasulu:
>
>
> пн, 14 окт. 2024 г., 23:55 Terje J. Hanssen <terjejhanssen at gmail.com>:
>
>
>
>     Den 14.10.2024 21:53, skrev Terje J. Hanssen:
>>
>>
>>
>>     Den 14.10.2024 21:30, skrev Andrew Randrianasulu:
>>>
>>>
>>>     пн, 14 окт. 2024 г., 22:20 Terje J. Hanssen
>>>     <terjejhanssen at gmail.com>:
>>>
>>>
>>>
>>>
>>>         Den 14.10.2024 20:03, skrev Andrew Randrianasulu:
>>>>
>>>>
>>>>         On Mon, Oct 14, 2024 at 8:46 PM Andrew Randrianasulu
>>>>         <randrianasulu at gmail.com> wrote:
>>>>
>>>>
>>>>
>>>>             пн, 14 окт. 2024 г., 18:58 Terje J. Hanssen
>>>>             <terjejhanssen at gmail.com>:
>>>>
>>>>
>>>>                 Den 14.10.2024 00:38, skrev Andrew Randrianasulu:
>>>>>
>>>>>
>>>>>                 пн, 14 окт. 2024 г., 01:36 Phyllis Smith
>>>>>                 <phylsmith2017 at gmail.com>:
>>>>>
>>>>>                     Andrew, so it seems prudent to check into GIT,
>>>>>                     the av1_vaapi.mp4 render format (after
>>>>>                     successfully tested of course); but what about
>>>>>                     the QSV encoders?
>>>>>
>>>>>
>>>>>
>>>>>                 wait for Terje's testing OR try to build
>>>>>                 oneVPL-cpu (it sort of circles back to different
>>>>>                 branch of ffmpeg, so ffmpeg will think it uses qsv
>>>>>                 but it in fact will use another ffmpeg .... well,
>>>>>                 in theory! it does not work for me on 32-bit!)
>>>>>
>>>>>
>>>>>                     On Sun, Oct 13, 2024 at 2:36 PM Andrew
>>>>>                     Randrianasulu via Cin
>>>>>                     <cin at lists.cinelerra-gg.org> wrote:
>>>>>
>>>>>                         hopefully with very silly
>>>>>                         top-line-as-comment error fixed
>>>>>
>>>>>                         SORRY!
>>>>>
>>>>
>>>>                 I saved the 6 profiles in ffmpeg/video and tested
>>>>                 them with SD-DV input.
>>>>
>>>>
>>>>             in cinelerra-5.1/bin/ffmpeg/video
>>>>
>>>
>>>         Yes, in /home/cinelerra/cinelerra-5.1/ffmpeg/video
>>>
>>>
>>>
>>>     you need either execute make install or put them in
>>>     cinelerra/bin/ffmpeg/video manually
>>
>>     Sorry, my fault that I had "lost" that bin level in the path.
>>     Actually I also found the mentioned dfl file there..
>>     I save the complete set of test profiles from this first post in
>>     /home/cinelerra/cinelerra-5.1/bin/ffmpeg/video and retest them
>>
>
>     That went much better. Now 5 of 6 profiles work, except 2) that
>     still not work:
>
>     2)
>     dv01_07_av1_qsv.mp4
>     Audio preset: h264.mp4
>     Video compression: av1_qsv.mp4
>     Pixels: nv12
>
>     int FFMPEG::init_encoder(const char*):
>     mismatch audio/video file format: /Videoklipp/QSV/dv01_07_av1_qsv.mp4
>
>     Doesn't work with Audio disabled either
>
>
>
> can you double-check that first line in this file reads
>
> mp4 av1_qsv
>
> and comment (line starting with #)  is second?
>
> may be I missed this one ...

No, the # comment line was first (see initial 2) below here).
I edited it and now it works :)

Your last "all-profiles.tar.gz" I have temporary extracted and saved in 
$HOME/tmp/usr/share/cin/ffmpeg/
Can I copy all those (video and audio) to my 
/home/cinelerra/cinelerra-5.1/bin/ffmpeg to access them from custom 
/home/cinelerra/cinelerra-5.1/bin/cin ?
I verified that av1_qsv.mp4 is corrected here.



>
>
>
>
>
>
>
>>>
>>>
>>>>
>>>>             with cin launched as bin/cin from this directory?
>>>>
>>>
>>>         /home/cinelerra/cinelerra-5.1# bin/cin (all testing as root)
>>>
>>>
>>>     so, permission problem is not for you .....
>>>
>>>
>>>
>>>>
>>>>             sorry for such pedantry, but I get same mismatch and
>>>>             generally just moving commentary to second line worked.
>>>>
>>>>             may be you need additional dfl file in ffmpeg/audio ?
>>>>
>>>
>>>         You remember I also got - and thought I saved 13/10:
>>>         "can you test those two attached files (profile for
>>>         av1_qsv.webm and default file for av1_qsv, put both in
>>>         bin/ffmpeg/video) ?"
>>>
>>>         But I have only
>>>         /home/cinelerra/cinelerra-5.1/ffmpeg/video # lls -1 av1*qsv*
>>>         av1_qsv.mp4
>>>         av1_qsv.webm
>>>
>>>         That is no av1_qsv.dfl there!
>>>
>>>
>>>
>>>
>>>     note, cinelerra-5.1/ffmpeg is that git controls, normally.
>>>
>>>     on make install files from there copied to bin/ffmpeg if
>>>     single-user or into /usr/share/cin/ffmpeg if system install.
>>>
>>>     so please double-check that files you get from me in
>>>     bin/ffmpeg/video, not just in ffmpeg/video!
>>>
>>>     Also check out nuclear option (tar.gz) You can see into it via
>>>     say midnight commander (enter on archive) and copy files you
>>>     need to cinelerra-5.1/bin/ffmpeg
>>>
>>>     sorry for confusion!
>>>
>>>
>>>
>>>>
>>>>             can you test without audio (checkbox audio unchecked)?
>>>>
>>>
>>>         Tested 2) below without audio (unchecked): same error
>>>
>>>>
>>>>
>>>>                 Only 1) av1_qsv.webm of them worked, so hopefully I
>>>>                 have installed and tested them correctly(?)
>>>>
>>>>
>>>>                 1) av1_qsv.webm:
>>>>                 webm av1_qsv
>>>>                 # only usable with ext. ffmpeg
>>>>                 cin_pix_fmt=nv12
>>>>
>>>>                 works with pixelformats nv12 AND p010le
>>>>
>>>>
>>>>                 2) av1_qsv.mp4
>>>>                 # only usable with ext. ffmpeg
>>>>                 mp4 av1_qsv
>>>>                 cin_pix_fmt=nv12
>>>>
>>>>                 doesn't work: pixelformat nv12
>>>>                 int FFMPEG::init_encoder(const char*):
>>>>                 mismatch audio/video file format
>>>>
>>>>
>>>>
>>>>         does adding attached file into ffmpeg/audio/ fix this?
>>>
>>>         Sorry, no change for 2)
>>>         But is the attached av1_qsv.webm  for av1_qsv.mp4 also,
>>>         where audio preset is h264.mp4 and no libvorbis visible option
>>>         cat /home/cinelerra/cinelerra-5.1/ffmpeg/audio/av1_qsv.webm
>>>         webm libvorbis
>>>
>>>
>>>
>>>
>>>
>>>
>>>>
>>>>
>>>>                 3) av1_vaapi.mp4
>>>>                 mp4 av1_vaapi
>>>>                 cin_hw_dev=vaapi
>>>>                 profile=main
>>>>
>>>>                 not available?
>>>>
>>>>
>>>>                 4) h264_qsv.mp4
>>>>                 mp4 h264_qsv
>>>>                 # only usable with ext. ffmpeg
>>>>                 profile=high
>>>>                 cin_pix_fmt=nv12
>>>>
>>>>                 doesn't work:
>>>>                 int FFMPEG::init_encoder(const char*):
>>>>                 mismatch audio/video file format:
>>>>
>>>>
>>>>                 5) hevc_qsv.mp4
>>>>                 mp4 hevc_qsv
>>>>                 # only usable with ext. ffmpeg, another pixfmt is
>>>>                 yuyv422
>>>>                 profile=main
>>>>                 cin_pix_fmt=nv12
>>>>
>>>>                 doesn't work:
>>>>                 int FFMPEG::init_encoder(const char*):
>>>>                 mismatch audio/video file format:
>>>>
>>>>
>>>>                 6)
>>>>                 cat vp9_qsv.mp4
>>>>                 mp4 vp9_qsv
>>>>                 # only usable with ext. ffmpeg
>>>>
>>>>                 doesn't work:
>>>>                 int FFMPEG::init_encoder(const char*):
>>>>                 mismatch audio/video file format:
>>>>
>>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.cinelerra-gg.org/pipermail/cin/attachments/20241014/e4dc35b1/attachment-0001.htm>


More information about the Cin mailing list