[VR8K-dataset] help decoding YUV files

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

[VR8K-dataset] help decoding YUV files

Tom Sparks-2
I've found an 8K VR dataset :)

but I am having trouble getting FFmpeg to decode the YUV video files.
I email the authors but have got no reply.

So I am hoping that the FFmpeg community can help me


http://medialab.sjtu.edu.cn/vr8K/index.html
ftp://202.120.39.226/UHD_YUV444_10b_videoRange/
_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: [VR8K-dataset] help decoding YUV files

Carl Eugen Hoyos-2


> Am 02.02.2020 um 03:19 schrieb Tom Sparks <[hidden email]>:
>
> I am having trouble getting FFmpeg to decode the YUV video files.

Command line and complete, uncut console output missing.

Carl Eugen
_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: [VR8K-dataset] help decoding YUV files

Tom Sparks-2
On 02/02/2020, Carl Eugen Hoyos <[hidden email]> wrote:
>
>
>> Am 02.02.2020 um 03:19 schrieb Tom Sparks <[hidden email]>:
>>
>> I am having trouble getting FFmpeg to decode the YUV video files.
>
> Command line and complete, uncut console output missing.
doh sorry

--sniped----
tom@ubuntu:~/dataset/videos/360/202.120.39.226/UHD_YUV444_10b_videoRange$
ffmpeg -f rawvideo -s 3840x2160 -r 30 -i
"BundNightscape_3840x2160_30fps_bt709_444_videoRange.yuv" -c:v libx264
-preset ultrafast -qp 0 outputfile.mp4
ffmpeg version N-51185-gfc3760a66d-static
https://johnvansickle.com/ffmpeg/  Copyright (c) 2000-2019 the FFmpeg
developers
  built with gcc 6.3.0 (Debian 6.3.0-18+deb9u1) 20170516
  configuration: --enable-gpl --enable-version3 --enable-static
--disable-debug --disable-ffplay --disable-indev=sndio
--disable-outdev=sndio --cc=gcc-6 --enable-fontconfig --enable-frei0r
--enable-gnutls --enable-gmp --enable-libgme --enable-gray
--enable-libaom --enable-libfribidi --enable-libass --enable-libvmaf
--enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb
--enable-libopencore-amrwb --enable-libopenjpeg --enable-librubberband
--enable-libsoxr --enable-libspeex --enable-libsrt --enable-libvorbis
--enable-libopus --enable-libtheora --enable-libvidstab
--enable-libvo-amrwbenc --enable-libvpx --enable-libwebp
--enable-libx264 --enable-libx265 --enable-libxml2 --enable-libdav1d
--enable-libxvid --enable-libzvbi --enable-libzimg
  libavutil      56. 37.100 / 56. 37.100
  libavcodec     58. 65.100 / 58. 65.100
  libavformat    58. 35.101 / 58. 35.101
  libavdevice    58.  9.101 / 58.  9.101
  libavfilter     7. 69.101 /  7. 69.101
  libswscale      5.  6.100 /  5.  6.100
  libswresample   3.  6.100 /  3.  6.100
  libpostproc    55.  6.100 / 55.  6.100
[rawvideo @ 0x5d00c80] Estimating duration from bitrate, this may be inaccurate
Input #0, rawvideo, from
'BundNightscape_3840x2160_30fps_bt709_444_videoRange.yuv':
  Duration: 00:00:01.37, start: 0.000000, bitrate: 3001733 kb/s
    Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p,
3840x2160, 2985984 kb/s, 30 tbr, 30 tbn, 30 tbc
File 'outputfile.mp4' already exists. Overwrite? [y/N] y
Stream mapping:
  Stream #0:0 -> #0:0 (rawvideo (native) -> h264 (libx264))
