Re: [FFmpeg-user] Trying to remember how I did this.....

2023-10-04 Thread Laine Lee
On Oct 4, 2023, at 10:59 AM, Mark Dm  wrote:
> 
> Thanks Laine and Andrew . I do believe that yadif=1 is what I am looking
> for.  After googling it I see so many others that express their love for it
> so that sounds right!
> 
> Thanks
> 

Yadif = Yet Another DeInterlacing Filter. 

:)

L. Lee

___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".


Re: [FFmpeg-user] Trying to remember how I did this.....

2023-10-04 Thread Mark Dm
Thanks Laine and Andrew . I do believe that yadif=1 is what I am looking
for.  After googling it I see so many others that express their love for it
so that sounds right!

Thanks



On Wed, Oct 4, 2023 at 3:02 AM Andrew Randrianasulu 
wrote:

> ср, 4 окт. 2023 г., 10:34 Mark Dm :
>
> > Its NOT Telecine. It is Digital Video 8 video at 27.97 FPS
> > I am looking specifically for the setting that derives the 59.94FPS from
> > the 27.97 FPS source with such beauty and without deinterlace.
> >
>
> this answer mentions yadif=1
>
>
> https://superuser.com/questions/610618/double-deinterlace-with-full-motion-ffmpeg-yadif-50i-50p-60i-60p
>
> may be it will work for your case?
>
>
>
> > On Wed, Oct 4, 2023 at 12:28 AM Laine  wrote:
> >
> > >
> > >
> > >
> > > > On Oct 4, 2023, at 1:36 AM, Mark Dm  wrote:
> > > >
> > > > I had some DVD Video that I had converted using ffmpeg some years
> ago.
> > > What
> > > > I did was converted NTSC DVD video (4x3) to 960x720 @59.94 FPS and
> the
> > > > result was incredible. I had found a forum some time later where
> > another
> > > > user claimed he had done the same and he too had incredible results.
> > The
> > > > result as I recall is way better than deinterlacing and I still have
> > some
> > > > of the videos I upscaled this way. . It essentially creates a frame
> > > > for every field and if I pause the video I may see a slight blur but
> no
> > > > scan lines. I also see no scan lines while video is playing
> > > >
> > > > I do remember that I did it all with ffmpeg command line conversions.
> > It
> > > > does NOT use deinterlacing as that throws away half the resolution,
> and
> > > > results in visible scan lines. Instead it increases the frame rate by
> > two
> > > > and I chose to upscale to 720P. As I recall I also did some PAL as
> well
> > > as
> > > > NTSC using the same method.
> > > >
> > > > I am looking to recover this method if I can as I will be
> transferring
> > a
> > > > bunch of Digital8 videos and want to do it the same way to create mp4
> > > files
> > > > at 720P@59.94FPS
> > > >
> > > > Any help appreciated
> > > >
> > > > THanks
> > > >
> > > > Mark
> > >
> > > For NTSC DVD you might want pullup. There’s more than one way to apply
> > > pullup. What normally works best for me for NTSC DVD is to specify the
> > > output frame rate with "-r 24000/1001" and use some sort of fieldmatch
> > > video filter such as “fieldmatch" alone or
> > > "fieldmatch=order=tff:combmatch=none,decimate”. You may find that it
> > isn’t
> > > necessary to specify the 24.976 frame rate. Use the filter before
> scaling
> > > or cropping in the filter chain. The source video needs to be pretty
> > clean
> > > regarding pulldown (without or nearly without any dropped frames). You
> > > should be able to identify the pulldown pattern in your source by
> > stepping
> > > through it frame by frame with a video player app such as IINA. By
> > default
> > > it’s the “.” (period) key. If it’s telecine, you’ll be able to observe
> 3
> > > progressive frames followed by 2 pairs of interlaced frames. Something
> to
> > > try, anyway.
> > >
> > > L. Lee
> > >
> > >
> > >
> > > ___
> > > ffmpeg-user mailing list
> > > ffmpeg-user@ffmpeg.org
> > > https://ffmpeg.org/mailman/listinfo/ffmpeg-user
> > >
> > > To unsubscribe, visit link above, or email
> > > ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
> > >
> > ___
> > ffmpeg-user mailing list
> > ffmpeg-user@ffmpeg.org
> > https://ffmpeg.org/mailman/listinfo/ffmpeg-user
> >
> > To unsubscribe, visit link above, or email
> > ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
> >
> ___
> ffmpeg-user mailing list
> ffmpeg-user@ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
>
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".


