Hello,
On Thu, Jun 25, 2009 at 3:46 AM, PyProg PyProg<pyprog05 at gmail.com> wrote:
Hello,
From what version FFmpeg can supports AVCHD ?. I would like to know very precisely (!).
<snip>
At least I really want to know from which version FFmpeg is able to work with .mts, .MTS, .m2ts and .M2TS files.
Hello, On Ubuntu Intrepid, the ffmpeg provided with official release is not configured to handle AVCHD. I built ffmpeg from source, satisfied the library dependencies, and obtained the missing pieces to convert .mts files.. Ffmpeg works fine. Very impressive and powerful software. But the process to build ffmpeg and satisfy dependencies is non-trivial. You probably need to have experience building software from source. Briefly; Get the source - http://www.ffmpeg.org/download.html Or use svn. Unpack, and run 'configure'. Tell it to --enable the following. Do not expect the default build (from source) to work, it won't. ./configure --enable-gpl --enable-x11grab --prefix=/usr --enable-libgsm --enable-libtheora --enable-libvorbis --enable-pthreads --disable-stripping --enable-libfaad --enable-libfaadbin --enable-libdc1394 --enable-libamr-nb --enable-libamr-wb --enable-libfaac --enable-libmp3lame --enable-libx264 --enable-libxvid --enable-shared --enable-postproc --enable-nonfree --enable-avfilter Note there are probably things in my 'configure' setup above that are not needed for yours. I use ffmpeg to convert cell phone videos to .avi, .wmv, etc.. It works fine. Anyway, If 'configure' process does not find these libs, you need to: a) satisfy the dependency - use Synaptic or your package manager. And be sure to have the -dev packages for all the libs installed. or b) Get source, configure, make, make install. Then, re-run 'configure'. Keep doing this until all library dependencies are satisfied, and 'configure' does not complain about anything. In my setup, I had to update every a/v and audio codec using Synaptic, and also had to add the dev packages. I also had to over-write the Ubuntu libx264, the repo has too old a version, and the correct package was not avail for Intrepid. You can get this newer version of libx264 here: http://debian-multimedia.org/pool/main/x/x264/x264.php I installed libx264 using Gdebi package manager. Synaptic does not see that, but it's ok. Finally ffmpeg compiles. But you are not done yet. For ffmpeg to work on .mts files, you also need to split and convert those to something ffmpeg can take in. You need 'xporthdmv', and 'ldecode.exe' These tools can be found here; http://www.olmosconsulting.com/m2ts.tar.gz There are instructions in the tarball about how to build these tools, and how to use them. There is also a bit of a how2 at http://wesleybailey.com/articles/m2tstoavi-avchd It refers to Ubuntu Gutsy, but I found the code to still work on Intrepid. Hope this helps. Regards, alex
2009/6/26 Alex Morris <axman.5389 at gmail.com>:
Hello,
Hello Alex, Yes I know how to compile FFmpeg. I created some time ago and continues to develop software that makes the post-production for video and images ... and uses (among others) FFmpeg, Mplayer and Mencoder. My software called EKD, it is very easy to use ... I do therefore not require users to have to compile FFmpeg to use AVCHD in EKD. EKD -> http://ekd.tuxfamily.org I also know ldecod and xporthdmv because I created in February 2009 a small software that encodes the. mts, .m2ts, .MTS and .M2TS in different codecs. This small software called AVCHD Video Converter (it uses FFmpeg, PyQt4, xport and ldecod) -> http://lprod.org/wiki/doku.php/video:encodage:avchd_converter I want to incorporate AVCHD Video Converter in EKD ... EKD could work with AVCHD, which is why I asked that. Meanwhile I found a solution, in fact I'll use Mencoder to work with AVCHD in EKD. Mencoder seems more advanced in this field. In fact we will use (because now we are 3 developpers on the EKD project) xport, ldecod and FFmpeg with those who use older versions of Mencoder. Mencoder and only with those who use newer versions of Mencoder. I also look for how to detect the exact version of Mencoder on the machine (there is no command like: mencoder-version). I also want to know from which version Mencoder can work with AVCHD. Excuse me for my bas english. a+ Angelo -- http://ekd.tuxfamily.org
participants (2)
-
axman.5389@gmail.com -
pyprog05@gmail.com