Press [q] to stop, [?] for help
[libx264 @ 0x5d0cd40] using cpu capabilities: MMX2 SSE2Fast SSSE3
SSE4.2 AVX BMI1 SlowPshufb
[libx264 @ 0x5d0cd40] profile High 4:4:4 Predictive, level 5.1, 4:2:0, 8-bit
[libx264 @ 0x5d0cd40] 264 - core 159 r2991 1771b55 - H.264/MPEG-4 AVC
codec - Copyleft 2003-2019 - http://www.videolan.org/x264.html -
options: cabac=0 ref=1 deblock=0:0:0 analyse=0:0 me=dia subme=0 psy=0
mixed_ref=0 me_range=16 chroma_me=1 trellis=0 8x8dct=0 cqm=0
deadzone=21,11 fast_pskip=0 chroma_qp_offset=0 threads=3
lookahead_threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0
bluray_compat=0 constrained_intra=0 bframes=0 weightp=0 keyint=250
keyint_min=25 scenecut=0 intra_refresh=0 rc=cqp mbtree=0 qp=0
Output #0, mp4, to 'outputfile.mp4':
  Metadata:
    encoder         : Lavf58.35.101
    Stream #0:0: Video: h264 (libx264) (avc1 / 0x31637661), yuv420p,
3840x2160, q=-1--1, 30 fps, 15360 tbn, 30 tbc
    Metadata:
      encoder         : Lavc58.65.100 libx264
    Side data:
      cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: N/A
Truncating packet of size 12441600 to 3732840e=00:00:01.20
bitrate=3105364.7kbits/s speed=0.0387x
Truncating packet of size 8708760 to 2896
BundNightscape_3840x2160_30fps_bt709_444_videoRange.yuv: corrupt input
packet in stream 0
[rawvideo @ 0x5d0ac00] Invalid buffer size, packet size 3735735 <
expected frame_size 12441600
Error while decoding stream #0:0: Invalid argument
frame=   41 fps=1.1 q=-1.0 Lsize=  504224kB time=00:00:01.33
bitrate=3097801.1kbits/s speed=0.0373x
video:504223kB audio:0kB subtitle:0kB other streams:0kB global
headers:0kB muxing overhead: 0.000222%
[libx264 @ 0x5d0cd40] frame I:1     Avg QP: 0.00  size:14040759
[libx264 @ 0x5d0cd40] frame P:40    Avg QP: 0.00  size:12557070
[libx264 @ 0x5d0cd40] mb I  I16..4: 100.0%  0.0%  0.0%
[libx264 @ 0x5d0cd40] mb P  I16..4: 69.7%  0.0%  0.0%  P16..4: 30.3%
0.0%  0.0%  0.0%  0.0%    skip: 0.0%
[libx264 @ 0x5d0cd40] coded y,uvDC,uvAC intra: 100.0% 100.0% 100.0%
inter: 100.0% 100.0% 100.0%
[libx264 @ 0x5d0cd40] i16 v,h,dc,p: 81%  0%  8% 10%
[libx264 @ 0x5d0cd40] i8c dc,h,v,p: 17%  0% 73% 10%
[libx264 @ 0x5d0cd40] kb/s:3022381.50

--snip-----
the error near the end is because I am downloading the file
the resulting video looks scrambled


>
> Carl Eugen
> _______________________________________________
> ffmpeg-user mailing list
> [hidden email]
> https://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> [hidden email] with subject "unsubscribe".
_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: [VR8K-dataset] help decoding YUV files

Carl Eugen Hoyos-2


> Am 02.02.2020 um 11:22 schrieb Tom Sparks <[hidden email]>:
>
> ffmpeg -f rawvideo -s 3840x2160 -r 30 -i
> "BundNightscape_3840x2160_30fps_bt709_444_videoRange.yuv"

The file name indicates that you need ā€œ-pix_fmt yuv444pā€

Carl Eugen
_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: [VR8K-dataset] help decoding YUV files

Tom Sparks-2
On 02/02/2020, Carl Eugen Hoyos <[hidden email]> wrote:
>
>
>> Am 02.02.2020 um 11:22 schrieb Tom Sparks <[hidden email]>:
>>
>> ffmpeg -f rawvideo -s 3840x2160 -r 30 -i
>> "BundNightscape_3840x2160_30fps_bt709_444_videoRange.yuv"
>
> The file name indicates that you need ā€œ-pix_fmt yuv444pā€

turns out it was a PEBKAC error, I was trying to decode the wrong video file
the link at the bottom of the page point to the wrong directory witch
I was downloading from,
the link underneath the images point to the correct location.

>
> Carl Eugen
> _______________________________________________
> ffmpeg-user mailing list
> [hidden email]
> https://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> [hidden email] with subject "unsubscribe".
_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".