[Libav-user] asf (.wmv) muxer problem : duration is not good !

2012-09-28 Thread Stephane Debusne
Hi all, i'm developing a graphical application using libav libraries. The application typically takes one MJPEG avi file and a wav file as input and output a muxed video file. I Know that ffmpeg.exe does it well but i have to do it inside my application, without a call to ffmpeg.exe, so i use

Re: [Libav-user] asf (.wmv) muxer problem : duration is not good !

2012-09-28 Thread Gonzalo Garramuno
On 28/09/12 09:01, Stephane Debusne wrote: Hi all, i'm developing a graphical application using libav libraries. The application typically takes one MJPEG avi file and a wav file as input and output a muxed video file. I Know that ffmpeg.exe does it well but i have to do it inside my applicat

Re: [Libav-user] asf (.wmv) muxer problem : duration is not good !

2012-09-29 Thread Carl Eugen Hoyos
Stephane Debusne writes: > but after writing the trailer, if i close and reopen the file, the > duration read by avlibs is 14805. not 12800... > However, the movie plays well and it plays only for 12.8 seconds. Isn't the duration value simply wrong on reopening? Or is that also not reproducible

Re: [Libav-user] asf (.wmv) muxer problem : duration is not good !

2012-09-29 Thread Stephane Debusne
Le 29/09/2012 10:03, Carl Eugen Hoyos a écrit : Stephane Debusne writes: but after writing the trailer, if i close and reopen the file, the duration read by avlibs is 14805. not 12800... However, the movie plays well and it plays only for 12.8 seconds. Isn't the duration value simply wrong on