Webm files can be played in VLC only

505 views
Skip to first unread message

Vadim

unread,
May 4, 2011, 2:36:08 PM5/4/11
to WebM Discussion
I can successfully create webm VP80 files using webm sdk. The files
can be processed by youtube and are playable in VLC player. However
the same files fail to play in webbrowsers for examle Firefox or in
other players such as Winamp. Now if I download some webm files from
the net they play just fine in both Firefox and Winamp.

The difference between my webm files and the ones I download is that
mine start with DKIF signature while the one from the internet start
with ->Eߣ

How would I make my webm files that have DKIF signature be playable in
the browsers ?

John Koleszar

unread,
May 4, 2011, 2:42:56 PM5/4/11
to webm-d...@webmproject.org
You can't. Your files that have the DKIF signature are actually IVF files, not WebM. If you're creating these with the vpxenc tool, just don't pass the --ivf option and you should get webm by default. If you're still using ivfenc, please upgrade to the latest to get webm writing support. If you can't upgrade, you can use ffmpeg to convert IVF to WebM. How exactly are you creating these files?

Thanks,

John



--
You received this message because you are subscribed to the Google Groups "WebM Discussion" group.
To post to this group, send email to webm-d...@webmproject.org.
To unsubscribe from this group, send email to webm-discuss...@webmproject.org.
For more options, visit this group at http://groups.google.com/a/webmproject.org/group/webm-discuss/?hl=en.


Vadim

unread,
May 4, 2011, 3:08:37 PM5/4/11
to WebM Discussion
Thanks for the reply John.
I just followed the example from webm SDK:
http://www.webmproject.org/tools/vp8-sdk/group__vp8__encoder.html
So you are saying that webm SDK gives an example of working with IVF
files ? Why ? How would I still create webm file from a series of
images then?

Vadim

unread,
May 4, 2011, 3:12:14 PM5/4/11
to WebM Discussion
The sample code is here: http://www.webmproject.org/tools/vp8-sdk/example__simple__encoder.html

The DKIF signature is created explicitly:

header[0] = 'D';
header[1] = 'K';
header[2] = 'I';
header[3] = 'F';

John Koleszar

unread,
May 4, 2011, 3:22:23 PM5/4/11
to webm-d...@webmproject.org
IVF is a much simpler format to work with than WebM, so it is used in the example code. The intent of the examples is to show how to call the library, which is independent of what you choose to do with the compressed data once you get it back, and to be self contained, so that you can see the entire code in one file. IVF is what we used at launch. When support for WebM writing was added recently, it wasn't added into the examples mostly because the webm writer was imported in several files, which would break the self-contained nature of the examples. 

The vpxenc.c file is a more fully featured encoder than simple_encoder.c, and it has the code for writing webm in it. It should be fairly simple to pull the webm writing code out to put into your application. Search for 'write_webm'.

If you're looking to script command line tools to create a webm from a series of images, then there are certainly easier ways. If you need to do it in C, then you're on the right track.



--

Vadim

unread,
May 4, 2011, 3:38:22 PM5/4/11
to WebM Discussion
Thanks John !
vpxenc.c is just what I need.
Reply all
Reply to author
Forward
0 new messages