My Canon HV20 camera tape I recorded into the computer came up with .m2t files. A bunch of.
More like 100 files per hour (Clip 001.m2t, Clip 002.m2t, Clip 003.m2t, etc...)
I understood that in order to load in into Avisynth and IVTC it, I'll have to create .d2v index file with DGIndex.
When I load all the clips (212 clips, 2 hours) it looks well on DGIndex GUI. The frames seems to be suitable for 2 hours clip.
But when I try to save the project - It seems that only the first clip, which is 11seconds long, is being indexed.
When I try to demux audio ONLY, it demuxs the proper 2hours audio .mp2 file, which is actually what I needed.
How can I get it to work & index all the clips, one after each other?
+ Reply to Thread
Results 1 to 30 of 39
-
-
Originally Posted by iTayb
I understood that in order to load in into Avisynth and IVTC it...
1080/60i, 1080/30F, 1080/24F, 1080/24P -
Originally Posted by poisondeathray
-
Originally Posted by manono
I'm using version 1.5.5.
I tried doing it on Clips number 203, 204 and 205.
When I do "Save Project" I get Clip 203 PID 814 L2 2ch 48 384 DELAY -225ms.mp2 and Clip 203.d2v.
And as the filename says - It's only clip number 203. For some reason, it's ignoring the other clips.
Maybe I misunderstood what IVTC is actually is. The video itself is interlaced and has lots of artifacts which I wish to fix.
I thought IVTC = deinterlace? Sorry for my poor understanding.
This is my video specs:
General
ID : FF
Complete name : G:\EncodeTries\HV20\USA 2008\Media\Clip 001.m2t
Format : MPEG-TS
File size : 26.9 MiB
Duration : 8s 279ms
Overall bit rate : 27.3 Mbps
Maximum Overall bit rate : 33.0 Mbps
Encoded date : UTC 2008-08-02 19:14:48
Video
ID : 2064 (0x810)
Menu ID : 100 (0x64)
Format : MPEG Video
Format version : Version 2
Format profile : Main@High-1440
Format settings, Matrix : Default
Duration : 8s 266ms
Bit rate mode : Constant
Bit rate : 25.0 Mbps
Width : 1 440 pixels
Height : 1 080 pixels
Display aspect ratio : 16/9
Frame rate : 29.970 fps
Standard : Component
Colorimetry : 4:2:0
Scan type : Interlaced
Scan order : Top Field First
Bits/(Pixel*Frame) : 0.536
Audio
ID : 2068 (0x814)
Menu ID : 100 (0x64)
Format : MPEG Audio
Format version : Version 1
Format profile : Layer 2
Duration : 8s 279ms
Bit rate mode : Constant
Bit rate : 384 Kbps
Channel(s) : 2 channels
Sampling rate : 48.0 KHz
Resolution : 16 bits
Video delay : -64ms -
manono - yes, my understanding is that model doesn't shoot true 24p
http://eugenia.gnomefiles.org/2007/07/13/canon-hv20-24p-pulldown/
I think iTayb is shooting 30i however, not 24p mode
iTayb - what is your end goal format? e.g. if it was to make a dvd, you should leave it interlaced.
I've never seen this happen with DGIndex; are you sure all the clips were shot in the same mode and have the same specs? -
If I wanted it to be DVD, I wouldn't buy an HD camera.
My goal format is x264.
Yes, all the clips has the same specs. -
Originally Posted by iTayb
You might have to bring this up with the author, neuron2 (Donald Graft). You can post about your problem in the DVD2AVI/DGIndex Forum over at Doom9. You'll have to wait 5 days between the time you register and the time you can post.
That link you provided is interesting, poisondeathray, as at the bottom he explains how to do it using AviSynth. I wonder how Canon can get away with calling what the camera produces 24P (or 24FP, I guess), as there's nothing 'P' about it. -
When I try to create the .d2v file, the job is done in mere seconds, and it skips all clips but the first.
When I try to demux audio only, the job is done in a few minutes, and the length of the audio is suitable for all the clips together. -
Ordinarily you get the audio at the same time as you create the D2V file. That's why what you said didn't make much sense to me. I didn't realize you were demuxing the audio separately from creating the D2V. It's sounding more and more like either there's something wrong with the video, or (perhaps more likely), you're doing it incorrectly. Did you read the included docs thoroughly? I've never worked with camera video so maybe someone else can help. Or, as I suggested, you might try posting at the forum the DGIndex author moderates.
-
I shall post there in five days.
My question is, is it even possible to load multiple clips and index them together into one .d2v project?
Because if it's not even possible, I should use directshowsource() for every separate clip and join them. (Is that method unrecommended for some reason?)
And one more question I should ask. What Bitrate should I grant for (to be) 1080p for (almost) same quality?
I don't have a problem with huge files, but 14.4GB per hour is just way too much.
Thank you very much! -
Originally Posted by iTayb
Because if it's not even possible, I should use directshowsource() for every separate clip and join them. (Is that method unrecommended for some reason?)
Another alternative would be you use FFMpegSource2() , you could concatenate you clips that way. But it's still tedious if you have lots of small clips, although you maybe able to code a wildcard (*) function to append them in avisynth based on ascending number - that's beyond my scripting capabilities you would have to ask at Doom9 or start a new thread here.
And one more question I should ask. What Bitrate should I grant for (to be) 1080p for (almost) same quality?
I don't have a problem with huge files, but 14.4GB per hour is just way too much. -
Originally Posted by poisondeathray
Code:Directshowsource("__vid__",pixel_type="auto") tdecimate() AssumeFPS(24000,1001,sync_audio=true) Lanczos4Resize(1920,1080)
They do use directshowsource in their scripts. Is that somewhat wrong? Should I use different deinterlace function? -
Originally Posted by iTayb
Something really doesn't make sense here to me; it doesn't make sense to decimate and deinterlace the footage, it's usually one or the other. If it's progressive footage in an interlaced wrapper, you extract the progressive footage by IVTCing (some form pulldown removal with different phase or cadence possibilities), not by deinterlacing. If it's pure interlaced, you deinterlace it, not decimate it....But I don't have this camera, and I haven't looked at the footage, so I can't be sure -
I'm not sure.
If I upload 5 seconds clip, would you care to check what this video actually is? -
Originally Posted by iTayb
Do you know what record mode you used when making the clips? -
I don't remember what record mode I was using. It was more than a year before.
Here is a horizontal panning 47.3MB / 14 sec clip: http://files.anime-il.com/Clip%20010.m2t
Thank you very much. -
It's straight 3:2 pulldown:
Code:Mpeg2Source("filename.d2v") TFM() TDecimate()
-
Yes, i agree with jagabo, it looks like standard 3-2 pulldown (the sample clip on eugina's site on the link above has the same charateristics)
The other problem with directshowsource is if you load multiple files, you memory usage will balloon into a few GB or even more depending on the number of clips. It's a huge memory hog
e.g.
a=directshowsource("file01.m2t")
b=directshowsource("file02.m2t")
c=directshowsource("file03.m2t")
a++b++c
TFM().TDecimate()
LanczosResize(1920,1080)
Instead of directshowsource() I would use DGIndex (even if you have to index them all), or something like ffmpegsource2 which automatically creates an index for you
a=ffmpegsource2("file01.m2t",atrack=-1).assumefps(30000,1001)
b=ffmpegsource2("file02.m2t",atrack=-1).assumefps(30000,1001)
c=ffmpegsource2("file03.m2t",atrack=-1).assumefps(30000,1001)
a++b++c
TFM().TDecimate()
LanczosResize(1920,1080)
Interestingly, DGIndex when used to append Eugina's testclip caused pixellation and corruption at the join sites, but using the other methods to append don't seem to cause this. (The DGIndex append function works here when I copied the clip multiple times). Not sure if it's an issue with that test clip
Again, I don't know the wildcard function syntax how to append sequentially numbered clips, maybe jagabo , manono or the others do, otherwise doing a 100 or so clips can get tedious
Another approach would be to join the clips first into 1 big clip , e.g. using videoredo., before using avisynth -
Originally Posted by iTayb
Well it looks like you'll be joining this through scripts then -
I programmed C++ script that will create AVS automatically for me (with loops of course).
I'll try now encoding it (and indexing, which takes like forever)
I'll be back with results!
Thank everyone for all the help. -
Originally Posted by iTayb
http://forum.doom9.org/showthread.php?t=147846 -
I've just indexed all the files successfully.
Problem was that only the first clip was selected. I didn't know that I have to select otherwise than default.
So now I have one d2v project that needs IVTC/interlacement. I'll try the TFM().TDecimate() combination.
edit: My AVS script is as followed:
Code:Mpeg2Source("Clips.d2v").AssumeFPS(30000,1001) TFM().TDecimate() AssumeFPS(24000,1001) LanczosResize(1920,1080)
Example of bad join frame: http://i27.tinypic.com/2d6jcys.jpg -
When you say DGIndex, do you mean the GUI?
If so - there are no block errors at all - even with all the files included.
If you mean by loading the d2v project with Mpeg2Source() - individual files are fine - no block errors.
It seems that the block errors are found at the join sites, if any are exist.
I tried inserting two copies of the same individual file as well. It's totally corrupted. -
ffms2 doesn't support d2v projects, though. Plus it seems to have problems when combining more than 50 different clips - it gives random "Cannot open file" errors without practical reason. Maybe it wasn't made for this kind of job.
-
Originally Posted by iTayb
My observation was there were errors in the d2v project when using the append function on every cut/join, so I didn't see support for a d2v project being that useful, at least on these clips. Perhaps neuron2 will figure it out, when you get to post at Doom9
It would be even worse with DirectShowSource(), as each instance consumes a lot of memory, and avisynth 32bit has a max 2GB limit AFAIK
Similar Threads
-
ADVC Mini doesn't work properly
By keyboardboy in forum MacReplies: 32Last Post: 1st Dec 2016, 22:23 -
Just can't get stabilization work properly.
By Jim Halpert in forum Newbie / General discussionsReplies: 9Last Post: 24th Nov 2009, 11:58 -
Can't get the .TS audio to work properly
By mkvbob in forum Video ConversionReplies: 3Last Post: 25th Jul 2008, 16:04 -
dgindex what to choose
By cd090580 in forum Video ConversionReplies: 1Last Post: 29th Feb 2008, 17:33 -
Can't get .mkv subtitles to display/work properly
By ChronoSquare in forum SubtitleReplies: 3Last Post: 26th Dec 2007, 15:36