Panasonic's new ZS3 camera has implemented a new version of AVCHD which Panny calls "AVCHD-Lite." It uses a 60p video stream, which messes up many of the AVCHD codecs out there. But the new ffdshow revision 3054 will at least play the raw video in Media Player Classic (this new ffdshow is in K-Lite update 508_20090823).
However, I cannot process it to another format using MeGUI, and any attempt to create an indexed .DGA file also fails. What happens is that MeGui produces a video with 60p frame rate, but the video content is repeated twice during the clip. Same when a .DGA is created - the video repeats.
I have attached an 8 second clip of raw AVCHD-Lite video from the camera at URL:
http://trevormarshall.com/temp/00001.mts
The AVIsynth control file used for MeGUI contained just the line:
DirectShowSource(".\00001.MTS")
and it did display correctly on the video preview window which MeGUI pops up. But there is clearly some sort of frame rate issue with the 60p AVCHD-Lite frame rate.
I am assured that the camera plays these files correctly through its HDMI output, but I haven't attempted to do a capture of that video to see if it is AVCHD-Lite or AVCHD which is being fed to the TV set.
Has anybody any ideas that would help me get a video-conversion tool chain running for this camera output? At this point I am not even sure whether the camera output is 60p or 30p, as the motion blur doesn't look right for 30p. But none of my usual tools handle the video. I would normally feed the video into Virtualdub with AVIsynth, but AVIsynth also fails to handle the AVCHD-Lite properly (which may be an ffdshow, issue, I can't tell).
.
+ Reply to Thread
Results 1 to 30 of 32
-
-
AVCHD lite has frame duplications (every 2nd frame is duped). The actual unique content is 30p. Most decoders and splitters have not been updated yet for compatibility
FFMS2 will return the proper 30p without the dupes, you can use TSMuxer to demultiplex the audio and feed it in separately
FFMpegSource2("00001.mts")
or if you want audio in the same script
FFMpegSource2("00001.mts", atrack=-1)
Cheers -
Excellent, yes ffms2 works fine to allow AVIsynth and MeGUI to process those files. Thanks for the help
I have a nagging desire to be able to see the dupes, however, a desire to step through the raw 60fps frames one by one. I did manage to use Gunnar Thalin's 'Dinterlacer-smooth' with CoreAVC to reveal that dupes were apparently present, but that was a kluge.
I couldn't find anything in the ffms2 manual about a switch to also process the duped frames into the output. Is there an option such as this, or something else I could use? -
it seems to really be 60p. vegas pro9 correctly identifies it and uses it.
2009-08-31_123756.jpg
zs3.mp4--
"a lot of people are better dead" - prisoner KSC2-303 -
You can use DSS2() with haali splitter and ffdshow to see the dupes
@aedipuss - It's 60p with dupes. So really 30p for unique content. Using a stream analyzer on the raw avc stream confirms this. Vegas has the same problem as most software with these streams. If you disable resample (right click the clip on the timeline) , vegas can use this properly. This has been discussed before on another thread -
If you examine your vegas encoded file you will see blended frames
Vegas mistakes the file as 60p (like most software)
The musicans are horizontally still, so it's not perfectly evident, but look at the cars in the background
vegas
http://tinypic.com/r/10fuecn/3
ffms2
http://tinypic.com/r/oa915u/3
Other AVCHD lite cameras exhibit this same behaviour with vegas
Cheers -
I've read about this duping, but I don't get why the camera does it. Doesn't AVCHD-Lite allow 720p30? Is there some technical reason to do it?
-
.
Originally Posted by creamyhorror
. -
Originally Posted by creamyhorror
It's just like 30i marketed as 60i
I think there is a flag in the stream signalling to play at 60p with dupes, not sure exactly on the mechanics. But most software will misidentify these. I'm sure as this format gets more prevalent, proper support will be added to programs. If you recall there were similar issues with AVCHD when it first came out -
Originally Posted by poisondeathray
Surprisingly, the panny ZS3 has a similar (within 2 f-stops) low-light sensitivity and noise to my HF100 at 24fps. Which is quite exceptional. Only the v1073 has done better for me: http://www.vimeo.com/1028849
I can add motion blur back during post-production. I usually use the "Dynamic Noise Reduction" filter in virtualdub (and as an add-on filter for Vegas). But I can't bear to lose control of my raw format, or allow de-interlacing artifacts to reduce resolution prior to my own messing with the imagesSo thanks for the tips
. -
Originally Posted by poisondeathray
hehe - thanks for pointing it out. i would have missed it - those ghosted extra wheels on the cars are about all that gives it away.--
"a lot of people are better dead" - prisoner KSC2-303 -
Originally Posted by poisondeathray
And isn't it killing the bitrate efficiency of the footage? They're damaging their camera's recording times! -
Originally Posted by creamyhorror
But the streams do have lower efficiency, even worse than AVCHD - (they have no b-frames) -
Originally Posted by poisondeathray
Tangentially, when dealing with R.A.J.'s footage from his Canon videocamera in that other thread, I ended up with an incorrect (double) playback length in my x264 encode, after NNEDI2(). I was using FFVideoSource to import the footage. Was that a similar problem to the one in this thread, or should I have been using another method?
(I was going to try AssumeFPS(25) in the AVS script but didn't bother in the end. Thought it might fix the signalled framerate, which seemed to be 50fps as reported by x264 during the encoding.)
But the streams do have lower efficiency, even worse than AVCHD - (they have no b-frames)
To think I was considering getting a ZS3/TZ7...I wonder if most consumer HD point-and-shoot cams are like that? Will have to check some raw footage tomorrow. -
Originally Posted by creamyhorror
On hearing about the B-frames I did change my video speed selection from H to SH to compensate for the lack of B-frames. Wah - I only get 2hr 05 minutes on a 16 gig SDHC at the higher bitrate...
. -
Originally Posted by creamyhorror
Tangentially, when dealing with R.A.J.'s footage from his Canon videocamera in that other thread, I ended up with an incorrect (double) playback length in my x264 encode, after NNEDI2(). I was using FFVideoSource to import the footage. Was that a similar problem to the one in this thread, or should I have been using another method?
(I was going to try AssumeFPS(25) in the AVS script but didn't bother in the end. Thought it might fix the signalled framerate, which seemed to be 50fps as reported by x264 during the encoding.)
But the streams do have lower efficiency, even worse than AVCHD - (they have no b-frames)
I wonder if most consumer HD point-and-shoot cams are like that? Will have to check some raw footage tomorrow. -
Originally Posted by trevmar
I need to go look at the streams from those cameras more carefully, though I suspect their lenses don't produce all that spectacular video anyway.
Originally Posted by poisondeathray
Maybe that's part of the reason they call it "-Lite" ? (along with the bitrate & resolution differences)
Like trevmar said above, most point/shoot cameras are actually worse. They usually use baseline level AVC wrapped in .mov container, or -gasp- mjpg in avi
What useful tools are there to glean information about AVC streams? I know about detecting frametype and coded size from ffdshow's OSD, and of course use MediaInfo all the time, but are there other methods to get info short of buying Streameye? -
Originally Posted by creamyhorror
-
.
Oh - and the inbuilt audio on the ZS3 ain't half bad (as you could hear from my clip).
. -
Originally Posted by poisondeathray
trevmar: Haven't seen your clip yet, but stereo recording is no doubt a good thing.
If only cameras were more hackable. I know the Canon firmware hacking project (CHDK) has managed to give users multiple quality (bitrate) options on certain cameras. Other brands don't seem to have anywhere near the same level of firmware modification, though. Would be real nice to be able to choose your bitrate on cams that don't support it. -
It looks like the AVCHD spec
http://en.wikipedia.org/wiki/AVCHD
only allows for 60p/50p/24p frame rates at 1280x720, so if they could only manage 30p or 25p in the camera then they had no option but to set the flag for each frame to be shown twice. Otherwise it couldn't be called AVCHD. At least it's compatible and works well with TVs and DVD, etc.
The file sizes and bit rates indicate that only 25.0/29.97 frames per second are actually stored, so anyone worried about frame 'duplication' in the bitstream needn't worry.
I have converted the '50p' clips to AVI with 25p and they play identically on the PC. -
[quote:5766d3cc60="MJ Peg"]It looks like the AVCHD spec
http://en.wikipedia.org/wiki/AVCHD
only allows for 60p/50p/24p frame rates at 1280x720, so if they could only manage 30p or 25p in the camera then they had no option but to set the flag for each frame to be shown twice.[/quote:5766d3cc60]
Good point. I guess it's to preserve compatibility (in some way) with Blu-ray specs, which also don't allow 30p. But I don't understand why they left 30p out of both in the first place, given that it's a natural recording format for the current and upcoming generation of consumer cams. I can't help but think that they were trying to suppress personal Blu-ray authoring (think I read that somewhere). -
Originally Posted by trevmarSVCD2DVD v2.5, AVI/MPEG/HDTV/AviSynth/h264->DVD, PAL->NTSC conversion.
VOB2MPG PRO, Extract mpegs from your DVDs - with you in control! -
[quote="ChrissyBoy"]
Originally Posted by trevmar -
What an arse. It seems that non EU versions are indeed like that. Whereas we in the EU have the 15 min limit!!!!:
SVCD2DVD v2.5, AVI/MPEG/HDTV/AviSynth/h264->DVD, PAL->NTSC conversion.
VOB2MPG PRO, Extract mpegs from your DVDs - with you in control! -
and yet it's a 29m 59s limit on the FZ38 for that same EU tax reason.... looks like Panasonic could have made it longer than 15m
-
Well not wanting to hijack this thread i will just say that it is perplexing for features and tax to be releated..... If they priced it £10 more for unlimited recording - surley everyone would be happy?
SVCD2DVD v2.5, AVI/MPEG/HDTV/AviSynth/h264->DVD, PAL->NTSC conversion.
VOB2MPG PRO, Extract mpegs from your DVDs - with you in control! -
Google found me pages that say that "European Tax law applies 4.9% import duty on camcorders made outside of the EU" ... the TZ7 is about £250 so it's a whopping £12-ish
Yet, it's a competitive market and that extra £12 quid could make all the difference and hurt sales!
Similar Threads
-
Panasonic ZS3 AVCHD Lite .mts - Remove Frame Repeat/Doubling?
By abnersnell in forum Video ConversionReplies: 0Last Post: 22nd Oct 2010, 20:02 -
picture breaks up on AVCHD from MKV files
By daj38 in forum Authoring (Blu-ray)Replies: 6Last Post: 19th Sep 2010, 10:19 -
AVCHD Lite to MP4 (Panasonic TZ7 to Philips PFL8404H TV set)
By Toftebo in forum Camcorders (DV/HDV/AVCHD/HD)Replies: 3Last Post: 29th Oct 2009, 09:32 -
Pinnacle Studio 12 frame rate error for Panasonic AVCHD Lite mts files
By dewispew in forum EditingReplies: 10Last Post: 13th Jul 2009, 02:13 -
Panasonic DVD recorder & timecode breaks / audio dropouts
By webstar in forum DVD & Blu-ray RecordersReplies: 8Last Post: 23rd Jul 2007, 17:43