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

Tyler Loch tylerl82
Thu Mar 8 20:49:17 CET 2007


> 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;
>              }

No change - the first 10-15 seconds are skipped over in the timeilne  
after a short blip is played right at the beginning and at second 7.

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

Yes. Video-only and audio-only files play perfectly fine.


-Tyler Loch
Techspansion LLC
http://www.techspansion.com






More information about the ffmpeg-devel mailing list