[FFmpeg-user] VP9 Enc. seems OK but Chromium, FireFox and VLC won't play

Podium B.V. mailinglist at podiumbv.nl
Fri Apr 18 16:51:20 CEST 2014


Hi all,

I'm experimenting again with VP9. Our first goal is to use
it local as a proxy for our (very) big video files. So I tried
to encode my files the following way:

###########

VAR_BUILD="ffmpeg-git-20140417-64bit-static";
VAR_INPUT="/home/<user>/Videos/MuxedCLIP0001.mov";
VAR_OUTPUT="$VAR_INPUT.webm";
VAR_FONTFILE="/usr/share/fonts/truetype/ubuntu-font-family/UbuntuMono-B.ttf";

time /home/<user>/Videos/ffmpeg/$VAR_BUILD/ffmpeg \
-i "$VAR_INPUT" \
-codec:v libvpx-vp9 -strict experimental -quality good -cpu-used 4 -qmin 
50 -qmax 50 -pix_fmt yuv420p \
-map 0:0 -filter:v:0 "yadif=0:-1:0, scale=536:288, setsar=1/1, 
crop=524:288:6:0, hue=0:1.1, drawtext=fontfile=$VAR_FONTFILE: 
timecode='00\:00\:00\:00': r=25: \ x=(w-tw)/2: y=h-(2*lh): 
fontcolor=white: fontsize=22: box=1: boxcolor=0x00000000 at 1" \
-codec:a libvorbis -b:a 96k \
-map 0:1 -filter:a:0 "pan=stereo|c0=c0|c1=c1" \
"$VAR_OUTPUT"

--> Scroll down for complete output <--

###########

from the forums, internet and the WebM website I understand:

Product Support (http://www.webmproject.org/vp9/)

Google Chrome
VP9 decode support was first enabled by default in Google Chrome 29 Dev 
channel (r206883) on 2013-06-26.

Mozilla Firefox
VP9 decode support was first added to Firefox Aurora (“pre-beta”) 
nightly builds on 2013-12-06.

VLC
Experimental VP9 decode support was added to VLC in version 2.1.2.

FFMpeg / Libav
Search the FFMpeg codebase for recent libvpx-related commits
Search the Libav codebase for recent libvpx-related commits

BUT with the files FFMpeg did encode for me non of these "players" play 
the video.
They DO show a video-frame and when I scroll trough the timeline the 
video-frame
of that moment in time become visible! But no sound and it's not playing...

Anyone any ideas ??
Thanks!

###########

$ bash makeVP9proxy.sh
ffmpeg version N-42139-g443261c- http://johnvansickle.com/ffmpeg/ 
Copyright (c) 2000-2014 the FFmpeg developers
built on Apr 17 2014 02:24:41 with gcc 4.8 (Debian 4.8.2-19)
configuration: --enable-gpl --enable-version3 --disable-shared 
--disable-debug --enable-runtime-cpudetect --enable-libmp3lame 
--enable-libx264 --enable-libx265 --enable-libwebp --enable-libspeex 
--enable-libvorbis --enable-libvpx --enable-libfreetype 
--enable-fontconfig --enable-libxvid --enable-libopencore-amrnb 
--enable-libopencore-amrwb --enable-libtheora --enable-libvo-aacenc 
--enable-libvo-amrwbenc --enable-gray --enable-libopenjpeg 
--enable-libopus --disable-ffserver
libavutil 52. 76.100 / 52. 76.100
libavcodec 55. 58.103 / 55. 58.103
libavformat 55. 37.100 / 55. 37.100
libavdevice 55. 13.100 / 55. 13.100
libavfilter 4. 4.100 / 4. 4.100
libswscale 2. 6.100 / 2. 6.100
libswresample 0. 18.100 / 0. 18.100
libpostproc 52. 3.100 / 52. 3.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 
'/home/<user>/Videos/MuxedCLIP0001.mov':
Metadata:
major_brand : qt
minor_version : 512
compatible_brands: qt
encoder : Lavf55.19.104
Duration: 00:00:23.76, start: 0.000000, bitrate: 38082 kb/s
Stream #0:0(eng): Video: mpeg2video (Main) (xdv7 / 0x37766478), 
yuv420p(tv, bt709), 1440x1080 [SAR 4:3 DAR 16:9], 35008 kb/s, 25 fps, 25 
tbr, 12800 tbn, 50 tbc (default)
Metadata:
handler_name : DataHandler
timecode : 14:54:55:06
Stream #0:1(eng): Audio: pcm_s16le (sowt / 0x74776F73), 48000 Hz, mono, 
s16, 768 kb/s (default)
Metadata:
handler_name : DataHandler
Stream #0:2(eng): Audio: pcm_s16le (sowt / 0x74776F73), 48000 Hz, mono, 
s16, 768 kb/s
Metadata:
handler_name : DataHandler
Stream #0:3(eng): Audio: pcm_s16le (sowt / 0x74776F73), 48000 Hz, mono, 
s16, 768 kb/s
Metadata:
handler_name : DataHandler
Stream #0:4(eng): Audio: pcm_s16le (sowt / 0x74776F73), 48000 Hz, mono, 
s16, 768 kb/s
Metadata:
handler_name : DataHandler
Stream #0:5(eng): Data: none (tmcd / 0x64636D74), 0 kb/s
Metadata:
handler_name : DataHandler
timecode : 14:54:55:06
[Parsed_pan_0 @ 0x421bb60] Pure channel mapping detected: 0 M
[libvpx-vp9 @ 0x4195920] v1.3.0-2384-g68dcdde
Output #0, webm, to '/home/<user>/Videos/MuxedCLIP0001.mov.webm':
Metadata:
major_brand : qt
minor_version : 512
compatible_brands: qt
encoder : Lavf55.37.100
Stream #0:0(eng): Video: vp9 (libvpx-vp9), yuv420p, 524x288 [SAR 1:1 DAR 
131:72], q=50-50, 200 kb/s, 1k tbn, 25 tbc (default)
Metadata:
handler_name : DataHandler
timecode : 14:54:55:06
Stream #0:1(eng): Audio: vorbis (libvorbis), 48000 Hz, stereo, fltp, 96 
kb/s (default)
Metadata:
handler_name : DataHandler
Stream mapping:
Stream #0:0 -> #0:0 (mpeg2video -> libvpx-vp9)
Stream #0:1 -> #0:1 (pcm_s16le -> libvorbis)
Press [q] to stop, [?] for help
frame= 594 fps= 38 q=0.0 Lsize= 263kB time=00:00:23.80 bitrate= 90.7kbits/s
video:40kB audio:207kB subtitle:0kB other streams:0kB global headers:4kB 
muxing overhead: 6.699785%

real 0m15.656s
user 0m24.745s
sys 0m0.416s




More information about the ffmpeg-user mailing list