08-13-2018, 10:44 AM
|
|
Free Member
|
|
Join Date: Oct 2014
Location: Norway
Posts: 150
Thanked 4 Times in 4 Posts
|
|
Sorry if this question is answered earlier.
I have this situation where I want to edit and create a video of uncompressed PAL footage in full SD resolution (Lagarith 720 x 576) material, with a few MPEG2 DVD recordings with just 352 X 576 resolution... so I will need to upscale and convert the 352 X 576 MPEG2 fotage to 720 X 576 resolution in an editable format, preferably with the Lagarith or HuffYUV codec. How can I do this with the best possible quality?
PS: The source material of the 352 X 720 MPEG2 footage is no longer available, so these rather low quality DVD files is the only source available
|
Someday, 12:01 PM
|
|
Ads / Sponsors
|
|
Join Date: ∞
Posts: 42
Thanks: ∞
Thanked 42 Times in 42 Posts
|
|
|
08-13-2018, 02:50 PM
|
|
Premium Member
|
|
Join Date: Aug 2009
Location: N. Carolina and NY, USA
Posts: 3,648
Thanked 1,319 Times in 989 Posts
|
|
For the best quality reworking and resampling, you'll have to use lossless mode with the Lagaerith lossless codec. Your MPEG videos are in YV12 color, so you can't use huffyuv ( huffyuv can't work with YV12).
To make a lossless file for editing and any required cleanup/resizing from MPEG, you need the DGIndex utility which is a function in the free DGMPGDec package ( https://www.videohelp.com/download/dgmpgdec158.zip). You use that utility to create a .d2v video project file and a demuxed audio file. You'll then need Avisynth to read that .d2v index of your video and to remux the audio back into it. The result of your Avisynth script will create a lossless AVI file compressed with lossless Lagarith, which you must then encode to a new MPEG (for DVD) or with h.264 for standard definition BluRay disc or for mp4 playback from an external drive or smart TV or for other desired formats.
The details depend on the structure of your current MPEG files, which no one here knows about until you post a short sample of one of the kind of MPEG video you want to work with. There is more to MPEG than just frame size. There is a recent thread in the forum about how to use DGIndex to create a sample and how to post it in the forum: How to upload a sample from DVD, MPEG-2 with DGindex [GUIDE]. The guide mentions 720-wide video, but DGindex works with PAL, NTSC, and various MPEG frame sizes.
|
The following users thank sanlyn for this useful post:
lordsmurf (09-15-2018)
|
08-13-2018, 05:52 PM
|
|
Free Member
|
|
Join Date: Dec 2017
Location: Norway
Posts: 1,685
Thanked 460 Times in 394 Posts
|
|
Quote:
Originally Posted by sanlyn
You use that utility to create a .d2v video project file and a demuxed audio file. You'll then need Avisynth to read that .d2v index of your video and to remux the audio back into it. .
|
For using it with avisynth, FFMPegsource is a bit simpler since you can load the file directly rather than having to split and remux (though it can take a short while to load).
|
08-13-2018, 06:53 PM
|
|
Premium Member
|
|
Join Date: Aug 2009
Location: N. Carolina and NY, USA
Posts: 3,648
Thanked 1,319 Times in 989 Posts
|
|
DGIndex is considered more frame accurate and stable for MPEG in mpg or VOB containers than is FFMS2. You would have to use FFMS2 for MPEG encodes in other (less suitable) containers, such as mp4 or mkv.
|
08-13-2018, 07:36 PM
|
|
Free Member
|
|
Join Date: Feb 2014
Location: VA
Posts: 1,716
Thanked 377 Times in 333 Posts
|
|
Is the MPEG2 a file on a data DVD? I ask because 362x576 is not a standard video DVD frame size, nor is it a standard VideoCD frame size. Do you know what the source if the file was?
|
08-13-2018, 09:10 PM
|
|
Premium Member
|
|
Join Date: Aug 2009
Location: N. Carolina and NY, USA
Posts: 3,648
Thanked 1,319 Times in 989 Posts
|
|
The frame size was not stated as "362x576". It was described as 352x576, which is standard half-D1 for DVD and is part of the official DVD spec.
|
The following users thank sanlyn for this useful post:
lordsmurf (09-15-2018)
|
08-14-2018, 06:12 AM
|
|
Free Member
|
|
Join Date: Feb 2014
Location: VA
Posts: 1,716
Thanked 377 Times in 333 Posts
|
|
Thanks for the correction.
|
08-14-2018, 06:29 AM
|
|
Premium Member
|
|
Join Date: Aug 2009
Location: N. Carolina and NY, USA
Posts: 3,648
Thanked 1,319 Times in 989 Posts
|
|
Yes, sometimes all the different numbers can drive us bananas.
|
09-15-2018, 05:57 AM
|
|
Site Staff | Video
|
|
Join Date: Dec 2002
Posts: 13,995
Thanked 2,542 Times in 2,161 Posts
|
|
Just to add, this isn't really upscaling, more like simple resizing. Technically, yes, correct, but generally speaking upscaling is when you go up in the vertical resolutions, not just the horizontal. Like VHS to HD (which is silly).
I tend to use ffvideosource() myself, and do a SplineResize() on it.
|
All times are GMT -5. The time now is 01:41 AM
|