Discussion:
yuv to y4m conversion for 4K ?
Mourad AKLOUF
2018-05-14 09:38:25 UTC
Permalink
hello !

I have troubles with converting 4k video from .yuv to .y4m , to use it
after that as input for Av1 encoder ;
I'm using mjpegtools and this is the commands :

cat Drums_3840x2160_100fps_10bit_420_jvet.yuv | ./yuv4mpeg -w 3840 -h 2160
-x 420mpeg2 -i p -r 100:1 > Drums_3840x2160_100fps_10bit_420_jvet.y4m
./yuvplay < Drums_3840x2160_100fps_10bit_420_jvet.y4m # this is for
palying

when i play the .y4m nothing appears which probably means bad conversion ,
however it works very fine with any CIF sequence. the problem i think is in
the bit-depth (10b) i couldnt find any way to put it as arg for the
converion.
do you know any other way to do the conversion ? and does the AV1 encoder
accept other extension besides .y4m as input ?
--
You received this message because you are subscribed to the Google Groups "Codec Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to codec-devel+***@webmproject.org.
To post to this group, send email to codec-***@webmproject.org.
Visit this group at https://groups.google.com/a/webmproject.org/group/codec-devel/.
For more options, visit https://groups.google.com/a/webmproject.org/d/optout.
'Johann Koenig' via Codec Developers
2018-05-14 15:42:48 UTC
Permalink
Post by Mourad AKLOUF
hello !
I have troubles with converting 4k video from .yuv to .y4m , to use it
after that as input for Av1 encoder ;
Post by Mourad AKLOUF
cat Drums_3840x2160_100fps_10bit_420_jvet.yuv | ./yuv4mpeg -w 3840 -h
2160 -x 420mpeg2 -i p -r 100:1 > Drums_3840x2160_100fps_10bit_420_jvet.y4m
Post by Mourad AKLOUF
./yuvplay < Drums_3840x2160_100fps_10bit_420_jvet.y4m # this is for
palying
Post by Mourad AKLOUF
when i play the .y4m nothing appears which probably means bad conversion
, however it works very fine with any CIF sequence. the problem i think is
in the bit-depth (10b) i couldnt find any way to put it as arg for the
converion.
Post by Mourad AKLOUF
do you know any other way to do the conversion ? and does the AV1 encoder
accept other extension besides .y4m as input ?

aomenc will accept .yuv files. You need to specify width, height, timebase,
and bitdepth:

--width=3840
--height=2160
--timebase= or --fps=
--bit-depth=10

i420 is the default, but if you want to encode something else like i444 you
need to specify that as well:
--yv12
--i420
--i422
--i444
--
You received this message because you are subscribed to the Google Groups "Codec Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to codec-devel+***@webmproject.org.
To post to this group, send email to codec-***@webmproject.org.
Visit this group at https://groups.google.com/a/webmproject.org/group/codec-devel/.
For more options, visit https://groups.google.com/a/webmproject.org/d/optout.
Mourad AKLOUF
2018-05-15 08:18:00 UTC
Permalink
Thank you it works very good.
Do you know where i can find some documentation about the AV1 Codec , like
a user-manual and tools description( partitioning, prediction , entropy
coding ) ?!
--
You received this message because you are subscribed to the Google Groups "Codec Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to codec-devel+***@webmproject.org.
To post to this group, send email to codec-***@webmproject.org.
Visit this group at https://groups.google.com/a/webmproject.org/group/codec-devel/.
For more options, visit https://groups.google.com/a/webmproject.org/d/optout.
Loading...