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.

[BUG] Passthrough audio changes sample rate on multiple audio streams
#4
Okay, the problem seems to be that MediaInfo reports only one audio stream:
General Count : 331 Count of stream of this kind : 1 Kind of stream : General Kind of stream : General Stream identifier : 0 Count of video streams : 1 Count of audio streams : 1 Video_Format_List : DV Video_Format_WithHint_List : DV Codecs Video : DV Audio_Format_List : PCM Audio_Format_WithHint_List : PCM Audio codecs : PCM Complete name : C:\Users\Selur\Desktop\multiaudio_32kHz_2006-04-02 17.24.00.avi Folder name : C:\Users\Selur\Desktop File name extension : multiaudio_32kHz_2006-04-02 17.24.00.avi File name : multiaudio_32kHz_2006-04-02 17.24.00 File extension : avi Format : AVI Format : AVI Format/Info : Audio Video Interleave Format/Extensions usually used : avi Commercial name : AVI DVCAM Commercial name : DVCAM Internet media type : video/vnd.avi File size : 22880256 File size : 21.8 MiB File size : 22 MiB File size : 22 MiB File size : 21.8 MiB File size : 21.82 MiB Duration : 6320 Duration : 6 s 320 ms Duration : 6 s 320 ms Duration : 6 s 320 ms Duration : 00:00:06.320 Duration : 00:00:06:08 Duration : 00:00:06.320 (00:00:06:08) Overall bit rate mode : CBR Overall bit rate mode : Constant Overall bit rate : 28962349 Overall bit rate : 29.0 Mb/s Frame rate : 25.000 Frame rate : 25.000 FPS Frame count : 158 Stream size : 128256 Stream size : 125 KiB (1%) Stream size : 125 KiB Stream size : 125 KiB Stream size : 125 KiB Stream size : 125.2 KiB Stream size : 125 KiB (1%) Proportion of this stream : 0.00561 Recorded date : 2009-07-12 19:57:55.000 File creation date : UTC 2022-07-10 04:47:11.314 File creation date (local) : 2022-07-10 06:47:11.314 File last modification date : UTC 2022-07-10 04:47:11.421 File last modification date (local) : 2022-07-10 06:47:11.421 Video Count : 381 Count of stream of this kind : 1 Kind of stream : Video Kind of stream : Video Stream identifier : 0 StreamOrder : 0 ID : 0 ID : 0 Format : DV Format : DV Commercial name : DVCAM Commercial name : DVCAM Internet media type : video/DV Duration : 6320 Duration : 6 s 320 ms Duration : 6 s 320 ms Duration : 6 s 320 ms Duration : 00:00:06.320 Duration : 00:00:06:08 Duration : 00:00:06.320 (00:00:06:08) Bit rate mode : CBR Bit rate mode : Constant Bit rate : 24441600 Bit rate : 24.4 Mb/s Encoded bit rate : 28800000 Encoded bit rate : 28.8 Mb/s Width : 720 Width : 720 pixels Height : 576 Height : 576 pixels Pixel aspect ratio : 1.067 Display aspect ratio : 1.333 Display aspect ratio : 4:3 Frame rate mode : CFR Frame rate mode : Constant Frame rate : 25.000 Frame rate : 25.000 FPS Frame count : 158 Standard : PAL Color space : YUV Chroma subsampling : 4:2:0 Chroma subsampling : 4:2:0 Bit depth : 8 Bit depth : 8 bits Scan type : Interlaced Scan type : Interlaced Scan order : BFF Scan order : Bottom Field First Compression mode : Lossy Compression mode : Lossy Bits/(Pixel*Frame) : 2.357 Delay : 3755440 Delay : 1 h 2 min Delay : 1 h 2 min 35 s 440 ms Delay : 1 h 2 min Delay : 01:02:35.440 Delay : 01:02:35:11 Delay : 01:02:35.440 (01:02:35:11) Delay_DropFrame : No Delay, origin : Stream Delay, origin : Raw stream Time code of first frame : 01:02:35:11 TimeCode_DropFrame : No Time code source : Subcode time code Stream size : 22752000 Stream size : 21.7 MiB (99%) Stream size : 22 MiB Stream size : 22 MiB Stream size : 21.7 MiB Stream size : 21.70 MiB Stream size : 21.7 MiB (99%) Proportion of this stream : 0.99439 Audio Count : 285 Count of stream of this kind : 1 Kind of stream : Audio Kind of stream : Audio Stream identifier : 0 ID : 0-0 ID : 0-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 : 6320 Duration : 6 s 320 ms Duration : 6 s 320 ms Duration : 6 s 320 ms Duration : 00:00:06.320 Duration : 00:00:06.320 Bit rate mode : CBR Bit rate mode : Constant Bit rate : 1536000 Bit rate : 1 536 kb/s Encoded bit rate : 0 Encoded bit rate : 0 b/s Channel(s) : 2 Channel(s) : 2 channels Sampling rate : 48000 Sampling rate : 48.0 kHz Samples count : 303360 Bit depth : 16 Bit depth : 16 bits Delay : 3755440 Delay : 1 h 2 min Delay : 1 h 2 min 35 s 440 ms Delay : 1 h 2 min Delay : 01:02:35.440 Delay : 01:02:35.440 Delay, origin : Stream Delay, origin : Raw stream Delay relative to video : 0 Delay relative to video : 00:00:00.000 Delay relative to video : 00:00:00.000 Stream size : 1213440 Stream size : 1.16 MiB (5%) Stream size : 1 MiB Stream size : 1.2 MiB Stream size : 1.16 MiB Stream size : 1.157 MiB Stream size : 1.16 MiB (5%) Proportion of this stream : 0.05303 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


