Re: [Libav-user] decoding speed on large files

2013-10-17 Thread Marco Gulino
bump. To be more clear: I need to extract text subtitles from large files, saving them on a database. I am currently able to reencode the subtitle itself, but the decoding part ( http://pastebin.com/WbJwAKFx ) is really damn slow, while "ffmpeg" command line takes just a few seconds. Is there anyt

[Libav-user] decoding speed on large files

2013-10-01 Thread Marco Gulino
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 "ffmpe