#1  
08-13-2018, 10:44 AM
hysteriah hysteriah is offline
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
Reply With Quote
Someday, 12:01 PM
admin's Avatar
Ads / Sponsors
 
Join Date: ∞
Posts: 42
Thanks: ∞
Thanked 42 Times in 42 Posts
  #2  
08-13-2018, 02:50 PM
sanlyn sanlyn is offline
Premium Member
 
Join Date: Aug 2009
Location: N. Carolina and NY, USA
Posts: 3,648
Thanked 1,307 Times in 982 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.
Reply With Quote
The following users thank sanlyn for this useful post: lordsmurf (09-15-2018)
  #3  
08-13-2018, 05:52 PM
hodgey hodgey is offline
Free Member
 
Join Date: Dec 2017
Location: Norway
Posts: 1,680
Thanked 447 Times in 384 Posts
Quote:
Originally Posted by sanlyn View Post
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).
Reply With Quote
  #4  
08-13-2018, 06:53 PM
sanlyn sanlyn is offline
Premium Member
 
Join Date: Aug 2009
Location: N. Carolina and NY, USA
Posts: 3,648
Thanked 1,307 Times in 982 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.
Reply With Quote
  #5  
08-13-2018, 07:36 PM
dpalomaki dpalomaki is offline
Free Member
 
Join Date: Feb 2014
Location: VA
Posts: 1,694
Thanked 369 Times in 325 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?
Reply With Quote
  #6  
08-13-2018, 09:10 PM
sanlyn sanlyn is offline
Premium Member
 
Join Date: Aug 2009
Location: N. Carolina and NY, USA
Posts: 3,648
Thanked 1,307 Times in 982 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.
Reply With Quote
The following users thank sanlyn for this useful post: lordsmurf (09-15-2018)
  #7  
08-14-2018, 06:12 AM
dpalomaki dpalomaki is offline
Free Member
 
Join Date: Feb 2014
Location: VA
Posts: 1,694
Thanked 369 Times in 325 Posts
Thanks for the correction.
Reply With Quote
  #8  
08-14-2018, 06:29 AM
sanlyn sanlyn is offline
Premium Member
 
Join Date: Aug 2009
Location: N. Carolina and NY, USA
Posts: 3,648
Thanked 1,307 Times in 982 Posts
Yes, sometimes all the different numbers can drive us bananas.
Reply With Quote
  #9  
09-15-2018, 05:57 AM
lordsmurf's Avatar
lordsmurf lordsmurf is offline
Site Staff | Video
 
Join Date: Dec 2002
Posts: 13,508
Thanked 2,449 Times in 2,081 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.

- Did my advice help you? Then become a Premium Member and support this site.
- For sale in the marketplace: TBCs, workflows, capture cards, VCRs
Reply With Quote
Reply




Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I upscale 5:4 to 16:9 ? Gotanno Restore, Filter, Improve Quality 3 05-01-2018 10:03 PM
Problem with x264 aspect ratio/upscale in Virtualdub Bobban Encode, Convert for streaming 2 06-27-2017 04:20 PM
Lines in captured VHS footage? skycaptain09 Restore, Filter, Improve Quality 7 03-28-2017 09:57 PM
Upscale looks good on computer, bad on TV? doodal Encode, Convert for discs 6 12-29-2016 07:41 PM
VLC upscale blocky, but MPC-HC not? (but less detailed?) premiumcapture General Discussion 4 02-22-2015 08:11 PM

Thread Tools



 
All times are GMT -5. The time now is 02:01 AM