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

Michael Niedermayer michaelni
Thu Mar 8 19:51:21 CET 2007


Hi

On Thu, Mar 08, 2007 at 10:54:18AM -0600, Tyler Loch wrote:
> >maybe the patch below with some other (positive or negative) value
> >for 500 will work?
> 
> int delay= -50;
> 
> ^^ This seems to start off pretty well.
> During playback though, videos end 10-15 seconds prematurely (they  
> start fine), although scanning through the file can change this  
> behavior.
> Higher (less negative, positive) values still lose the first 15ish  
> seconds.

hmmmmm, random try, what happens if you apply the patch below

Index: asf-enc.c
===================================================================
--- asf-enc.c	(revision 8273)
+++ asf-enc.c	(working copy)
@@ -679,7 +679,7 @@
 
             asf->packet_timestamp_start = timestamp;
 
-            if(frag_len1 < payload_len && avst->codec->codec_type == CODEC_TYPE_AUDIO){
+            if(/*frag_len1 < payload_len && */avst->codec->codec_type == CODEC_TYPE_AUDIO){
                 flush_packet(s);
                 continue;
             }


also if this doesnt help, do audio only or video only (with unmodfied svn)
files work?

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

The greatest way to live with honor in this world is to be what we pretend
to be. -- Socrates
-------------- 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/20070308/aff950b9/attachment.pgp>



More information about the ffmpeg-devel mailing list