Hello
I'm noticing a huge difference in decoding speed with my own code, and with
ffmpeg command line tool, especially with large (> 2GB) files.
This is my current test code: http://pastebin.com/WbJwAKFx
Just looping over the packets, without even reading them, takes 120 seconds.

When I run "ffmpeg -i mylargefile.mp4 /tmp/extractedSubtitle.srt", it takes
no more than 10 seconds. Of course, I dropped linux kernel caches first, to
force the same file reading speed.

I tried looking at ffmpeg.c, but I didn't notice anything in particular.
Thanks
Marco
_______________________________________________
Libav-user mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/libav-user

Reply via email to