This forum has been archived. All content is frozen. Please use KDE Discuss instead.

AVCHD

Tags: None
(comma "," separated)
KoRnholio8
Registered Member
Posts
88
Karma
0

AVCHD

Tue Aug 21, 2007 1:05 pm

I am planning on buying an AVCHD camcorder in the beginning of the next year, so I would like to make sure I can edit it on Linux.



So far I haven't been able to play mts (source files from such camcorders) files with VLC (the feature is already requested) and I would like to edit the footage of course. Is there any information, when, if, Kdenlive (or it's depending packages) will get the support for this codec?



ddennedy
Registered Member
Posts
1315
Karma
1

Re: AVCHD

Wed Aug 22, 2007 6:17 am

We can support it when ffmpeg does. Can you play the file with ffplay?



KoRnholio8
Registered Member
Posts
88
Karma
0

Re: AVCHD

Wed Aug 22, 2007 9:30 am

it start playing, but the picture is unrecogniseable. this might be due to the fact that my current computer it's as powerfull (it can play 1080i files, but AVCHD is supposed to be much more CPU intensive)



I've also searched on the ffmpeg.org website, but couldn't find AVCHD mentioned anywhere, but there is support for AVC (HD just meand High Definition aka big resolution). Maybe someone can test files like these and see if they work for them:

http://dvinfo.net/conf/showthread.php?t=101059



neilbrown
Registered Member
Posts
43
Karma
0

Re: AVCHD

Fri Aug 24, 2007 5:22 am

No, ffmpeg does not support AVCHD yet, so nor does kdenlive.



But I have a new camcorder that produced AVCHD so I have been motivated to look into it.

I suspect it is a week or two's work to get reasonable AVCHD support working. It is finding

the 'week or two' that is tricky.



I would say that there is at least a 'fair' chance that kdenlive will work with AVCHD by early next year, but that isn't a promise.



jmpoure_drupal
Registered Member
Posts
735
Karma
0

Re: AVCHD

Fri Aug 24, 2007 12:13 pm

I can only recommand to look at the HV20.com forum.

The Canon HV20 is mpeg2, has a beautiful captor and is able to record in full frames.

On the hv20.com forum, you will be able to download some footage.

KoRnholio8
Registered Member
Posts
88
Karma
0

Re: AVCHD

Fri Aug 24, 2007 3:12 pm

jmpoure wrote:
I can only recommand to look at the HV20.com forum.

The Canon HV20 is mpeg2, has a beautiful captor and is able to record in full frames.

On the hv20.com forum, you will be able to download some footage.


HV20 shoots to HDV, not AVCHD. Canon is releasing HG10 in october, which is essentially the same optics as HV20 and with an HDD and it records to AVCHD. I'm planning on buying HG10 if I can get proof of satisfying performace filming sports (fast moving objects).



jmpoure_drupal
Registered Member
Posts
735
Karma
0

Re: AVCHD

Fri Aug 24, 2007 8:54 pm

I read on Camcorderinfo that AVCHD was giving poor results: http://www.camcorderinfo.com/content/Ca ... Format.htm



Quote:
A camcorder’s compression method has a huge impact on video quality. This becomes particularly clear with the HG10. The HV20 (Review, Specs, Recent News, $903), released early this year, uses HDV compression, which is older but has a much higher quality, particularly in regard to how it renders motion. AVCHD tends to show compression artifacts – blocky, pixilated groupings of image aberrations.


Quote:
There are further constraints. Software engineers were tearing their hair out for awhile trying to create efficient ways to deal with the tightly woven algorithms. Working with AVCHD is taxing on your computer, and you’re going to need a powerhouse processor and memory to do it with any expediency.


They also write that 24P mode does give good results.



We need to wait for HG10 release, to be able to download footage.

Footage is the only way to look at quality.

jmpoure_drupal
Registered Member
Posts
735
Karma
0

Re: AVCHD

Fri Aug 24, 2007 9:16 pm

HG10 24p AVCHD raw footage is available here:





AVCHD is h264 ....

My internet connection is slow ... will be testing tomorrow.

jmpoure_drupal
Registered Member
Posts
735
Karma
0

Re: AVCHD

Fri Aug 24, 2007 9:30 pm

I am almost sure that ffmpeg supports h264 full frames, not interlaced format.



The reason is that ffmpeg guys believe that interlaced format has no future.

It is too complicated to develop and maintain, thus a loss of time.

Therefore, there may never be AVCHD interlaced support.



In 24p mode, there "should" be no problem (except bugs!).

We now need to test raw files from the HG20 in 24p mode.

jmpoure_drupal
Registered Member
Posts
735
Karma
0

Re: AVCHD

Fri Aug 24, 2007 9:40 pm

Obviously, this is not 24p raw footage

but 30p interlaced footage



Quote:
ffmpeg -i 00011.MTS test.avi

FFmpeg version SVN-rUNKNOWN, Copyright (c) 2000-2007 Fabrice Bellard, et al.

configuration: --prefix=/usr --libdir=${prefix}/lib --shlibdir=${prefix}/lib --incdir=${prefix}/include/ffmpeg --enable-shared --enable-libmp3lame --enable-gpl --enable-libfaad --mandir=${prefix}/share/man --enable-libvorbis --enable-pthreads --enable-libfaac --enable-libxvid --enable-pp --enable-libamr-nb --enable-libamr-wb --enable-x11grab --enable-libogg --enable-libgsm --enable-libx264 --enable-liba52 --enable-libtheora --extra-cflags=-Wall -g -fPIC -DPIC --cc=ccache cc --enable-swscaler

