[Cin] qctools, sonic lineup

Terje J. Hanssen terjejhanssen at gmail.com
Mon Jan 22 14:18:12 CET 2024

Den 20.01.2024 23:31, skrev Andrew Randrianasulu:
> Sorry Terje if I was too rough in my previous email.

Oh, I am fine with that. I understand also some user-repeating questions 
might be somewhat frustrating :)
Some of the things like anamorphic video and SAR, are issues from the 
past - to my surprise.

> I am definitely very much want to have as error-free transcode (and as 
> little transcode as possible in general) as you, for same reason.
> I am not sure you can absolutely trust ffmpeg for not doing any 
> conversion by default. For example 6.1 seems to upconvert 16 bit audio 
> when you select dvd_pcm audio output.
> /dev/shm/ffmpeg/ffmpeg -i /home/guest/CIN51.mp4 -target pal-dvd -c:a 
> pcm_dvd -f dvd /dev/shm/cin51.mpeg
> ah, it only does so if decoder output floats by default (aac, may be 
> mp3 too?)
> for dv it was 16 to 16.

I haven't succeeded to get DeVeDe to author DVD and create iso again 
from the ffmpeg encoded and muxed mpg with 16-bit lpcm from dv input. No 
error from ffmpeg and ok playback of the mpg using VLC. So it is 
possibly or seemingly working(?)

My follow-up question is if it possible in some way to "feed or code" a 
similar command line to FFmpeg in CinGG's DVD Create window, and 
possibly get the DVD structure and iso from this mpg?

ffmpeg -hide_banner -i dv01_07.dv -f dvd -target pal-dvd -aspect 4:3 
-b:v 8M -mbd rd -trellis 1 -cmp 0 -subcmp 2 -c:a pcm_dvd dvd01_07_pcm.mpg

    [dv @ 0x55d83fb616c0] Estimating duration from bitrate, this may be
    Input #0, dv, from 'dv01_07.dv':
         timecode        : 01:09:35:09
       Duration: 00:01:53.28, start: 0.000000, bitrate: 28800 kb/s
       Stream #0:0: Video: dvvideo, yuv420p, 720x576 [SAR 16:15 DAR
    4:3], 25000 kb/s, 25 fps, 25 tbr, 25 tbn, 25 tbc
       Stream #0:1: Audio: pcm_s16le, 48000 Hz, stereo, s16, 1536 kb/s
    Multiple -c, -codec, -acodec, -vcodec, -scodec or -dcodec options
    specified for stream 1, only the last option '-c:a pcm_dvd' will be
    Stream mapping:
       Stream #0:0 -> #0:0 (dvvideo (native) -> mpeg2video (native))
       Stream #0:1 -> #0:1 (pcm_s16le (native) -> pcm_dvd (native))
    Press [q] to stop, [?] for help
    Output #0, dvd, to 'dvd01_07_pcm.mpg':
         timecode        : 01:09:35:09
         encoder         : Lavf58.76.100
       Stream #0:0: Video: mpeg2video (Main), yuv420p(bottom coded first
    (swapped)), 720x576 [SAR 16:15 DAR 4:3], q=2-31, 8000 kb/s, 25 fps,
    90k tbn
           encoder         : Lavc58.134.100 mpeg2video
         Side data:
           cpb: bitrate max/min/avg: 9000000/0/8000000 buffer size:
    1835008 vbv_delay: N/A
       Stream #0:1: Audio: pcm_dvd, 48000 Hz, stereo, s16, 1536 kb/s
           encoder         : Lavc58.134.100 pcm_dvd
    frame= 2832 fps=149 q=2.0 Lsize=  132450kB time=00:01:53.27
    bitrate=9578.8kbits/s speed=5.95x
    video:108950kB audio:21272kB subtitle:0kB other streams:0kB global
    headers:0kB muxing overhead: 1.711336%

> Not sure how good internal ffmpeg muxer for dvd file creation, but you 
> probably can test this by reusing cingg created audio and video files 
> from dvd master.
> I have few more ideas to test and smart-up our bash script so it will 
> use wav output + sox + mplex automatically if wav or pcm file was 
> detected in output directory (so you can set easy wav output and do 
> not care about BE pcm file and its extension), but again I need some 
> time to test this.
> I was looking for some quality control tools and found qctools and 
> this post specifically on stackexchange
> https://sound.stackexchange.com/questions/40222/show-the-differences-between-two-similar-audio-files-using-graphical-method
> it mentions  program named Sonic Lineup, hopefully easy (and working 
> on Linux) way to compare two audio files.
> Not sure if it supports dvd audio tho ....
> https://sonicvisualiser.org/sonic-lineup/index.html
> qctools are more aiming at video quality metrics, just build their 
> latest tool:
> https://mediaarea.net/QCTools
> I am sure you can get Appimage or even rpm from their site.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.cinelerra-gg.org/pipermail/cin/attachments/20240122/88fdd94e/attachment.htm>

More information about the Cin mailing list