Dear Chromium team,
I am unable to play .yuv files which is converted to nv12 color format as below:
1. I have used the below procedure for converting the video samples to NV12 color format in Ubuntu & verified using ffplay in Ubuntu and yuv player in windows ,
Please let me know how this sample can be validated in chromium OS?
b. Converted the above sample as below to NV12 color format using ffmpeg
ffmpeg -pix_fmt yuv420p -s 176x144 -i carphone_qcif.yuv -pix_fmt nv12 carphone_qcif_nv12.yuv
c. Played the above sample as below
ffplay -s 176x144 -pix_fmt nv12 -i carphone_qcif_nv12.yuv
2. I have compiled ffmpeg (USE = "-mmx sdl" emerge-<platform-name> media-video/ffmpeg) and deployed on my target where chromium OS is running
3. localhost /carphone_qcif # ffplay -s 176x144 -pix_fmt nv12 -i carphone_qcif_nv12.yuv
ffplay version 0.10.3 Copyright (c) 2003-2012 the FFmpeg developers
built on Jul 31 2018 15:27:32 with clang 7.0.0 (/var/cache/chromeos-cache/distfiles/host/egit-src/clang.git 1084e053422cbbaaa6e06a972aac210489e7a0ad) (/var/cache/chromeos-cache/distfiles/host/egit-src/llvm.git eb53cf72757e4d4bd43043bf81b4f18336b7d33a)
configuration: --prefix=/usr --libdir=/usr/lib64 --shlibdir=/usr/lib64 --mandir=/usr/share/man --enable-shared --cc=x86_64-cros-linux-gnu-clang --cxx=x86_64-cros-linux-gnu-clang++ --ar=x86_64-cros-linux-gnu-ar --optflags='-O2 -pipe -O2 -pipe -march=corei7 -g -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables ' --extra-cflags='-O2 -pipe -O2 -pipe -march=corei7 -g -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables ' --extra-cxxflags='-O2 -pipe -O2 -pipe -O2 -pipe -march=corei7 -g -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables ' --disable-static --enable-gpl --enable-postproc --enable-avfilter --disable-stripping --disable-debug --disable-doc --disable-network --disable-vdpau --disable-indev=v4l --disable-indev=v4l2 --disable-indev=alsa --disable-indev=oss --disable-indev=jack --disable-outdev=alsa --disable-outdev=oss --disable-amd3dnow --disable-amd3dnowext --disable-altivec --disable-avx --disable-mmx --disable-ssse3 --disable-vis --disable-neon --cpu=cor libavutil 51. 35.100 / 51. 35.100
libavcodec 53. 61.100 / 53. 61.100
libavformat 53. 32.100 / 53. 32.100
libavdevice 53. 4.100 / 53. 4.100
libavfilter 2. 61.100 / 2. 61.100
libswscale 2. 1.100 / 2. 1.100
libswresample 0. 6.100 / 0. 6.100
libpostproc 52. 0.100 / 52. 0.100
Option -s is deprecated, use -video_size.
Option -pix_fmt is deprecated, use -pixel_format.
Could not initialize SDL - No available video device
(Did you set the DISPLAY variable?)
Could anybody please help me how this nv12 color format video file can be played on chromium OS?? OR what is the media player that can be used to play this .yuv video files in chromium OS??
Kindly do the needful as early as possible, as am stuck with this issue from past many days
Awaiting for your replies
Many Thanks in advance