ADM 2.6.x and 2.7.0 PCM problem (2.5.6: NO audio problem)

Started by hiro, September 04, 2017, 01:58:16 PM

Previous topic - Next topic

hiro

Hi

Whatever ADM 2.6 version I try, and 2.7.0, when I recode any video, selecting any .avi compatible codec — and PCM audio, the VIDEO stream only will play

—— but: no playable audio.


Both "PotPlayer" and "VLC" (+ other players I tested longer ago) see an audio stream but complain: "Can't play audio stream / no compatible codec found" etc.


---- "VLC" report on ADM 2.6.x and 2.7.0 PCM audio stream of (HuffYUV and Xvid / makes no difference) .avi recoded files (from an AVC H.264 sample vid. containing .aac audio, previously recoded using ADM 2.6.8 and 2.7.0):

Type: audio
Codec: araw
Sampling rate: 44100 Hz
Bitrate: 1411 kb/s


I tried to resample the audio to 44100 Hz, + check "stereo" option and more; but no change...

Note 1: ADM 2.5.6 only will play the video including the audio stream. But again, no other player.

_______________________


Note 2: it never happens with ADM 2.5.6 .avi PCM audio stream / playing alright / no complaints:


---- "VLC" report — on the same test video sample, recoded to (HuffYUV) .avi, using ADM 2.5.6:

Type: audio
Codec: PCM S16 LE (araw)
Ch.: Stereo
Sampling rate: 44100 Hz
Bits per sample: 16

.

Jan Gruuthuse

#1
Yes, VLC has issues playing (MediaInfo)
Audio
ID                                       : 1
Format                                   : PCM
Format settings, Endianness              : Little
Format settings, Sign                    : Signed
Codec ID                                 : 1
Duration                                 : 37s 880ms
Bit rate mode                            : Constant
Bit rate                                 : 1 536 Kbps
Channel(s)                               : 2 channels
Sampling rate                            : 48.0 KHz
Bit depth                                : 16 bits
Stream size                              : 6.94 MiB (1%)
Alignment                                : Aligned on interleaves
Interleave, duration                     : 20 ms (1.00 video frame)


Saving audio with PCM in 2.7 produces audio like above.

Jan Gruuthuse

Developers:
Audio
ID                                       : 1
Format                                   : PCM
Format settings, Endianness              : Little
Format settings, Sign                    : Signed
Codec ID                                 : 1
Duration                                 : 37s 880ms
Bit rate mode                            : Constant
Bit rate                                 : 1 536 Kbps
Channel(s)                               : 2 channels
Sampling rate                            : 48.0 KHz
Bit depth                                : 16 bits
Stream size                              : 6.94 MiB (15%)
Alignment                                : Aligned on interleaves
Interleave, duration                     : 5400 ms (270.00 video frames)

Jan Gruuthuse

PM send with sample videos regarding PCM issue to developers

hiro

Thanks for the answers, incl. "PM send with sample videos regarding PCM issue to developers"


— but it's not "VLC" only, that won't play 2.6.x and 2.7.0 PCM recoded .avi streams ("VLC" only, I wouldn't care):

e.g. "PotPlayer" + several others won't either; I also tried to convert the result using "Pazera Audio Extractor" (rather tolerant, on all kinds of videos): same problem...

Now, since ADM 2.5.6 does play that stubborn PCM stream alright, I'm wondering which encoding error — or muxing oddity, may be? — bugs most other players.

Therefore + so far, after encoding with 2.6.x or 7, I'm still forced to use ADM 2.5.6 to recode the audio stream only...


.

Jan Gruuthuse

#5
We have to wait for developers findings and eventually a solution.
My guess is Interleave, duration                     : 20 ms (1.00 video frame) causes the problem, PCM re-encoded in 2.7.

For now with avidmux 2.7.
- Reload video with newly PCM encoded audio (kind of not playing in VLC)
- Menu: audio: Save Audio
- Menu: Select track: Track 1 [V] enabled
- [track 0 from video (PCM, stereo, ....kbps) <- click and select [.... Add audio track]
-- browse to the just saved audio track, [OK]
-- save video

video should now be fine and play in media players



mean

I can't reproduce the problem
What are the steps ?

The not playing file has bit per sample =0, but i cannot make avidemux do that

Jan Gruuthuse

#7
load the video, if you don't have on your system https://www.dropbox.com/s/a8scxh0m134zxh0/720p4audioTracks3sat.ts?dl=0

video output:mpeg4 asp (xvid4)
avi muxer
audio output: pcm

Menu: audio: Select track:
only enable Track 1 [v]
and select track 1 from video
save video

or load video and run attached script (sorry for late response)

Jan Gruuthuse

Strangely enough, Totem Movie Player produces the audio track?
totem (3.18.1-1ubuntu4) xenial

mean


Jan Gruuthuse

#10
Works now.
available in nightly: avidemux_r170905_win64Qt5_459 http://www.avidemux.org/nightly/win64/