[Ffmpeg-devel] WMA encoding and Windows Media Player for Mac OS X

Michael Niedermayer michaelni
Fri Mar 9 00:32:51 CET 2007


Hi

On Thu, Mar 08, 2007 at 04:42:59PM -0600, Tyler Loch wrote:
> >what is the source for the encoding? .asf? do you encode or stream  
> >copy
> >(-vcodec copy / -acodec copy)?
> 
> For the majority of tests, I've been encoding from an H.264/AAC  
> source file at 24fps to WMV2/WMAV2 .wmv.
> Encoding to .avi and then streamcopying to .asf/.wmv has the same  
> problem.
> 
> >does encoding with -intra change anything with unmodified svn?
> 
> It changes the duration and location of the skips:
> 
> With -intra:
> Seconds: 4--->10, 16---->22
> 
> With -g 200:
> Seconds: 1--->7, 8---->15
> 
> Afterwards, it plays perfectly fine.

do the first 15-22 seconds differ somehow from the rest of the video
i mean some high motion opening with the remainder of the video being
more low motion like or such?


> 
> Here's the commandline I'm using:
> ./ffmpeg  -y  -i '/Users/tylerl/Desktop/''nas-intro.mp4'   -s  
> 640x352  -vcodec wmv2  -g 200  -qmin 4  -b 1500k -acodec wmav2  -ar  
> 48000 -ac 2 -ab 128k   '/Users/tylerl/Desktop/'/'0304svn109.wmv'
> 
> Would it be useful to see the entire output?

dunno ...

a few more random ideas ...

what happens if you increase 
 put_le32(pb, bit_rate); /* Nominal data rate in bps */
that is 2*bit_rate or so?

and what happens if you comment out the following: 
 asf_write_index(s, asf->index_ptr, asf->maximum_packet, asf->nb_index_count);


[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

it is not once nor twice but times without number that the same ideas make
their appearance in the world. -- Aristotle
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20070309/3f7f5d2a/attachment.pgp>



More information about the ffmpeg-devel mailing list