Re: [FFmpeg-user] Trying to remember how I did this.....

2023-10-04 Thread Andrew Randrianasulu
ср, 4 окт. 2023 г., 10:34 Mark Dm :

> Its NOT Telecine. It is Digital Video 8 video at 27.97 FPS
> I am looking specifically for the setting that derives the 59.94FPS from
> the 27.97 FPS source with such beauty and without deinterlace.
>

this answer mentions yadif=1

https://superuser.com/questions/610618/double-deinterlace-with-full-motion-ffmpeg-yadif-50i-50p-60i-60p

may be it will work for your case?



> On Wed, Oct 4, 2023 at 12:28 AM Laine  wrote:
>
> >
> >
> >
> > > On Oct 4, 2023, at 1:36 AM, Mark Dm  wrote:
> > >
> > > I had some DVD Video that I had converted using ffmpeg some years ago.
> > What
> > > I did was converted NTSC DVD video (4x3) to 960x720 @59.94 FPS and the
> > > result was incredible. I had found a forum some time later where
> another
> > > user claimed he had done the same and he too had incredible results.
> The
> > > result as I recall is way better than deinterlacing and I still have
> some
> > > of the videos I upscaled this way. . It essentially creates a frame
> > > for every field and if I pause the video I may see a slight blur but no
> > > scan lines. I also see no scan lines while video is playing
> > >
> > > I do remember that I did it all with ffmpeg command line conversions.
> It
> > > does NOT use deinterlacing as that throws away half the resolution, and
> > > results in visible scan lines. Instead it increases the frame rate by
> two
> > > and I chose to upscale to 720P. As I recall I also did some PAL as well
> > as
> > > NTSC using the same method.
> > >
> > > I am looking to recover this method if I can as I will be transferring
> a
> > > bunch of Digital8 videos and want to do it the same way to create mp4
> > files
> > > at 720P@59.94FPS
> > >
> > > Any help appreciated
> > >
> > > THanks
> > >
> > > Mark
> >
> > For NTSC DVD you might want pullup. There’s more than one way to apply
> > pullup. What normally works best for me for NTSC DVD is to specify the
> > output frame rate with "-r 24000/1001" and use some sort of fieldmatch
> > video filter such as “fieldmatch" alone or
> > "fieldmatch=order=tff:combmatch=none,decimate”. You may find that it
> isn’t
> > necessary to specify the 24.976 frame rate. Use the filter before scaling
> > or cropping in the filter chain. The source video needs to be pretty
> clean
> > regarding pulldown (without or nearly without any dropped frames). You
> > should be able to identify the pulldown pattern in your source by
> stepping
> > through it frame by frame with a video player app such as IINA. By
> default
> > it’s the “.” (period) key. If it’s telecine, you’ll be able to observe 3
> > progressive frames followed by 2 pairs of interlaced frames. Something to
> > try, anyway.
> >
> > L. Lee
> >
> >
> >
> > ___
> > ffmpeg-user mailing list
> > ffmpeg-user@ffmpeg.org
> > https://ffmpeg.org/mailman/listinfo/ffmpeg-user
> >
> > To unsubscribe, visit link above, or email
> > ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
> >
> ___
> ffmpeg-user mailing list
> ffmpeg-user@ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
>
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".


Re: [FFmpeg-user] Trying to remember how I did this.....

2023-10-04 Thread Laine



> On Oct 4, 2023, at 3:43 AM, Laine  wrote:
> 
> ffmpeg -analyzeduration 100M -probesize 100M -loglevel error -stats -i  
> input.ts -map 0:0 -filter:v scale=-1:1440:flags=neighbor -c:v 
> h264_videotoolbox -b:v 2600k -color_primaries:v bt709 -color_trc:v bt709 
> -colorspace:v bt709 -metadata:s:v title= -disposition:v default -map 0:1 
> -c:a:0 copy -metadata:s:a:0 title= -disposition:a:0 default -sn -metadata:g 
> title= -movflags disable_chpl output.mp4


