[FFmpeg-devel] [PATCH] lavf: Add an XMV demuxer
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.)
> > + vst->codec->codec_id = CODEC_ID_WMV2;
> > + vst->codec->codec_tag = MKBETAG('W', 'M', 'V', '2');
> Does remuxing work?
$ 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
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
Size: 198 bytes
Desc: Digital signature
More information about the ffmpeg-devel