[FFmpeg-devel] [PATCH] lavf: Add an XMV demuxer

Sven Hesse drmccoy at drmccoy.de
Tue Aug 16 15:08:50 CEST 2011


On 2011-08-16 08:51:48 +0000, Carl Eugen Hoyos wrote:
> Please do not re-indent these lines in this patch: It makes reading the actual
> changes much more difficult.
> (Whoever commits the patch can do the re-indentation afterwards.)

Hmm, okay...

> > +    vst->codec->codec_id   = CODEC_ID_WMV2;
> > +    vst->codec->codec_tag  = MKBETAG('W', 'M', 'V', '2');
> 
> Does remuxing work?

As in
$ ffmpeg -i FOO.xmv -acodec copy -vcodec copy BAR.wmv
?

It doesn't, suprisingly. Trying to play the output with ffplay doesn't
open a window with the video contents. And the console shows
| A-V:-1313499763.768
so I guess the're something wrong with the timestamps?

Hmm, also, unless ffmpeg rewrites the extradata, thanks to the hack
in WMV2's decode_ect_header, the output would not be a standard WMV
file. Maybe it would be better to manually unravel and rewrite the
extradata according to normal WMV2 extradata in the XMV demuxer?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20110816/74a949aa/attachment.asc>


More information about the ffmpeg-devel mailing list