I have an mpeg2 file that I would like to count the number of frames
for using pymedia.  After modifying dump_video.py to just count
frames, I get 544 frames.  However, if I use ffmpeg or mplayer, they
tell me that it has 548 frames.  If I convert the file to an avi using
"ffmpeg -i test.mpg -sameq -vcodec copy -an test.avi" and feed the avi
to dump_video.py, I get 547 frames.  Which is correct, pymedia or
ffmpeg/mplayer?  Why are they different?  Why is the framecount
different between the mpg and the avi?  Any help would be greatly
appreciated.  Thanks in advance.


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37&alloc_id865&op=click
_______________________________________________
Pymedia-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pymedia-users

Reply via email to