Den 22.01.2024 15:05, skrev Andrew Randrianasulu:
пн, 22 янв. 2024 г., 16:18 Terje J. Hanssen <[email protected]>:
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?
I was trying to make this happen, but while ffmpeg shows no error on
muxing - next stage (dvdauthor) reports some warnings and more
importantly resulted iso folder not seekable when played by mpv (mplex
muxed one works).
So I am stuck a bit on using ffmpeg as dvd muxer ... May be if we let
it encode both audio and video in one pass result will be more
satisfactory?
Did you tried to run dvdauthor on ffmpeg-encoded and muxed mpg with
lpcm audio?
Yes, I did following the simple step 2. and 3 in
https://askubuntu.com/questions/1013703/converting-dv-to-mpeg
2. dvdauthor ran in a way, but created a very thin tree
DVD01_07_PCM
├── [ 4096] AUDIO_TS
└── [ 4096] VIDEO_TS
├── [ 12288] VTS_01_0.BUP
├── [ 12288] VTS_01_0.IFO
└── [ 135628800] VTS_01_1.VOB
ffprobe -hide_banner DVD01_07_PCM/VIDEO_TS/VTS_01_1.VOB
Input #0, mpeg, from 'DVD01_07_PCM/VIDEO_TS/VTS_01_1.VOB':
Duration: 00:01:53.28, start: 0.540000, bitrate: 9577 kb/s
Stream #0:0[0x1bf]: Data: dvd_nav_packet
Stream #0:1[0x1e0]: Video: mpeg2video (Main), yuv420p(tv,
progressive), 720x576 [SAR 16:15 DAR 4:3], 25 fps, 25 tbr, 90k tbn,
50 tbc
Side data:
cpb: bitrate max/min/avg: 9000000/0/0 buffer size: 1835008
vbv_delay: N/A
Stream #0:2[0xa0]: Audio: pcm_dvd, 48000 Hz, 2 channels, s16,
1536 kb/s
Unsupported codec with id 100357 for input stream 0
VLC could playback the final VTS_01_1.VOB file
3. mkisofs did NOT create the dvd iso.
When I got DeVeDe to work earlier last year, it created a much more
complete tree structure and also the iso
https://www.mail-archive.com/[email protected]/msg05766.html
and unanswered
3) and 4) at FFmpeg-user, possibly a bit different ffmpeg, due to the
buffer underflow messages
https://lists.ffmpeg.org//pipermail/ffmpeg-user/2023-March/056229.html
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 inaccurate
Input #0, dv, from 'dv01_07.dv':
Metadata:
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 used.
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':
Metadata:
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
Metadata:
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
Metadata:
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.
--
Cin mailing list
[email protected]
https://lists.cinelerra-gg.org/mailman/listinfo/cin