FFmpeg/FFprobe/FFplayer report:
Input #0, avi, from 'c:\Users\Selur\Desktop\multiaudio_32kHz_2006-04-02 17.24.00.avi': Duration: 00:00:06.32, start: 0.000000, bitrate: 28962 kb/s Stream #0:0: Video: dvvideo, yuv420p, 720x576 [SAR 16:15 DAR 4:3], 25000 kb/s, 25 fps, 25 tbr, 25 tbn Stream #0:1: Audio: pcm_s16le, 48000 Hz, stereo, s16, 1536 kb/s Stream #0:2: Audio: pcm_s16le, 32000 Hz, stereo, s16, 1024 kb/s
MPlayer reports:
======= VIDEO Format ====== biSize 40 biWidth 720 biHeight 576 biPlanes 1 biBitCount 0 biCompression 1685288548='dvsd' biSizeImage 0 =========================== [lavf] stream 0: video (dvvideo), -vid 0 ==> Found audio stream: 1 ID_AUDIO_ID=0 ======= WAVE Format ======= Format Tag: 1 (0x1) Channels: 2 Samplerate: 48000 avg byte/sec: 192000 Block align: 1 bits/sample: 16 cbSize: 0 ========================================================================== [lavf] stream 1: audio (pcm_s16le), -aid 0 ==> Found audio stream: 2 ID_AUDIO_ID=1 ======= WAVE Format ======= Format Tag: 1 (0x1) Channels: 2 Samplerate: 32000 avg byte/sec: 128000 Block align: 1 bits/sample: 16 cbSize: 0 ========================================================================== [lavf] stream 2: audio (pcm_s16le), -aid 1 LAVF: 2 audio and 1 video streams found LAVF: build 3868772 VIDEO: [dvsd] 720x576 0bpp 25.000 fps 25000.0 kbps (3051.8 kbyte/s) [V] filefmt:35 fourcc:0x64737664 size:720x576 fps:25.000 ftime:=0.0400 ==========================================================================
First time mediainfo reports less audio streams than libav/ffmpeg -> looking into it.

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: Passthrough audio changes sample rate on multiple audio streams - by Selur - 11.07.2022, 15:37

Forum Jump:


Users browsing this thread: 1 Guest(s)