Re: [Cin] patch for 16:10 aspect ratio

2020-11-26 Thread Andrew Randrianasulu via Cin
В сообщении от Friday 27 November 2020 03:29:47 Phyllis Smith via Cin 
написал(а):
> Andrew,
> Also tested and checked into GIT, the 16_10_plus_formats patch to add the
> 16:10 aspect ratio and additional formats.  There are a LOT of formats now
> and it seems like the world keeps inventing new ones.  But at least you
> have got this updated for now.  Thanks.

Thank  *you*!

/me sends virtual hughs to Phyllis, of types she prefer/accept now.

> 
> On Sat, Oct 31, 2020 at 5:05 AM Andrew Randrianasulu via Cin <
> cin@lists.cinelerra-gg.org> wrote:
> 
> > Spend some time looking at where exactly those settings were located.
> > Turned out in theme.C :}
> >
> > diff --git a/cinelerra-5.1/cinelerra/theme.C
> > b/cinelerra-5.1/cinelerra/theme.C
> > index d89c789f..ea96309c 100644
> > --- a/cinelerra-5.1/cinelerra/theme.C
> > +++ b/cinelerra-5.1/cinelerra/theme.C
> > @@ -274,6 +274,7 @@ void Theme::build_menus()
> > aspect_ratios.append(new BC_ListBoxItem("3:2"));
> > aspect_ratios.append(new BC_ListBoxItem("4:3"));
> > aspect_ratios.append(new BC_ListBoxItem("16:9"));
> > +   aspect_ratios.append(new BC_ListBoxItem("16:10"));
> > aspect_ratios.append(new BC_ListBoxItem("2.10:1"));
> > aspect_ratios.append(new BC_ListBoxItem("2.20:1"));
> > aspect_ratios.append(new BC_ListBoxItem("2.25:1"));
> >
> > --
> >
> > Some presets in defaultformats.h may also benefit from upgrade?
> > But what kind of new formats we might want to add there? Just higher
> > resolution ones?
> >
> > --
> > Cin mailing list
> > Cin@lists.cinelerra-gg.org
> > https://lists.cinelerra-gg.org/mailman/listinfo/cin
> >
> 


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


Re: [Cin] Missing preset for SD 16:9 Anamorphic Wide DV(D)

2020-11-26 Thread Phyllis Smith via Cin
Andrew,
The patch DEFAULT_FORMATS-4 has been tested and is now checked into GIT.
Either the split of 1080P/60 and 1080P/59.94 will clarify this for the
users or else confuse them in trying to figure out which one to pick   ( ;
!!

On Mon, Nov 16, 2020 at 4:23 PM Andrew Randrianasulu via Cin <
cin@lists.cinelerra-gg.org> wrote:94

> В сообщении от Tuesday 17 November 2020 00:49:44 Terje J. Hanssen via Cin
> написал(а):
> > While HDV and FHD video can rendered for Blu-ray media, the widespread
> > DVD can only playback SD video content.
> >
> > HDV camcorders can during tape playback 1440x1080 anamorphic HDV
> > content, downconvert it to Widescreen Anamorphic 16:9 video.
> > Is it possible to get a Preset for DV(D) wide 16:9 video?
>
> I tried to cook up something - but I'm not sure if frame rate for PAL 16:9
> progressive should be 25 or 50 ...
>
> https://cloud.mail.ru/public/3N3y/2ZHx1JXEC
>
>
> { N_("PAL 576i (16:9) - DV(D)"),2, 2, 48000,1, 1, 25,
> 720,576,   16,9, ILACE_MODE_BOTTOM_FIRST, BC_YUVA },
> { N_("PAL 576p (16:9) - DV(D)"),2, 2, 48000,1, 1, 25,
> 720,576,   16,9, ILACE_MODE_NOTINTERLACED, BC_YUVA },
>
> for now I settled on 25 ...
>
> I tried to re-encode
>
> http://samples.mplayerhq.hu/MPEG2/dothack2.mpg
>
> with PAL 576i - 16:9 preset and it come out as
>
> mplayer /dev/shm/test02.mpeg
> MPlayer SVN-r38202-10.0.1 (C) 2000-2020 MPlayer Team
> parse error at line 423
> do_connect: could not connect to socket
> connect: No such file or directory
> Failed to open LIRC support. You will not be able to use your remote
> control.
>
> Playing /dev/shm/test02.mpeg.
> libavformat version 58.64.100 (internal)
> libavformat file format detected.
> [mpeg @ 0x574b7520]stream 1 : no PTS found at end of file, duration not set
> [lavf] stream 0: video (mpeg2video), -vid 0
> [lavf] stream 1: audio (mp2), -aid 0
> VIDEO:  [MPG2]  720x576  0bpp  25.000 fps0.0 kbps ( 0.0 kbyte/s)
> ==
> Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
> libavcodec version 58.112.101 (internal)
> Selected video codec: [ffmpeg2] vfm: ffmpeg (FFmpeg MPEG-2)
> ==
> Load subtitles in /dev/shm/
> ==
> Forced audio codec: mad
> Opening audio decoder: [libmad] libmad mpeg audio decoder
> AUDIO: 48000 Hz, 2 ch, s16le, 384.0 kbit/25.00% (ratio: 48000->192000)
> Selected audio codec: [mad] afm: libmad (libMAD MPEG layer 1-2-3)
> ==
> AO: [alsa] 48000Hz 2ch s16le (2 bytes per sample)
> Starting playback...
> The selected video_out device is incompatible with this codec.
> Try appending the scale filter to your filter list,
> e.g. -vf spp,scale instead of -vf spp.
> Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
> VO: [vdpau] 720x576 => 1024x576 Planar YV12
> Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
> VO: [vdpau] 720x576 => 1024x576 Planar YV12
>
>  mediainfo /dev/shm/test02.mpeg
> General
> Complete name: /dev/shm/test02.mpeg
> Format   : MPEG-PS
> File size: 7.65 MiB
> Duration : 17 s 16 ms
> Overall bit rate mode: Variable
> Overall bit rate : 3 771 kb/s
>
> Video
> ID   : 224 (0xE0)
> Format   : MPEG Video
> Format version   : Version 2
> Format profile   : Main@Main
> Format settings, BVOP: No
> Format settings, Matrix  : Default
> Format settings, GOP : N=12
> Duration : 17 s 0 ms
> Bit rate mode: Variable
> Bit rate : 3 312 kb/s
> Width: 720 pixels
> Height   : 576 pixels
> Display aspect ratio : 16:9
> Frame rate   : 25.000 FPS
> Standard : PAL
> Color space  : YUV
> Chroma subsampling   : 4:2:0
> Bit depth: 8 bits
> Scan type: Progressive
> Compression mode : Lossy
> Bits/(Pixel*Frame)   : 0.319
> Time code of first frame : 00:00:00:00
> Time code source : Group of pictures header
> GOP, Open/Closed : Open
> GOP, Open/Closed of first frame  : Closed
> Stream size  : 6.71 MiB (88%)
> Matrix