Log in

View Full Version : All frames blended


odyssey
10th September 2018, 14:31
I have a very bad PAL TV source (from DVD) which looks to have been deinterlaced from it's video source using blended fields, and then interlaced again before pressing it on DVD.

When I QTGMC the source, I get 50fps "progressive" which reveals that all frames are blended. It seems that every original field, has been blended across two frames.

I know this is horrible, and I'm probably out of luck, but is there any kind of magic that I can apply to such a source and reconstruct the original frames?

I tried Srestore, but it didn't do anything. It seems these kind of restoration filters, rely on at least some clean progressive frames, to do their magic.

Can't attach the file here, so dropbox must do: https://www.dropbox.com/s/62qxei31z8inelk/lflv-samples.rar?dl=0

Edit: Updated with proper samples

StainlessS
10th September 2018, 15:05
Just a question, how did you create your sample ? [EDIT: silly me, already answered AVIDEMUX]

Has AVI extension, with FOURCC = 'MPEG', and Float PCM audio.
AviSource(), and Various players will not open it properly (video + audio).
Tried rename to *.mpg and DGindex opens it OK, but without Audio. [EDIT: Actually, DGIndex opens without rename]
VDub2 opens without audio.
DirectShowSource opens Audio only, but is just one helluva lot of white noise.

EDIT:
Best open VOB in DGIndex, Mark section [EDIT: with motion] using '[' and ']' buttons (or keys) and "Save Project and Demux video",
and post only the "*.m2v" file.

StainlessS
10th September 2018, 15:19
This will convert to AVI UT_Video without audio to Current_Directory\OUTPUT\


setlocal

REM Where to Find ffmpeg
set FFMPEG="C:\BIN\ffmpeg.exe"

REM Where to get input file, No terminating Backslash, "." = current directory
set INDIR="."


REM Where to place output file, No terminating Backslash. ".\OUTPUT" = OUTPUT dir in current dir (MUST exist).
set OUTDIR=".\OUTPUT"


FOR %%A IN (*.wmv *.mpg *.avi *.flv *.mov *.mp4 *.m4v *.RAM *.RM) DO (
%FFMPEG% -i "%INDIR%\%%A" -vcodec utvideo -an "%OUTDIR%\%%~nxA.AVI"

)

Pause



EDIT: A bit more demo

REM We DO NOT LIKE SPACES IN FILE NAMES (REM == REMark ie comment)

setlocal

REM Where to Find ffmpeg
set FFMPEG="C:\BIN\ffmpeg.exe"

REM Where to get input file, No terminating Backslash, "." = current directory (ie same as dir .bat file)
set INDIR="."

REM Where to place output file, No terminating Backslash. "." would be same as .bat file
set OUTDIR="D:"

REM Below, can add extensionas as eg *.WMV (SPACE separated)
FOR %%A IN (*.mp4 *.vob *.mpg *.TS) DO (

REM ****** Un-REM ONLY one of below lines *******.
%FFMPEG% -i "%INDIR%\%%A" -vcodec copy -acodec copy "%OUTDIR%\%%~nxA.MKV"
REM %FFMPEG% -i "%INDIR%\%%A" -vcodec utvideo -acodec copy "%OUTDIR%\%%~nxA.MKV"
REM %FFMPEG% -i "%INDIR%\%%A" -vcodec utvideo -acodec pcm_s16le "%OUTDIR%\%%~nxA.AVI"
REM *********************************************.

)

REM ... Above UN-REM'ed lines :
REM (1) Remux, copy both video and audio (output MKV).
REM (2) UtVideo lossless video, copy audio (output MKV).
REM (3) UtVideo lossless video, PCM audio (output AVI).

Pause

odyssey
10th September 2018, 15:32
Just a question, how did you create your sample ?

Just like I wrote - using avidemux. It failed to copy the segment into TS container so I just made an avi. How else could I losslessly cut my source?

StainlessS
10th September 2018, 15:36
Oops sorry, did not notice that.
See edit in my 1st post.

StainlessS
10th September 2018, 16:18
Might be best to re-up m2v as from DGindex, with a bit more motion if you can find some [or bit longer clip, although the wipe is good].
[give the experts better chance, DGIndex seems best source for mpeg]

Dont know if anything can be done for this, SRestore needs some good frames (unblended).

Seems to be Bottom Field first (DVD usually TFF in my experience of PAL DVD), and each frame field pairs blended together.
[EDIT: Blends seem to be weighted, ie non 50/50]

Show backwards/forwards jumping when AssumeTFF (in the horizontal wipe from one scene to next).

AVISource("D:\lflv.avi.AVI")
GreyScale
AssumeTFF
SeparateFields

odyssey
11th September 2018, 06:21
Updated 1st post with proper samples. Completely forgot that dgindex could cut it perfectly (and Google didn't remind me either when I searched).

odyssey
12th September 2018, 11:44
Seems to be Bottom Field first (DVD usually TFF in my experience of PAL DVD), and each frame field pairs blended together.
[EDIT: Blends seem to be weighted, ie non 50/50]


I can see what you mean. I didn't even notice that beforehand.

As I see it, there would be no logical way of fixing or even improving this.