Opus and video in one container?
Reply #12 – 2013-06-26 23:20:06
I have HTML5 video enabled in Chrome and Firefox (Chrome dev-m and (Firefox) Nightly), but I'm not sure if Youtube hasn't re-encoded the VP9 video streams into something else. There are actual VP9 videos in the WebMVP9 youtube channel. But they are not compatible with the final bitstream. They might be compatible with VP9-enabled Chrome 27. But I never tested that myself. The VP9 files I analyzed in that youtube channel have no audio. Example mkvinfo output:+ EBML head |+ EBML version: 1 |+ EBML read version: 1 |+ EBML maximum ID length: 4 |+ EBML maximum size length: 8 |+ Doc type: webm |+ Doc type version: 2 |+ Doc type read version: 2 + Segment, size 231956880 |+ Seek head (subentries will be skipped) |+ EbmlVoid (size: 23) |+ Segment information | + Timecode scale: 1000000 | + Duration: 671.771s (00:11:11.771) | + Muxing application: google | + Writing application: google |+ Segment tracks | + A track | + Track number: 1 (track ID for mkvmerge & mkvextract: 0) | + Track UID: 1739287428 | + Track type: video | + Codec ID: V_VP9 | + Video track | + Pixel width: 1920 | + Pixel height: 1080 |+ Cluster Speaking of Youtube, though. What about Flash? Will this kind of video files be supported in Flash as well? Or is Flash based video playback more or less put to rest for those codecs? That depends on what Adobe decides. My guess is that there will be no VP9 or Opus support anytime soon in flash.I'm gonna do a test or two with an MKV(VP9 + Opus) files when I get back home. I believe if FFmpeg cannot mux them, I should be able to do that with the Matroska tools (putting the video and audio stream into the MKV container). With a recent enough ffmpeg, and a VP9 enabled libvpx, you can create VP9+Opus mkv files:ffmpeg -i infile.ext -c:v vp9 -strict -2 -c:a opus out.mkv