Sorry, I neglected to increase the frame rate in the Mac version. It should 
have been:

ffmpeg -analyzeduration 100M -probesize 100M -loglevel error -stats -i  
input.ts -map 0:0 -filter:v scale=-1:1440:flags=neighbor -r 59940/1000 -c:v 
h264_videotoolbox -b:v 2200k -color_primaries:v bt709 -color_trc:v bt709 
-colorspace:v bt709 -metadata:s:v title= -disposition:v default -map 0:1 -c:a:0 
copy -metadata:s:a:0 title= -disposition:a:0 default -sn -metadata:g title= 
-movflags disable_chpl output.mp4

L. Lee
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".


Re: [FFmpeg-user] Trying to remember how I did this.....

2023-10-04 Thread Laine


> On Oct 4, 2023, at 2:34 AM, Mark Dm  wrote:
> 
> Its NOT Telecine. It is Digital Video 8 video at 27.97 FPS
> I am looking specifically for the setting that derives the 59.94FPS from
> the 27.97 FPS source with such beauty and without deinterlace.
> 

Oh, you mean 29.97 FPS? If you still have any of the transcoding output from 
before, it’s easy to verify that it wasn't telecine also by stepping through 
frame by frame. If you keep the 29.97 frame rate when transcoding telecine, 
you’ll normally get every 4th progressive frame duplicated. I say that because 
only a very small relative number of NTSC DVDs I’ve transcoded have been "not 
telecine". Transcoding telecine without pullup normally looks fine until you 
see a passage of slow, smooth horizontal panning. Then it’s like getting 
slapped in the face 6 times per second. But only you know what you have. You 
can specify your frame rate without pullup, I think, with something like "-r 
59.94”. I’m sure you'd wan’t to adapt for your hardware for speed, but I’ve 
successfully upscaled progressive 29.97 FPS video with:

ffmpeg -i input.ts -vf scale=-1:1440:flags=neighbor -r 59.94 -c:v libx264 
-preset slow -crf 18  -b:v 2600k output.mp4

For my hardware (Mac Silicon), I dressed it up a little:

ffmpeg -analyzeduration 100M -probesize 100M -loglevel error -stats -i  
input.ts -map 0:0 -filter:v scale=-1:1440:flags=neighbor -c:v h264_videotoolbox 
-b:v 2600k -color_primaries:v bt709 -color_trc:v bt709 -colorspace:v bt709 
-metadata:s:v title= -disposition:v default -map 0:1 -c:a:0 copy 
-metadata:s:a:0 title= -disposition:a:0 default -sn -metadata:g title= 
-movflags disable_chpl output.mp4

L. Lee
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".


Re: [FFmpeg-user] Trying to remember how I did this.....

2023-10-04 Thread Mark Dm
Its NOT Telecine. It is Digital Video 8 video at 27.97 FPS
I am looking specifically for the setting that derives the 59.94FPS from
the 27.97 FPS source with such beauty and without deinterlace.

On Wed, Oct 4, 2023 at 12:28 AM Laine  wrote:

