capture/transfer videos with mjpeg codec?
I have several family's VHS tapes and I want to know what is the better way to capture they.
From another thread I think I must to capture with mjpeg codec (as I can't see huffyuv in the codecs drop down box) Or, if I install this codec, will I be able to select it in the program (Adobe Premiere, Pinnacle or Media Studio?) I want also to edit them (scenes, cuts, transitions) I have edited before, but I don't know what is the way that gives the better quality, as this mean one recompression, what should be my output codec if later I would want to convert to KVCD/KDVD? Edited: What would be an avs script for these, not clean material. |
Re: First pass.
Quote:
Quote:
|
What capturecard do you have?
I got a pinnacle DC10Plus card with hardware compression,that means you have to use that one when capturing,you cant choose other codecs for capture.I capture at full resolution 768x576,max data rate 6000kbytes/sec. I have used pinnacle studio 8 for editing and it works ok.So to the fun part,when you are finished with editing,you can choose codecs to output trough,picvideo,huffyuv,xvid,divx etc. or you can choose the option"same as input" wich means you got no quality loss from the captured file. Then you are ready to encode to mpeg 2, here is one of my scripts,for interlaced top field first encodings: Quote:
viking |
Re: First pass.
Quote:
I suggest Didée's LRemoveDust, it's a lot like PixieDust but much faster. For YUY2 material: Code:
function LRemoveDust(clip input, int _mode, int "limit") There's another version (faster) of LRemoveDust for YV12 if you're interested. |
Re: First pass.
Thanks you all.
Quote:
|
WinXP supports only WDM drivers so you might not get the v1.5 branch working since it's VfW only. The 1.5 versions use a VfW->WDM wrapper which doesn't work nearly every time and often you are limited to n x 240/288 pixels in capture format.
WDM (I think it was Windows Driver Model or something like that) is basically the same as DirectShow. All current TV cards are shipped with WDM drivers instead of VfW ones since they work in Win98 and above. Before Avery Lee reworked the capture portion to work with WDM stuff, the only proper option was VirtualVCR which hasn't been updated in a long while. VDub includes the same functionality and it's still developed further. |
Boulder,
... LRemoveDust for YV12 :idea: Yes, I would like to test it on some bad VHS sources I have. Could you post it? Thanx |
function LRemoveDust(clip input, int _mode, int "limit")
{ limit=default(limit,4) LL=string(limit) STR="x "+LL+" + y < y "+LL+" - x "+LL+" - y > y "+LL+" + x ? ?" repmode = 2 clensed = Clense(input) rep=Repair(clensed, input, mode=repmode) rg = RemoveGrain(rep, mode=_mode) TemporalRepair(rg, rep) return limit!=0 ? yv12lutxy(last,input,yexpr=STR,U=2,V=2) : last } Recommended settings for both YUY2 and YV12 version are LRemoveDust(4,2). You'll also need MaskTools (at the moment v1.5.6) for the YV12 script. |
Im not shure if the latest Release of VirtualDub which supports WDM Drivers is stable enough. I do recommend VirtualVCR as its well known for stability and it gots all you need for a proper capturing. Also all Dshow Codec can be used when capturing. Im not shure if VirtualDub ALSO provides the usage of Dshow Codecs when capturing and not only the vfw ones.
Capturing in DV also means a FieldorderChange from TFF to BFF which HAS to be kept in mind when filtering and encoding to mpeg2. Do use as Codec HuffYUV or PicVideo at Q=19 |
Well, I haven't found it unstable and many others have been using it with success. I haven't had a single crash or a/v sync issues. VVCR has crashed on me several times if I record, stop and then record again. 1.6-branch is experimental, of course, but we are used to that :wink:
|
Quote:
http://compression.ru/video/codec_co...codecs_en.html |
I'm not sure if many codecs can handle realtime compression at high resolutions, at least MSU can't. Decoding is also dead slow compared to HuffYUV with predict gradient. FFV1 is YV12 if I remember correctly.
|
Quote:
In this moment, I don't know how codec to use, DV or mjpeg or if I can capture with huffyuv. Also, I don't know what do you mean with the fieldorder change (related with the avs script) and I would see it better if you post the script. I want to deinterlace the PAL video I captured. Are any of the usual scripts used useful in this sense? |
Quote:
|
Quote:
You can check the field order with a simple script: AVISource("path\clip.avi") AssumexFF() # where x is T or B Bob() Open the script in VDub. If the motion is smooth, you've got the correct field order set; AssumeTFF for top field first, AssumeBFF for bottom field first. DVs are BFF but you can always doublecheck it with that script. When loading a DV source, you'll have to be extra careful as some codecs output RGB, some YUY2 and you must determine which one is the right one. I'm not the one to tell you what to do as I don't use DV myself, but Inc can probably help you. Also the Doom9 DV forum is a good source of information. If you can, use HuffYUV. That will keep things simple and lossless :wink: |
Re: First pass.
Quote:
|
I finished my first capture and edited it with Adobe Premiere. Saved with no compression and loaded through avs in tmpgenc. Video ok.
Audio uncompressed to mp2 with VirtualDubMod. Video ok. Multiplexed with bbmpeg. ok. CD burned as SVCD play ok, but suddenly audio stop and come back several times? I did a search but can't find a possible answer to this problem (surely there are several, but I can't find any.) I fixed audio from 48 to 44.1. I downed max bitrate from 3500 to 2500. All times audio seems to stop and come back in same or similar places. Any idea? |
Try this one:
Code:
org=last If your source is YV12, you only need the LRemoveDust line (and the function, of course). |
Quote:
|
Quote:
I changed part of the audio clip and then no more audio problem with this one, but problems still with the first one (it have 3 songs). It is courious, wav file not problem and mp2 not problem. Only when I burn the SVCD the problem does appear. The audio stop for a second or so and come back, later another time, but now 2 or 3 seconds, and come back. No problem in any other place. Not problem with the video. |
Site design, images and content © 2002-2024 The Digital FAQ, www.digitalFAQ.com
Forum Software by vBulletin · Copyright © 2024 Jelsoft Enterprises Ltd.