libavutil version: 49.5.0

libavcodec version: 51.41.0

libavformat version: 51.12.2

built on Aug 23 2007 13:18:47, gcc: 4.1.3 20070812 (prerelease) (Debian 4.1.2-15)

[h264 @ 0xb7d6f0e8]PAFF interlacing is not implemented

[h264 @ 0xb7d6f0e8]concealing 3060 DC, 3060 AC, 3060 MV errors

Input #0, mpegts, from '00011.MTS':

Duration: 00:00:15.0, start: 0.800300, bitrate: 16286 kb/s

Stream #0.0[0x1011]: Video: h264, yuv420p, 1440x1080, 29.97 fps(r)

Stream #0.1[0x1100]: Audio: liba52, 48000 Hz, stereo, 256 kb/s

Output #0, avi, to 'test.avi':

Stream #0.0: Video: mpeg4, yuv420p, 1440x1080, q=2-31, 200 kb/s, 29.97 fps(c)

Stream #0.1: Audio: mp2, 48000 Hz, stereo, 64 kb/s

Stream mapping:

Stream #0.0 -> #0.0

Stream #0.1 -> #0.1

No accelerated IMDCT transform found

Press [q] to stop encoding

[h264 @ 0xb7d6f0e8]PAFF interlacing is not implemented

[h264 @ 0xb7d6f0e8]concealing 3060 DC, 3060 AC, 3060 MV errors

[h264 @ 0xb7d6f0e8]PAFF interlacing is not implementedrate=3373.3kbits/s

[h264 @ 0xb7d6f0e8]illegal short term buffer state detected

[h264 @ 0xb7d6f0e8]concealing 3060 DC, 3060 AC, 3060 MV errors

[h264 @ 0xb7d6f0e8]PAFF interlacing is not implementedrate=31306.7kbits/s

[h264 @ 0xb7d6f0e8]concealing 3060 DC, 3060 AC, 3060 MV errors

[h264 @ 0xb7d6f0e8]PAFF interlacing is not implementedrate=31306.7kbits/s

[h264 @ 0xb7d6f0e8]concealing 3060 DC, 3060 AC, 3060 MV errors

[h264 @ 0xb7d6f0e8]PAFF interlacing is not implementedrate=31306.7kbits/s

[h264 @ 0xb7d6f0e8]concealing 3060 DC, 3060 AC, 3060 MV errors

[h264 @ 0xb7d6f0e8]PAFF interlacing is not implementedrate=31306.7kbits/s

[h264 @ 0xb7d6f0e8]concealing 3060 DC, 3060 AC, 3060 MV errors

[h264 @ 0xb7d6f0e8]PAFF interlacing is not implementedrate=31306.7kbits/s

[h264 @ 0xb7d6f0e8]concealing 3060 DC, 3060 AC, 3060 MV errors

[h264 @ 0xb7d6f0e8]PAFF interlacing is not implementedrate=38498.3kbits/s

[h264 @ 0xb7d6f0e8]illegal short term buffer state detected

[h264 @ 0xb7d6f0e8]concealing 3060 DC, 3060 AC, 3060 MV errors

[h264 @ 0xb7d6f0e8]PAFF interlacing is not implementedtrate=38498.3kbits/s

[h264 @ 0xb7d6f0e8]concealing 3060 DC, 3060 AC, 3060 MV errors

[h264 @ 0xb7d6f0e8]PAFF interlacing is not implementedtrate=38498.3kbits/s

[h264 @ 0xb7d6f0e8]concealing 3060 DC, 3060 AC, 3060 MV errors

Erreur de segmentation


The raw files are interlaced, thus not working in ffmpeg.

Maybe that the full images of the camera are wrapped into interlaced format.



My personal choise is to buy an HV20, work in mpeg2 during a year, resell it and buy the next-next generation of camcorder working in AVCHD (full frames) on Flash cards.



If you would like to be sure about AVCHD support on ffmpeg, contact ffmpeg-user directly.

Kidn regards,

Jean-Michel

jmpoure_drupal
Registered Member
Posts
735
Karma
0

Re: AVCHD

Fri Aug 24, 2007 10:09 pm

You may ask 24p footage to this person: http://dvinfo.net/conf/showthread.php?t=101059

Sorry I don't have time right now.



Kind regards,

Jean-Michel

KoRnholio8
Registered Member
Posts
88
Karma
0

Re: AVCHD

Sat Aug 25, 2007 7:46 pm

I'm not interested in 24p, I wnt as many frames as possible. AVCHD is indeed a very new thing in camcorders, but it probably will get more popular with the rise of popularity of HDD and memory card camcorders - this is the main reason for me: ditching tapes. At the moment I tape over my tapes a lot and it's going to ruin my camcorder completely (i have the cheapest one, ha!), so on my expensive camcorder I don't want this to be an issue.



On Watch-impress there is a mpeg video of HG10 performance and I didn't see any artifacts, except whe filming a water stream...but I probably should check it out on a Full HD TV, just be sure...



If all else fails, I can stil consider GZD-H7 (i hope it's called that) from JVC, which can shoot mpeg2 I think...





Bookmarks



Who is online

Registered users: bancha, Bing [Bot], daret, Evergrowing, Google [Bot], lockheed, sandyvee, Sogou [Bot]