fnordware / AdobeWebM

WebM plug-ins for Adobe programs
926 stars 127 forks source link

VP8 and 9 in mkv containers #67

Open Kiina opened 4 years ago

Kiina commented 4 years ago

Youtube puts video into an mkv container. When you try to import it straight you get a file not supported. When you change the fileending from mkv to webm you can import it, but there is no sound, so you have to rip the aac audio stream and import it manually. It would be really good to have support for importing the .mkv with a vp9 stream and working audio.

Example mediainfo of a youtube video:

Format                                   : Matroska
Format version                           : Version 4 / Version 2
File size                                : 263 MiB
Duration                                 : 2 min 32 s
Overall bit rate                         : 14.5 Mb/s
Writing application                      : Lavf58.18.104
Writing library                          : Lavf58.18.104
ErrorDetectionType                       : Per level 1
FileExtension_Invalid                    : mkv mk3d mka mks

Video
ID                                       : 1
Format                                   : VP9
Codec ID                                 : V_VP9
Duration                                 : 2 min 32 s
Width                                    : 3 840 pixels
Height                                   : 2 160 pixels
Display aspect ratio                     : 16:9
Frame rate mode                          : Constant
Frame rate                               : 29.970 (30000/1001) FPS
Color space                              : YUV
Language                                 : English
Default                                  : Yes
Forced                                   : No
Color range                              : Limited
Color primaries                          : BT.709
Transfer characteristics                 : BT.709
Matrix coefficients                      : BT.709

Audio
ID                                       : 2
Format                                   : AAC
Format/Info                              : Advanced Audio Codec
Format profile                           : LC
Codec ID                                 : A_AAC-2
Duration                                 : 2 min 32 s
Channel(s)                               : 2 channels
Channel positions                        : Front: L R
Sampling rate                            : 44.1 kHz
Frame rate                               : 43.066 FPS (1024 SPF)
Compression mode                         : Lossy
Title                                    : ISO Media file produced by Google Inc.
Default                                  : Yes
Forced                                   : No