Hi everybody,
I am not sure if this is the correct list to send my question, so please 
correct me if I am wrong.

My goal is: given a folder, list all video files with their respective duration 
and the total.
I have already done a script for that using avconv. Now I want to create a 
small package to do that. However, today libav has 33mb which is very big for 
what I want and needs to be installed with many dependencies. I would like to 
minimize the size and effort for installing it.

I have looked into the source code, and tried to extract just the information 
that I want. However there is a lot of things that are related and I do not 
have the knowledge to distinguish between what is essential for me, and what is 
not.
Anyway, I have come to the following calls that have what I want.
main -> avconv_parse_options -> open_file(open_input_file) -> open_input_file 
-> avformat_find_stream_info -> update_stream_timings

So my question is, is there any way to have just the code related to getting 
the video info or time?
Has anyone done it before? Is my approach completely wrong?


Thanks in advance,
Pablo Musa
_______________________________________________
libav-api mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-api

Reply via email to