On 25/03/14 14:15, Enrique Arizón Benito wrote: > Hi, > > I'm developing an small project that required to call avconv from LUA ( > http://www.lua.org/). > > After a few trials I managed to wrap the avconv main function to be called > directly from a LUA script, so that exceptions are captured by the LUA > exception mechanism (an small improvement over creating an avconv > subprocess and parsing the ouput).
Sounds neat =) > Since I don't want to reinvent the wheel I wonder whether there is > something already developed. I couldn't find anything related "googling > around". Otherwise, If anyone is interested on the LUA wrapper, just let me > know. Not that I know. > The LUA+avconv wrapper scripts looks something similar to: > > -- Description > -- Take a thumbnail of a given video. > myVideo = "-i myVideo.mp4" > outputThumbnail = "myVideo.png" > cmd = "" > cmd = cmd .. myVideo > cmd = cmd .. "-ss 00:00:15.000 " > cmd = cmd .. "-f image2 " > cmd = cmd .. "-vframes 1 " > cmd = cmd .. outputThumbnail I'm quite sure some people would find it extremely useful. lu _______________________________________________ libav-devel mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-devel
