I already have some Java code that converts our in-memory streams to AVI files, and was originally hoping to adapt that. I did so, but found the results unplayable (ffmpeg -i theoutput.mp2 reports 'Unknown format'). I already noticed xuggle and was planning to look into it further. Is it as straightforward to use from a 'programmatic' data source as it is directly from files?
Thanks, Ricky. 2009/6/22 Art Clarke <[email protected]>: > On Mon, Jun 22, 2009 at 5:41 AM, Ricky Clarkson > <[email protected]>wrote: > >> Hi, >> >> I'm trying to write a small C program to convert a given file from >> MPEG-4 to MPEG-2. This will then be ported to Java (via Swig) and >> integrated into an existing program, but I'm stumbling at segfaults. >> I'm largely working from http://www.dranger.com/ffmpeg/tutorial01.html >> , but it does not cover writing new files, so I am coding a little >> blind. >> >> If you have any suggestions, please let me have them. >> > > If you're planning to just convert it to Java eventually, you could use this > instead: > http://wiki.xuggle.com/MediaTool_Introduction > > - Art > > -- > http://www.xuggle.com/ > xu‧ggle (zŭ' gl) v. To freely encode, decode, and experience audio and > video. > > Use Xuggle to get the power of FFMPEG in Java. > _______________________________________________ > libav-user mailing list > [email protected] > https://lists.mplayerhq.hu/mailman/listinfo/libav-user > -- Ricky Clarkson Java Programmer, AD Holdings +44 1565 770804 Skype: ricky_clarkson Google Talk: [email protected] _______________________________________________ libav-user mailing list [email protected] https://lists.mplayerhq.hu/mailman/listinfo/libav-user
