сб, 10 июн. 2023 г., 21:53 Phyllis Smith <phylsmith2017@gmail.com>:
Andrew, testing with this latest patch in seems OK.  In 1 case, it looked like "use ffmpeg / do not interlace" looked worse on the dvd/TV player than without the mod in, but a second dvd creation showed no worse.  So it was probably just the dvd media itself which is a re-writable dvd that I use over and over and over.

I will check this mod in next time I reboot the desktop.
Not sure why "use ffmpeg" is even an option because it looked quite a bit worse than using mpeg2enc.C!

But it much faster! Also, I guess we can trade some of this speed with quality settings ...

 from ffmpeg/video/mpeg2_hq.mpeg

sc_threshold=-30000
dc=10
bf=2
trellis=2
mbd=rd
cmp=2
subcmp=2


try to add those to raw.dvd profile?


On Fri, Jun 9, 2023 at 7:08 PM Andrew Randrianasulu via Cin <cin@lists.cinelerra-gg.org> wrote:
new patch on top of already applied, for me with "use ffmpeg" and deinterlacer it sets correctly main session to progressive and renders from it (exact location is important, I was getting same tff result if I put those lines under ffmpeg branch, much after resample/rechanelling.)

I hope setting full session to progressive is ok in this case because we add deinterlacer over whole vid track ... Should study deinterlacer's setting so they also can be set according to session params ... before I overwrite them ...

пт, 9 июн. 2023 г., 19:44 Andrew Randrianasulu <randrianasulu@gmail.com>:


пт, 9 июн. 2023 г., 18:59 Terje J. Hanssen <terjejhanssen@gmail.com>:

[snip]


I hope this sum up of the 4 variants I get from Cin DVD creating, using the current unpatched version:

Input file: PAL DV interlaced 4:3
Output DVD cropped to 16x9

The dvd folder file names below are else descriptive

Deinterlaced checked (di):

1) mediainfo ./dvd_wide_cin_di-ffmpeg_20230608-184940/dvd.mpg | grep Scan
Scan type                                : Progressive

2) mediainfo ./dvd_wide_cin_di_mpeg2enc_20230608-201519/dvd.mpg | grep Scan
Scan type                                : Interlaced
Scan order                               : Top Field First


Non deinterlaced (unchecked):

3) mediainfo ./dvd_wide_cin_ffmpeg_20230608-203740/dvd.mpg | grep Scan
Scan type                                : Progressive

4) mediainfo ./dvd_wide_cin_mpeg2enc_20230608-191936/dvd.mpg | grep Scan
Scan type                                : Interlaced
Scan order                               : Top Field First

Obviously 2) and 3) are wrong
Are they fixed in the patched version?

2) should be fixed, 3) is something I'll try to investigate.


5) Which de-interlace filters are used in CinGG with mpeg2enc and ffmpeg?

If you check "deinterlace" box in DVD  creation window - internal cinelerra's deinterlacer (you can configure it just before confirming batch render in second window).

In general I think you can try other types of deinterlacers manually.


I.e some users claims that Bwdif is better than Yadif for ffmpeg.
 



--
Cin mailing list
Cin@lists.cinelerra-gg.org
https://lists.cinelerra-gg.org/mailman/listinfo/cin