Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
22nd February 2016, 17:35 | #2 | Link |
Big Bit Savings Now !
Join Date: Feb 2007
Location: close to the wall
Posts: 1,545
|
From what I read, this can not be specified in DV, it is always assumed to be BFF.
If you have to manipulate DV fields around you will have to do this physically, I guess.
__________________
"To bypass shortcuts and find suffering...is called QUALity" (Die toten Augen von Friedrichshain) "Data reduction ? Yep, Sir. We're that issue working on. Synce invntoin uf lingöage..." |
25th February 2016, 19:15 | #4 | Link |
Registered User
Join Date: May 2009
Location: Belgium
Posts: 1,744
|
If you need real TFF, you will have to convert, as suggested by Emulgator.
A simple header change is only appropriate when the Scan Order is wrong (for example if you specify TFF when you encode your avi while it's actually BFF). MPEG4Modifier can do this with divx5 (an Xvid), maybe not with DVsd. |
28th February 2016, 15:22 | #7 | Link | |
Registered User
Join Date: Jan 2004
Location: Here, there and everywhere
Posts: 1,197
|
Quote:
http://avisynth.org.ru/docs/english/...ddominance.htm So, yes, that will mean re-encoding if you plan to keep it in DV format. In which case you'd be wanting to transcode to the vfwMatrox DV codec which is TFF. Otherwise a lossless intermediate. Or use the Matrox DV codec as the decoder for AVISynth if you want to output TFF for transcoding to another TFF format. Many moons ago I used to use the Matrox DV codecs before Cedocida came along. http://www.matrox.com/video/en/suppo...es/version1.0/
__________________
Nostalgia's not what it used to be Last edited by WorBry; 28th February 2016 at 17:01. |
|
28th February 2016, 18:06 | #9 | Link |
Registered User
Join Date: May 2009
Location: Belgium
Posts: 1,744
|
From Dvsd to Dvsd (with an avisynth process between both files), you won't see easily any difference.
By the way, ReStream don't transform tff in bff (or bff in tff), it only corrects bad parity, as MPEG4Modifier does with divx. Parity can not be changed without re-encoding, whatever the codec. Last edited by Music Fan; 28th February 2016 at 18:26. |
28th February 2016, 19:01 | #10 | Link | ||
Registered User
Join Date: Jan 2004
Location: Here, there and everywhere
Posts: 1,197
|
Quote:
http://www.cithraidt.de/cedocida/index.html and configure the output: It's been a while since I used it, but IIRC the "DV" YV12 chroma sampling option is for direct pass-thru and only applies to PAL DV sources. Edit: Ah yes, the explanation is given there in the codec description: Quote:
__________________
Nostalgia's not what it used to be Last edited by WorBry; 28th February 2016 at 19:51. |
||
29th February 2016, 15:18 | #12 | Link |
Registered User
Join Date: Jan 2004
Location: Here, there and everywhere
Posts: 1,197
|
Have you used AviSynth and/or VirtualDub before at all ?
What system are you going to be putting these files into and for what goal - transcoding to another TFF format? In other words, do you actually need DVsd.avi files with the fields reversed or is there scope for frame-serving TFF from AVISynth?
__________________
Nostalgia's not what it used to be Last edited by WorBry; 29th February 2016 at 15:40. |
5th March 2016, 05:36 | #13 | Link |
Registered User
Join Date: Jan 2004
Location: Here, there and everywhere
Posts: 1,197
|
As per your PM, you confirmed that you want to create a DV file with the field order reversed. It's been a while since I worked with DV, but having run a few tests I recall now that the Matrox DV codecs are a PITA to use (and only output RGB) and that it can all be done using the Cedocida DV codec and the ReverseFieldDominance filter. You will need to get a little acquainted with AVISynth and processing scripts in VirtualDub, but there's no lack of documentation for beginners - the AVISynth wiki for one: http://avisynth.nl/index.php/Main_Page So, here’s the procedure: 1.Install AVISynth: https://sourceforge.net/projects/avisynth2/ 2. Install VirtualDub: https://sourceforge.net/projects/vir...?source=navbar Note: "Open-up VirtualDub" in the procedures below means clicking on the VirtualDub.exe file in the folder that you extracted the zip file to. For convenience create a shortcut to the exe file on your desktop. 3.Install ReverseFieldDominance plugin http://web.archive.org/web/200910280...dominance.html Download and unzip version 1.2 and copy the reversefielddominance.dll to the AVISynth plugins folder: 32bit Windows: C:\Program Files\AviSynth 2.5\plugins 64bit Windows: C:\Program Files (x86)\AviSynth 2.5\plugins 4. Install Cedocida DV codec http://www.cithraidt.de/cedocida/index.html Download and upzip version 0.2.3. Right click on the cedocida_dv_only.inf file and Install. Open up VirtualDub >Video>Compression and you should see the Cedocida DV codec listed there. Click on the Cedocida codec > Configure, and configure like so: Set the appropriate aspect ratio for your DV source. Click OK, to save configuration. 5. Open up Notepad and paste in this script: Code:
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\ReverseFieldDominance.dll") #LoadPlugin("C:\Program Files (x86)\AviSynth 2.5\plugins\ReverseFieldDominance.dll") # AVISource("C:\...path...\Video.avi", audio=false).AssumeFPS(30000,1001) AssumeBFF() ReverseFieldDominance() AssumeTFF() Where, Code:
AVISource("C:\...path...\Video.avi", audio=false).AssumeFPS(30000,1001) AssumeFPS(30000,1001) for NTSC 60i DV AssumeFPS(25,1) for PAL 50i DV Set the path of the ReverseFieldDominance.dll as appropriate for your system. Name and save script as .avs file. 6.Open up the DV video file in VirtualDub and extract the WAV audio: File>Open Video File>Save WAV. The encode job should autostart. 7.Open up the avs script in VirtualDub: File>Open Video File and select the avs script. The video output should display. Go to Video>Compression again, select the Cedcocida DV codec. Check the codec configuration is still as above. Click OK. Select Fast Recompress Go to Audio> Audio from another file, and select the extracted WAV audio Go to File> Queue Batch operation>Save as AVI. Name and save the output avi file. Go to Job>Start, to start encoding The encoded avi file should now be DV with TFF field order. I think that’s adequately in-depth, and serves as a good introduction to using AVISynth P.S. Sorry about the text formatting.
__________________
Nostalgia's not what it used to be Last edited by WorBry; 10th March 2016 at 01:27. |
9th March 2016, 18:23 | #17 | Link | ||
Registered User
Join Date: Nov 2006
Posts: 773
|
with avisynth you can use this code to change the field dominance:
Quote:
Quote:
|
||
9th March 2016, 21:29 | #19 | Link | |
Registered User
Join Date: May 2009
Location: Belgium
Posts: 1,744
|
Quote:
And if you put converttoyv12(interlaced=true) after ReverseFieldDominance() in this script, you can configure the input as yv12 in the Cedocida settings, otherwise Cedocida will convert itself yuy2 to yv12 ; I don't know if it's as well done as with avisynth. |
|
9th March 2016, 22:08 | #20 | Link | ||
Registered User
Join Date: Jan 2004
Location: Here, there and everywhere
Posts: 1,197
|
Quote:
Quote:
P.J, just do it as described and it will work just fine. If you want to satisfy yourself that the field order is indeed changed to TFF, simply load the encoded avi file with this script: Code:
AVISource("C:\...path...\EncodedVideo.avi", audio=false).AssumeFPS(30000,1001) AssumeTFF() SeparateFields() The only thing that could complicate matters is if your source DV is in Type I format. In which case, you'll need to convert it to Type II beforehand: http://www.videohelp.com/software/DV...pe-2-Converter (As long as the source file is <4GB) And let us know how you get on. We're all rooting for you
__________________
Nostalgia's not what it used to be Last edited by WorBry; 9th March 2016 at 23:33. |
||
|
|