>
>
>
> > On Oct 4, 2023, at 1:36 AM, Mark Dm  wrote:
> >
> > I had some DVD Video that I had converted using ffmpeg some years ago.
> What
> > I did was converted NTSC DVD video (4x3) to 960x720 @59.94 FPS and the
> > result was incredible. I had found a forum some time later where another
> > user claimed he had done the same and he too had incredible results. The
> > result as I recall is way better than deinterlacing and I still have some
> > of the videos I upscaled this way. . It essentially creates a frame
> > for every field and if I pause the video I may see a slight blur but no
> > scan lines. I also see no scan lines while video is playing
> >
> > I do remember that I did it all with ffmpeg command line conversions. It
> > does NOT use deinterlacing as that throws away half the resolution, and
> > results in visible scan lines. Instead it increases the frame rate by two
> > and I chose to upscale to 720P. As I recall I also did some PAL as well
> as
> > NTSC using the same method.
> >
> > I am looking to recover this method if I can as I will be transferring a
> > bunch of Digital8 videos and want to do it the same way to create mp4
> files
> > at 720P@59.94FPS
> >
> > Any help appreciated
> >
> > THanks
> >
> > Mark
>
> For NTSC DVD you might want pullup. There’s more than one way to apply
> pullup. What normally works best for me for NTSC DVD is to specify the
> output frame rate with "-r 24000/1001" and use some sort of fieldmatch
> video filter such as “fieldmatch" alone or
> "fieldmatch=order=tff:combmatch=none,decimate”. You may find that it isn’t
> necessary to specify the 24.976 frame rate. Use the filter before scaling
> or cropping in the filter chain. The source video needs to be pretty clean
> regarding pulldown (without or nearly without any dropped frames). You
> should be able to identify the pulldown pattern in your source by stepping
> through it frame by frame with a video player app such as IINA. By default
> it’s the “.” (period) key. If it’s telecine, you’ll be able to observe 3
> progressive frames followed by 2 pairs of interlaced frames. Something to
> try, anyway.
>
> L. Lee
>
>
>
> ___
> ffmpeg-user mailing list
> ffmpeg-user@ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
>
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".


Re: [FFmpeg-user] Trying to remember how I did this.....

2023-10-04 Thread Laine



> On Oct 4, 2023, at 1:36 AM, Mark Dm  wrote:
> 
> I had some DVD Video that I had converted using ffmpeg some years ago. What
> I did was converted NTSC DVD video (4x3) to 960x720 @59.94 FPS and the
> result was incredible. I had found a forum some time later where another
> user claimed he had done the same and he too had incredible results. The
> result as I recall is way better than deinterlacing and I still have some
> of the videos I upscaled this way. . It essentially creates a frame
> for every field and if I pause the video I may see a slight blur but no
> scan lines. I also see no scan lines while video is playing
> 
> I do remember that I did it all with ffmpeg command line conversions. It
> does NOT use deinterlacing as that throws away half the resolution, and
> results in visible scan lines. Instead it increases the frame rate by two
> and I chose to upscale to 720P. As I recall I also did some PAL as well as
> NTSC using the same method.
> 
> I am looking to recover this method if I can as I will be transferring a
> bunch of Digital8 videos and want to do it the same way to create mp4 files
> at 720P@59.94FPS
> 
> Any help appreciated
> 
> THanks
> 
> Mark

For NTSC DVD you might want pullup. There’s more than one way to apply pullup. 
What normally works best for me for NTSC DVD is to specify the output frame 
rate with "-r 24000/1001" and use some sort of fieldmatch video filter such as 
“fieldmatch" alone or  "fieldmatch=order=tff:combmatch=none,decimate”. You may 
find that it isn’t necessary to specify the 24.976 frame rate. Use the filter 
before scaling or cropping in the filter chain. The source video needs to be 
pretty clean regarding pulldown (without or nearly without any dropped frames). 
You should be able to identify the pulldown pattern in your source by stepping 
through it frame by frame with a video player app such as IINA. By default it’s 
the “.” (period) key. If it’s telecine, you’ll be able to observe 3 progressive 
frames followed by 2 pairs of interlaced frames. Something to try, anyway.

L. Lee



___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".


[FFmpeg-user] Trying to remember how I did this.....

2023-10-04 Thread Mark Dm
I had some DVD Video that I had converted using ffmpeg some years ago. What
I did was converted NTSC DVD video (4x3) to 960x720 @59.94 FPS and the
result was incredible. I had found a forum some time later where another
user claimed he had done the same and he too had incredible results. The
result as I recall is way better than deinterlacing and I still have some
of the videos I upscaled this way. . It essentially creates a frame
for every field and if I pause the video I may see a slight blur but no
scan lines. I also see no scan lines while video is playing

I do remember that I did it all with ffmpeg command line conversions. It
does NOT use deinterlacing as that throws away half the resolution, and
results in visible scan lines. Instead it increases the frame rate by two
and I chose to upscale to 720P. As I recall I also did some PAL as well as
NTSC using the same method.

I am looking to recover this method if I can as I will be transferring a
bunch of Digital8 videos and want to do it the same way to create mp4 files
at 720P@59.94FPS

Any help appreciated

THanks

Mark
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".