This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

DV tape capture audio conversion issues
#2
MediaInfo reports:
Audio #1
Count                                    : 287
Count of stream of this kind             : 3
Kind of stream                           : Audio
Kind of stream                           : Audio
Stream identifier                        : 0
Stream identifier                        : 1
StreamOrder                              : 2
ID                                       : 3
ID                                       : 3
Format                                   : PCM
Format                                   : PCM
Commercial name                          : PCM
Format settings                          : Little / Signed
Format settings, Endianness              : Little
Format settings, Sign                    : Signed
Codec ID                                 : lpcm
Duration                                 : 364757
Duration                                 : 6 min 4 s
Duration                                 : 6 min 4 s 757 ms
Duration                                 : 6 min 4 s
Duration                                 : 00:06:04.757
Duration                                 : 00:06:04.757
Source duration                          : 364717
Source duration                          : 6 min 4 s
Source duration                          : 6 min 4 s 717 ms
Source duration                          : 6 min 4 s
Source duration                          : 00:06:04.717
Source duration                          : 00:06:04.717
Bit rate mode                            : CBR
Bit rate mode                            : Constant
Bit rate                                 : 2048000
Bit rate                                 : 2 048 kb/s
Channel(s)                               : 4
Channel(s)                               : 4 channels
Channel positions                        : Front: L R
Channel layout                           : L R L R
Sampling rate                            : 32000
Sampling rate                            : 32.0 kHz
Samples count                            : 11672224
Bit depth                                : 16
Bit depth                                : 16 bits
Delay                                    : 280
Delay                                    : 280 ms
Delay                                    : 280 ms
Delay                                    : 280 ms
Delay                                    : 00:00:00.280
Delay                                    : 00:00:00.280
Delay_DropFrame                          : No
Delay, origin                            : Container
Delay, origin                            : Container
Delay relative to video                  : 0
Delay relative to video                  : 00:00:00.000
Delay relative to video                  : 00:00:00.000
Stream size                              : 93377744
Stream size                              : 89.1 MiB (7%)
Stream size                              : 89 MiB
Stream size                              : 89 MiB
Stream size                              : 89.1 MiB
Stream size                              : 89.05 MiB
Stream size                              : 89.1 MiB (7%)
Proportion of this stream                : 0.06619
Source stream size                       : 93367512
Source stream size                       : 89.0 MiB (7%)
Source stream size                       : 89 MiB
Source stream size                       : 89 MiB
Source stream size                       : 89.0 MiB
Source stream size                       : 89.04 MiB
Source stream size                       : 89.0 MiB (7%)
Source_StreamSize_Proportion             : 0.06618
Title                                    : Core Media Audio
Encoded date                             : 2023-05-21 10:39:33 UTC
Tagged date                              : 2023-05-21 10:45:38 UTC
Source_Delay                             : 320
Source_Delay_Source                      : Container

Audio #2
Count                                    : 285
Count of stream of this kind             : 3
Kind of stream                           : Audio
Kind of stream                           : Audio
Stream identifier                        : 1
Stream identifier                        : 2
ID                                       : 1-0
ID                                       : 1-0
Format                                   : PCM
Format                                   : PCM
Commercial name                          : PCM
Format settings                          : Big / Signed
Format settings, Endianness              : Big
Format settings, Sign                    : Signed
Muxing mode                              : DV
Muxing mode, more info                   : Muxed in Video #1
Duration                                 : 364760
Duration                                 : 6 min 4 s
Duration                                 : 6 min 4 s 760 ms
Duration                                 : 6 min 4 s
Duration                                 : 00:06:04.760
Duration                                 : 00:06:04.760
Bit rate mode                            : CBR
Bit rate mode                            : Constant
Bit rate                                 : 768000
Bit rate                                 : 768 kb/s
Encoded bit rate                         : 0
Encoded bit rate                         : 0 b/s
Channel(s)                               : 2
Channel(s)                               : 2 channels
Sampling rate                            : 32000
Sampling rate                            : 32.0 kHz
Samples count                            : 11672320
Bit depth                                : 12
Bit depth                                : 12 bits
Delay                                    : 280
Delay                                    : 280 ms
Delay                                    : 280 ms
Delay                                    : 280 ms
Delay                                    : 00:00:00.280
Delay                                    : 00:00:00.280
Delay_DropFrame                          : No
Delay, origin                            : Container
Delay, origin                            : Container
Delay relative to video                  : 0
Delay relative to video                  : 00:00:00.000
Delay relative to video                  : 00:00:00.000
Stream size                              : 35016960
Stream size                              : 33.4 MiB (2%)
Stream size                              : 33 MiB
Stream size                              : 33 MiB
Stream size                              : 33.4 MiB
Stream size                              : 33.39 MiB
Stream size                              : 33.4 MiB (2%)
Proportion of this stream                : 0.02482
Encoded stream size                      : 0
Encoded stream size                      : 0.00 Byte (0%)
Encoded stream size                      :  Byte0
Encoded stream size                      : 0.0 Byte
Encoded stream size                      : 0.00 Byte
Encoded stream size                      : 0.000 Byte
Encoded stream size                      : 0.00 Byte (0%)
StreamSize_Encoded_Proportion            : 0.00000
Is it correct that the audio is 4 channel? (I ask, since that is rather uncommon for dv video, especially with just 32kHz sampling rate)
Strange is that mediainfo shows 3 audio channels, while Hybrid seems to detect only one.
Okay, Hybrid assumes there is only 1 audio channel, since mplayer only detects one.
mplayer reports a bunch of '[dvvideo @ 00007ff704aa6000]Concealing bitstream errors' and reports one time one audio and another time two audio channels.

I assume the different audio count will cause problems later, since it seems like Hybrid tried to extract an audio stream which Hybrid assumes to be 4 channels (same as ffmpeg), but during processing ffmpeg complains:
[pcm_s16le @ 00007ff704aa6000]Channel layout 'stereo' with 2 channels does not match specified number of channels 4: ignoring specified channel layout

=> Do you have a source you can share with me which triggers this problem?
I would need something to play with to come up with a workaround for this.

Cu Selur
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
Reply


Messages In This Thread
RE: DV tape capture audio conversion issues - by Selur - 10.08.2023, 17:12

Forum Jump:


Users browsing this thread: 1 Guest(s)