Skip to Content

Good news: AVCHD supported by ffmpeg!

8 replies [Last post]
jmpoure
User offline. Last seen 15 weeks 6 days ago. Offline
Joined: 10/20/2008
Posts:

Dear friends,

On 18 September, Jeff Downs submitted a patch on ffmpeg mailing list to support interlaced encoding. I guess it means that AVCHD support should be there in a few moments (days?). An ffmpeg user tested with success on Sony HDR-SR1. It means that Kdenlive/MLT should support AVCHD soon.

I am delighted.

Kind regards,
Jean-Michel

0
Your rating: None
KoRnholio8
User offline. Last seen 7 hours 53 min ago. Offline
Joined: 04/13/2007
Posts:
Re: Good news: AVCHD supported by ffmpeg!

I've been looking foward to this! :D

jmpoure
User offline. Last seen 15 weeks 6 days ago. Offline
Joined: 10/20/2008
Posts:
Re: Good news: AVCHD supported by ffmpeg!

The power of free software.
It is really great to use a video editing tool based
on the work of thousands of developers!

jmpoure
User offline. Last seen 15 weeks 6 days ago. Offline
Joined: 10/20/2008
Posts:
Re: Good news: AVCHD supported by ffmpeg!

AVCHD committed to ffmpeg CVS.
Anyone testing?

neilbrown
User offline. Last seen 2 years 44 weeks ago. Offline
Joined: 06/20/2007
Posts:
Re: Good news: AVCHD supported by ffmpeg!

Some preliminary patches have been committed, but the main PAFF support is not there yet.
Stay tuned.

jmpoure
User offline. Last seen 15 weeks 6 days ago. Offline
Joined: 10/20/2008
Posts:
Re: Good news: AVCHD supported by ffmpeg!

seems like AVCHD was committed and is now enabled by default. It is high time for testing...

neilbrown
User offline. Last seen 2 years 44 weeks ago. Offline
Joined: 06/20/2007
Posts:
Re: Good news: AVCHD supported by ffmpeg!

I just built kdenlive with the latest SVN of ffmpeg (and everything else) and gave it a try.

Bits of it work, but not everything and some things are very slow.

e.g. I drag a clip to the timeline and it takes quite a while to appear. If I turn off video thumbnails, this delay goes away.
So I think it is taking a long time to get the thumbnail of the final frame - as though it is decoding the whole
video rather than seeking to the end.

There are other problems that appear to be 'seek' related. e.g. I created a transition between two clips and it
displays OK (though slowly). But when I move the pointer back into the first clip, I always see the final frame.

Even once we get all the bugs out, I think you will need a high-end CPU to be able to work comfortably with AVCHD.
My 2GHz Core2 only just keeps up if I'm lucky. There is work happening to parallelise some of the decoding so
that a dual-core can be put to good use. But even if that works perfectly, rendering a transition will require decoding
two streams at once so you will be back to "just barely keeping up"

I suspect that it will still be best to convert to a less CPU-intensive format for general working with HD Video for a while yet.

jmpoure
User offline. Last seen 15 weeks 6 days ago. Offline
Joined: 10/20/2008
Posts:
Re: Good news: AVCHD supported by ffmpeg!

Thanks for your report, I saw your patches on ffmpeg mailing list.

I don't really care to see transitions, I prefer very good quality sources.
When exporting, you can downgrade to a less extensive format.

I thought h264 decoding was multithreaded recently.
Am I wrong? Not in the case of AVCHD?

Kind regards,
Jean-Michel

jmpoure
User offline. Last seen 15 weeks 6 days ago. Offline
Joined: 10/20/2008
Posts:
Re: Good news: AVCHD supported by ffmpeg!

After asking on ffmpeg mailing list, ffmpeg allow AVCHD multi-threaded decoding.
ffmpeg needs to be compiled with --enable-pthreads

Then, MLT must support threads.