Y4M encoding and transcoding from arbitrary formats with VVenC #116
Replies: 2 comments 14 replies
-
I know this is a slightly different project, but one of the reasons why people would like to have y4m is to pipe and not having to specify every single option every time with the risk of typos etc. On this regard, one of the things that would also be hugely, I mean hugely appreciated by the whole Doom9 community and people around the world is Avisynth support, namely being able to use Avisynth as a frameserver to encode with VVEnc. If we take a look at x262, x264, x265 they all support Avisynth. Now, we know that x266 ain't out yet, therefore one real advantage VVEnc could have would be supporting Avisynth and/or use LAV as inputs, at least on Windows. p.s thank you for making this free and open source. ;) |
Beta Was this translation helpful? Give feedback.
-
That is correct. FFMpeg definitely can use -i "AVS Script.avs" and read Avisynth Scripts as if they were a normal video 'cause the frameserver would just be serving frames to FFMpeg and of course FFMpeg could pipe them again to VVEnc, however some encoders like x26x can open them directly without going through FFMpeg. |
Beta Was this translation helpful? Give feedback.
-
VVenC does not support the Y4M format. Support is not planned, for a variety of reasons, including lack of official specification of the Y4M format.
For people needing Y4M encoding support, please use a support script, e.g. like the one provided below.
The call semantics for that specific script would be:
encode_y4m.sh input.y4m [vvenc options]
, wherevvenc options
represent the intended vvenc encoding options (not related to the input description, which will be provided by the script), so e.g.--preset medium -f 33 -o out.266
to encode first 33 frames using the medium preset and save the bitstream asout.266
.Please mind that the script requires VVenC 1.3 (to be released soon), or at least 5a21fb6. For earlier versions the fractional semantics of the frame-rate (e.g. 60/1 or 60000/1001) have to be converted into an integer frame-rate.
Beta Was this translation helpful? Give feedback.
All reactions