Den 04.06.2023 21:58, skrev Andrew Randrianasulu:


вс, 4 июн. 2023 г., 15:07 Terje J. Hanssen <terjejhans...@gmail.com>:



    Den 31.05.2023 07:24, skrev Andrew Randrianasulu via Cin:
    > I ......
    >
    > ===
    >
    > and mpeg2enc line looked like this
    >
    > FileMPEG::open_file: Running
    > /dev/shm/cinelerra/cinelerra-5.1/bin//mpeg2enc -v 0 -b 8000 -q 1
    -a 2
    > -F 3 -H -c -I 1 -M 4 -z b -f 8 -g 15 -G 15 -R 0 -o
    > '/dev/shm/tmp/dvd_20230531-081921/dvd.m2v'
    >
    >

    Is it possible to get the mpeg2enc command line to test it with a dv
    input file directly outside Cinelerra?


try line like this?

ffmpeg -i input.dv -f yuv4mpegpipe - \
  |mpeg2enc {flags and output file as shown }


Yes, this fixed the BFF issue, but still Interlaced and 4:3 format.
Stream #0:0: Video: mpeg2video (Main), yuv420p(tv, bt470bg, bottom first), 720x576 [SAR 16:15 DAR 4:3], 25 fps, 25 tbr, 1200k tbn

What I want is to get and try Progressive and 16:9 wide format. By cropping 720x576 to 720x405, bottom 65 and top 106 (top) preserves the displayed timestam at bottom.


quite amazing ffmpeg in this most basic case still works after nearly 20 years, line stolen (and modified) from

https://avva.livejournal.com/1188593.html


Creating DVD with typical ffmpeg decoding to raw video piped to mpeg2enc for encoding has been the usual way as described in the Cin-CV manual
http://cinelerra-cv.wikidot.com/cincv-manual-en:rendering-files#11

and is also included in Ruh's dvd guid sec. 3.4
https://www.qsl.net/n1gg/linux/video/linuxdvdguide.html#3

mpeg2enc is said to give some higher quality at high bitrate that ffmpeg.
The drawback is it is slow and audio and to be added and multiplexed


For ffmpeg as I said cingg does NOT  use command line ffmpeg, so you need to modify profile parameters in dvd.dvd file.


    And preferably also a corresponding ffmpeg command line.

    I had already created a .mpg video file, interlaced and bff, and
    it was
    no better, so I think deinterlaced (progressive) will be best.


your call!

Happy coding!




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

Reply via email to