![]() Registered Member ![]()
|
Dear friends, I found some AVCHD raw footage on the internet for testing Kdenlive: Any downloading links for testing latest MLT/kdenlive developments? In reply to Dan, I have a bi-core AM2 computer. Kind regards, |
![]() Registered Member ![]()
|
I tested: Decoding works fine but is not multi-threaded. Kind regards, |
![]() Registered Member ![]()
|
When building the ffmpeg that MLT is using, did you --enable-pthreads? If you are using --avformat-svn, you need to supply this additional option to --avformat-svn-extra. |
![]() Registered Member ![]()
|
jmpoure wrote:
ffmpeg does not yet support interlaced AVCHD. The above causes ffplay to issue "[h264...] PAFF interlacing is not implemented." That is why I asked if you know of any progressive AVCHD with which to test. |
![]() Registered Member ![]()
|
ddennedy wrote:
ffmpeg does not yet support interlaced AVCHD. The above causes ffplay to issue "[h264...] PAFF interlacing is not implemented." That is why I asked if you know of any progressive AVCHD with which to test. Your ffmpeg is out of date :) or you should enable h264 decoding. I am sure that ffmpeg now supports PAFF interlaced AVCHD. export MLT_AVFORMAT_THREADS=2 ; inigo 00019.MTS |
![]() Registered Member ![]()
|
I compiled today's ffmpeg ... it rocks. It contains optimizations, now inigo plays very smoothly. |
![]() Registered Member ![]()
|
jmpoure wrote:
libx264 is used only for encoding
jmpoure wrote:
I stand corrected. I tested on one of the above with on my work computer with a dated ffplay. I just updated, and it does work. Also, I was generalizing with the claim "interlaced AVCHD" because while the above clips work, AFAIK, it is still incomplete with some clips reporting: |
![]() Registered Member ![]()
|
ddennedy wrote:
Also, I was generalizing with the claim "interlaced AVCHD" because while the above clips work, AFAIK, it is still incomplete with some clips reporting: I though spacial direct mode was used for digital HD channels, not camcorders. |
![]() Registered Member ![]()
|
Yes, it was from a camcorder, being played with ffplay from sometime December on yet another computer. Then, I updated ffmpeg on that system, and those messages went away. Now, I just get some other occasional messages that less alarming especially since the picture looks rather good. Is inigo playing the AVCHD for you nearly as smooth as ffplay? It's not for me. What is your inigo command line? An example of mine: For a pure clip playback scenario the rescale=none on the consumer is good to make it use the XVideo hardware scaler instead of the MLT software scaler. However, in a project with mixed resolutions, transitions, and compositing, you don't want to use that option. |
![]() Registered Member ![]()
|
ddennedy wrote:
Is inigo playing the AVCHD for you nearly as smooth as ffplay? It's not for me. What is your inigo command line? I tried several options but was not able to play clips from inigo: inigo 00009.MTS -profile atsc_1080i_60 threads=2 -consumer sdl rescale=none |
![]() Registered Member ![]()
|
More than likely the avformat module was not linked to a dependent lib. Also, a common pitfall with avformat is to forget to supply --avformat-swscaler to mlt/configure when building against an ffmpeg that was configured with --enable-swscaler |
![]() Registered Member ![]()
|
ddennedy wrote:
More than likely the avformat module was not linked to a dependent lib. Also, a common pitfall with avformat is to forget to supply --avformat-swscaler to mlt/configure when building against an ffmpeg that was configured with --enable-swscaler my command line was : Quote:
./configure --prefix=/usr --enable-gpl --enable-shared --enable-theora \ I checked and ffmpeg was not compiled with --enable-swscaler. |
![]() Registered Member ![]()
|
You seem to be mixing mlt and ffmpeg configure options directly, which is non-sense. I realize there is some commonality between their options, and it is an easy mistake. --enable-theora --enable-libogg --enable-pp --enable-shared-pp are all ffmpeg options, and mlt will ignore them as it does not understand them. You can safely remove them from future runs of mlt/configure. Your configure command is linking the avformat module to a shared installation of ffmpeg. Last night, I updated the avformat configure script to use pkg-config, which will pull in all the right libs automatically. The only thing it can not do is know whether ffmpeg was built with --enable-swscaler as that info is not supplied with pkg-config. Can you please update mlt from svn to make sure you have the updated configure script? Then, run 'ffmpeg -version' to see what options it is built with, and look for --enable-swscaler. If it's there, then leave your mlt configure option --enable-swscaler. Otherwise, remove it. |
![]() Registered Member ![]()
|
Dan by the way, what do you think are the "standard" configure options for mlt ? In the wiki I've found these: ./configure --prefix=/usr --enable-gpl --disable-mmx --avformat-swscale --enable-motion-est As I'm now updating the script to automatically (more or less ;) )install kdenlive, I'll appreciate if you can give a clue on what options are the most suitable for most of the users. Thanks in advance. |
![]() Registered Member ![]()
|
I followed guidelines, still does not work. Quote:
inigo -profile atsc_1080i_60 00009.MTS threads=2 -consumer sdl rescale=none Any idea to check MLT? |
Registered users: Bing [Bot], Google [Bot], q.ignora, watchstar