So far this looks like it's working as designed: the app is telling
you that the video codec data in the source (the "demux outpin")
cannot be converted to VP8.
What kind of video data do you have in the AVI file?
Is the file in a location where we can get to it?
-Matt
Use yousendit.com to send it to me: <matthewjheaney@gmail>.com .
> I can convert it to
> another format using Handbrake to MP4 (m4v) container and the H.264
> video codec, but I get another error.
You probably need to install the Windows Essentials Codec Pack:
You might need to tweak the ffdshow property page to enable/disable
the codec you need.
-Matt
I just downloaded smb.avi.
MediaInfo is telling me that the video stream is Fraps, and the audio
stream is PCM.
Let me see if I can find a DirectShow decoder filter for Fraps format.
-Matt
ffdshow supports Frap decompression. When I enable it, I can render
the video fine. (I'm using WMP12).
Let me try to run makewebm to, er, make a webm file.
-Matt
I can convert the file without any problem. The command line I used was:
makewebm smb.avi
This makes a webm file, smb.webm, which I can then play.
Have you installed ffdshow (available as part of the Windows
Essentials Codec Pack), and enabled Frap decompression?
-Matt
Right.
> After I did that then makewebm smb.avi worked. Thanks a lot Matt.
Je vous en prie!
> Hopefully this is a more straightforward process in the future and
> hopefully the conversion speeds up as well. This file was only 79MB
> but took quite some time to convert.
You can trade quality for encoding speed using the --deadline switch.
It specifies the number of microseconds to use for each frame.
The value 0 means "use as much time as necessary". This implies best
quality. You say that directly by using the value "best" (or
"infinite") for the deadline. e.g.
makewebm --deadline=best ...
The value 1 means "use the minimum amount of time". This is a
real-time mode. You can also say "real-time" (or "realtime") as the
deadline value.
The value 1000000 means "use 1 sec" for each frame. This implies good
quality. You can also say "good" as the deadline value.
> Takes me about 10 seconds to convert it to H.264 in Handbrake but it
> takes like 8 minutes in makewebm and with lesser quality.
You have control over both the quality and encoding time.
Good quality is the default for the VP8 encoder filter, if you don't
specify a value explicitly. This might explain why your encode took
longer than expected. You can adjust the value down as required for
faster encoding. Try 5000 or 2500 or 1000 as the deadline values and
see how like the quality.
See the link below for more info.
Note that if you're going to play with video encoding parameters, you
might as well just encode the audio once. Use --no-video switch (and
maybe --require-audio too) to make a webm file with compressed audio
(only). Use --no-audio when you're playing around with video
encoding, to make a video-only file. When you're satisfied with the
video, you can mux the audio and video together using the
--audio-input switch.
> I don't know
> exactly how to make the quality better because I don't have a full
> understanding of the parameters in makewebm.
If you run makewebm without any parameters, you'll get a list of
switches you can use to influence the encoding. There's some info
here about encoding parameters:
http://www.webmproject.org/tools/encoder-parameters/
There are lots of people monitoring this list who know how to tweak
the VP8 encoding parameters for various scenarios. Read the page
cited above, try a few things, and then post questions here if you
need help with anything.
Regards,
Matt
That page shows you general parameters about VP8 compression. It is
not a description of the syntax of makewebm. For that, specify the
help switch for makewebm to get a list of switches. You then have
figure out the correspondence between the VP8 parameters and the
makewebm switches. If you cannot figure it which parameters
correspond to which switches (they are close but not exact), then just
post here.
> I can't do makewebm -p 2 or makewebm --best and many of the
> other ones. It looks like it's made for an executable named vpxenc.exe
Right. It is an explanation of VP8 compression parameters, not a
description of makewebm. Sorry for any confusion.
-Matt
I think it's true that VP8 encoding takes longer than using other
encoders. Whether VP8 encoding time can improved is a question I
defer to the video encoder team to answer. For now, you just have to
pick your desired quality and then accept that the actual encode might
take a while. For example, if I need some high-quality VP8 source
material, I'll just let the encoder run over night or over the
weekend. If I need something quick and dirty, and I don't
particularly care about the quality (say, I'm testing a change to a
muxer), then I"ll just set the deadline value to something very small.
-Matt
The reason for the bad quality is that the target bitrate wasn't being
specified, so it was using a very low default (256K iirc) which is
unacceptable for 960x540. I'm not sure how hands-off makewebm is
intended to be, but it could be updated to choose better defaults
based on the frame size in case the user doesn't specify anything.
On Wed, Jan 26, 2011 at 7:55 AM, Pablo <pav...@gmail.com> wrote:
> --
> 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.
>
>