Extracting ASF Duration using FFMPEG

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Extracting ASF Duration using FFMPEG

Viral Sachde
Hi,
I am extracting duration using ffmpeg. (simple ffmpeg Filename.asf
out.avi, and reading output)
The duration value is different when I paly it in windows media player
than what I receive on ffmpeg.
Can some one provide some clue ? (Side note: It also showed different
value than wmp in vlc (same as ffmpeg).
Regards,
Viral
_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://lists.mplayerhq.hu/mailman/listinfo/ffmpeg-user
Reply | Threaded
Open this post in threaded view
|

Re: Extracting ASF Duration using FFMPEG

Andy Civil
Viral Sachde wrote:
> Hi,
> I am extracting duration using ffmpeg. (simple ffmpeg Filename.asf
> out.avi, and reading output)

Not answering your question, but why not just read the file? The
duration is announced prior to the comment (I don't know if it's
technically an error) "Must supply at least one output file".

e.g.

I:\ffmpeg_stuff>ffmpeg -i "10 On the Sunny Side of the Street.wma"
FFmpeg version SVN-r7215, Copyright (c) 2000-2006 Fabrice Bellard, et al.
   configuration:  --enable-memalign-hack
   libavutil version: 49.1.0
   libavcodec version: 51.25.0
   libavformat version: 51.6.0
   built on Dec  3 2006 00:22:39, gcc: 3.4.6
Input #0, asf, from '10 On the Sunny Side of the Street.wma':
   Duration: 00:03:25.7, start: 1.579000, bitrate: 129 kb/s
   Stream #0.0: Audio: wmav2, 44100 Hz, stereo, 128 kb/s
Must supply at least one output file

I:\ffmpeg_stuff>

--
Andy
_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://lists.mplayerhq.hu/mailman/listinfo/ffmpeg-user