Alex Ramos Posted December 19, 2022 Report Share Posted December 19, 2022 I’d like to propose everybody share their codecs, encoding settings and when to use what. I only use ffmpeg to convert clients files to run on WO6. Its always a compromise video quality vs hardware. I will not go into details of when to use what, its subjective. I do not have definitive codec as I had problems with all one time or the other. My 1st chose is HAP and HAP alpha and I always extract audio and use a video and audio file on WO. AS a backup option I have M-Jpeg, Mpeg2, Mpeg4. My Mpeg2 settings is for only intra frames, much like M-Jpeg, all settings set to high. ffmpeg -i "%file%" -dn -an -profile:v 1 -vcodec mpeg2video -qscale:v 1 -qmin 1 -intra -pix_fmt yuv422p -r 25 "%n_name%_Mpeg2.m2v" For HAP and HAP alpha: ffmpeg -i "%file%" -dn -an -c:v hap "%n_name%_HAP.mov" ffmpeg -i "%file%" -dn -an -c:v hap -format hap_alpha "%n_name%_HAP.mov" For M-Jpeg: ffmpeg -i "%file%" -c:v mjpeg -dn -an -q:v 1 "%n_name%_M-JPEG.mov" For Mp4 i have a more compatible one for WO ans to use on Powerpoints. ffmpeg -i "%file%" -dn -vcodec libx264 -vf format=yuv420p "%n_name%_H264.mp4" And a "lossless" it is still only yuv420 and not yuv422, but quality is bumped very high, version just in case: ffmpeg -i "%file%" -dn -vcodec libx264 -vf format=yuv420p -qp 0 "%n_name%_H264LL.mp4" Backup transparecy Animation RLE: ffmpeg -i "%file%" -dn -an -r 25 -vcodec qtrle "%n_name%_RLE.mov" Feel free to coment and correct any thing, but please share your expirience. Feel free to comment and correct any thing (talking to you WO support), but please share your experience. Worst scenery, I’m sharing my experience and hope helps anyone. Sure will. 0 Quote Link to comment Share on other sites More sharing options...
Dataton Partner RBeddig Posted December 19, 2022 Dataton Partner Report Share Posted December 19, 2022 Thank you for sharing. I recently stumbled over an AE/ME/Premiere plug-in encoder for HAP which was until now unknown at least to me. We did some test encoding regarding banding and the slow encoding of this package looked better than the result of AfterCodecs. Check: https://jokyohapencoder.com/ 0 Quote Link to comment Share on other sites More sharing options...
Dataton Partner Dean Stevenson Posted December 21, 2022 Dataton Partner Report Share Posted December 21, 2022 We have been using Jokyohapencoder plugin in ME since Mid 2021 and have found it to be great They have just released a stand alone encoder but we haven't tried it as yet 0 Quote Link to comment Share on other sites More sharing options...
Dataton Partner Dean Stevenson Posted December 21, 2022 Dataton Partner Report Share Posted December 21, 2022 https://jokyohapencoder.com/jokyo-hap-encoder-standalone/ 0 Quote Link to comment Share on other sites More sharing options...
Alex Ramos Posted December 21, 2022 Author Report Share Posted December 21, 2022 Thanks here is my Video reply. Alex 0 Quote Link to comment Share on other sites More sharing options...
Dataton Partner Benoit Posted December 21, 2022 Dataton Partner Report Share Posted December 21, 2022 Hi Alex, For HAP, depending on the resolution, I suggest adding chunks: ffmpeg -i "%file%" -an -c:v hap -format hap -chunks 4 "%n_name%_HAP.mov" Chunks allow the CPU to use multiple cores for a single video stream. My personal experience is 4 chunks for 4K and above. Can you explain what the "-dn" option is for, never used it before... and not sure to understand the manual. Thanks, Benoit 0 Quote Link to comment Share on other sites More sharing options...
Alex Ramos Posted December 23, 2022 Author Report Share Posted December 23, 2022 Benoit, -dn removes all data info from the file, info such as metadata. 0 Quote Link to comment Share on other sites More sharing options...
Alex Ramos Posted December 27, 2022 Author Report Share Posted December 27, 2022 Benoit correct me if I'm wrong. I don't use the -chunck flag because I almost always convert several files at the same time using my script. 3 files with -chunck 4 will be more than most CPU cores on the production laptops, will this cause a problem or the flag is ignored in this cases. Do the hyperthreas count as CPU units for the -chunck flag ? Can you please elaborate? Thanks 0 Quote Link to comment Share on other sites More sharing options...
Dataton Partner Benoit Posted January 2, 2023 Dataton Partner Report Share Posted January 2, 2023 Hi Alex, To what I know, chunks are for playback and not encoding. In the FFMpeg doc, it states you should not use more chunks than your cores, but I never had any issues, it's probably best for performance but my experience is when HAP doesn’t play smoothly, you add more chunks (let say up to 8), and your problem is solved. Wish you all a happy new year. Best, Benoit 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.