digitalFAQ.com Forum

digitalFAQ.com Forum (https://www.digitalfaq.com/forum/)
-   Edit Video, Audio (https://www.digitalfaq.com/forum/video-editing/)
-   -   How to upscale 352x576 footage to 720x576? (https://www.digitalfaq.com/forum/video-editing/8921-how-upscale-352x576.html)

hysteriah 08-13-2018 10:44 AM

How to upscale 352x576 footage to 720x576?
 
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? :hmm:

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 :mad4:

sanlyn 08-13-2018 02:50 PM

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.

hodgey 08-13-2018 05:52 PM

Quote:

Originally Posted by sanlyn (Post 55512)
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).

sanlyn 08-13-2018 06:53 PM

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.

dpalomaki 08-13-2018 07:36 PM

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?

sanlyn 08-13-2018 09:10 PM

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.

dpalomaki 08-14-2018 06:12 AM

Thanks for the correction.:salute:

sanlyn 08-14-2018 06:29 AM

Yes, sometimes all the different numbers can drive us bananas.

lordsmurf 09-15-2018 05:57 AM

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 02:12 AM

Site design, images and content © 2002-2024 The Digital FAQ, www.digitalFAQ.com
Forum Software by vBulletin · Copyright © 2024 Jelsoft Enterprises Ltd.