[mythtv-users] Sound issue for one recording in 0.22 (not 0.23)

Jerry Rubinow jerrymr at gmail.com
Sat Apr 10 16:22:14 UTC 2010


On Fri, Apr 9, 2010 at 4:47 AM, Jean-Yves Avenard <jyavenard at gmail.com>wrote:

> Hi
>
> On 9 April 2010 14:19, Jerry Rubinow <jerrymr at gmail.com> wrote:
> > Standard mythbuntu 0.22-fixes.  Library api dated 0.22.20091023-1, mythtv
> > version listed as 23193 by mythbackend, network protocol 50.
> > I've never had a problem with any sound in a recording since first got
> > things all working with the Revo.  I always record the HD broadcasts of
> > shows, except for shows only available through the STB, via the HD-PVR.
> > Changing Max Channels to stereo doesn't appear to affect the audio
> playback
> > of the 3 or 4 shows I just tested.  Still missing on Survivor and still
> > present on the others.
>
> It's a different issue ; if you want surround sound in 0.22 with AC3
> and DTS ; then you *must* set it to stereo.
>
> So for a start; if oyu want to keep 0.22 , then fix your config and use
> stereo.
>
> Ideally, upgrade to 0.23 and report if you still have the issue.
>
> Please post a copy of the frontend log when playing that particular
> video with -v audio
>

audio log following the mplayer output below.


>
> Then I can tell what the problem could be ; but be aware that I have
> no intention of fixing any code in 0.22...
>
> Have you tried playing the recording in mplayer to see if it works there ?
> maybe it was simply recorded with no sound ?


Here's what mplayer says:

TS file format detected.
VIDEO H264(pid=4113) AUDIO AAC(pid=4352) NO SUBS (yet)!  PROGRAM N. 1
FPS seems to be: 59.940060
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
==========================================================================
==========================================================================
Opening audio decoder: [faad] AAC (MPEG2/4 Advanced Audio Coding)
AUDIO: 48000 Hz, 2 ch, s16le, 128.0 kbit/8.33% (ratio: 16000->192000)
Selected audio codec: [faad] afm: faad (FAAD AAC (MPEG-2/MPEG-4 Audio))
==========================================================================
AO: [alsa] 48000Hz 2ch s16le (2 bytes per sample)
Starting playback...

FAAD: compressed input bitrate missing, assuming 128kbit/s!
[pulse] working around probably broken pause functionality,
        see http://www.pulseaudio.org/ticket/440
waitpid(): No child processes
AO: [pulse] Init failed: Internal error
Failed to initialize audio driver 'pulse'
FAAD: error: Unable to find ADTS syncword, trying to resync!
FAAD: error: Gain control not yet implemented, trying to resync!
FAAD: error: Unable to find ADTS syncword, trying to resync!
FAAD: error: Unable to find ADTS syncword, trying to resync!
FAAD: error: Unable to find ADTS syncword, trying to resync!
FAAD: error: Unable to find ADTS syncword, trying to resync!
FAAD: error: Unable to find ADTS syncword, trying to resync!
FAAD: error: Unable to find ADTS syncword, trying to resync!
FAAD: error: Unable to find ADTS syncword, trying to resync!
FAAD: error: Unable to find ADTS syncword, trying to resync!

Lots more of this.

Here's the -v audio output from mythfrontend:

2010-04-10 11:53:44.182 TV: Attempting to change from None to Watching
WatchingPreRecorded
2010-04-10 11:53:44.568 TV: StartPlayer(0, Watching WatchingPreRecorded,
main) -- begin
2010-04-10 11:53:45.267 AFD: Opened codec 0x1321570, id(H264) type(Video)
2010-04-10 11:53:45.267 AFD: codec AAC has 2 channels
2010-04-10 11:53:45.268 AFD: Opened codec 0x2d637b0, id(AAC) type(Audio)
2010-04-10 11:53:45.268 AFD: Audio Track #1 is A/V stream #1 and has 2
channels in the Undetermined language(7695972).
2010-04-10 11:53:45.268 AFD: Selected track 1: Undetermined LIBFAAD 2ch (A/V
Stream #1)
2010-04-10 11:53:45.268 AFD: Initializing audio parms from audio track #1
2010-04-10 11:53:45.268 AFD: Audio format changed
from id(NONE)    -1Hz -1ch   0bps    ; id(NONE)    -1Hz -1ch   0bps
to   id( AAC) 48000Hz  2ch  16bps    ; id( AAC) 48000Hz  2ch  16bps
2010-04-10 11:53:45.287 AO: Killing AudioOutputDSP
2010-04-10 11:53:45.295 Opening audio device 'hdmi'. ch 2(2) sr 48000
2010-04-10 11:53:45.295 Opening ALSA audio device 'hdmi'.
2010-04-10 11:53:45.381 in SetParameters(format=2, channels=2, rate=48000,
buffer_time=400000, period_time=25000)
2010-04-10 11:53:45.381 get_buffer_size returned 16384
2010-04-10 11:53:45.382 set_period_time_near returned 21333
2010-04-10 11:53:45.382 get_period_size returned 1024
2010-04-10 11:53:45.391 Opening mixer default
2010-04-10 11:53:45.397 Setting Master volume to 48
2010-04-10 11:53:45.397 Volume range is 0 to 64, mult=1.5625
2010-04-10 11:53:45.397 channel 0 vol set to 31
2010-04-10 11:53:45.397 Volume range is 0 to 64, mult=1.5625
2010-04-10 11:53:45.397 Mixer unable to find control Master 1
2010-04-10 11:53:45.397 ALSA: channel 0 playback switch set to 1
2010-04-10 11:53:45.398 Setting Master volume to 48
2010-04-10 11:53:45.398 mixer unable to find control Master 1
2010-04-10 11:53:45.402 Setting PCM volume to 70
2010-04-10 11:53:45.402 Volume range is 0 to 255, mult=0.392157
2010-04-10 11:53:45.402 channel 0 vol set to 179
2010-04-10 11:53:45.402 Setting PCM volume to 70
2010-04-10 11:53:45.402 Volume range is 0 to 255, mult=0.392157
2010-04-10 11:53:45.402 channel 1 vol set to 179
2010-04-10 11:53:45.402 Volume range is 0 to 64, mult=1.5625
2010-04-10 11:53:45.402 Setting Master volume to 48
2010-04-10 11:53:45.402 Volume range is 0 to 64, mult=1.5625
2010-04-10 11:53:45.402 channel 0 vol set to 31
2010-04-10 11:53:45.402 Volume range is 0 to 64, mult=1.5625
2010-04-10 11:53:45.403 Mixer unable to find control Master 1
2010-04-10 11:53:45.403 ALSA: channel 0 playback switch set to 1
2010-04-10 11:53:45.403 Setting Master volume to 48
2010-04-10 11:53:45.403 mixer unable to find control Master 1
2010-04-10 11:53:45.403 AO: Audio fragment size: 6144
2010-04-10 11:53:45.405 AO: Audio Stretch Factor: 1
2010-04-10 11:53:45.405 Audio Codec Used: not set
2010-04-10 11:53:45.405 AO: Ending reconfigure
2010-04-10 11:53:45.405 AO: kickoffOutputAudioLoop: pid = 5294
2010-04-10 11:53:45.405 AO: OutputAudioLoop: Play Event
2010-04-10 11:53:45.405 AO: no change exiting
2010-04-10 11:53:45.432 AO: no change exiting
2010-04-10 11:53:45.432 AO: Pause 1
2010-04-10 11:53:45.433 AO: OutputAudioLoop: audio paused
2010-04-10 11:53:45.715 NVP(0): Forcing decode extra audio option on (Video
method requires it).
2010-04-10 11:53:45.717 FilterManager: Failed to load filter 'colorspace',
no such filter exists
2010-04-10 11:53:45.719 OSD Theme Dimensions W: 640 H: 480
2010-04-10 11:53:46.359 MythContext: Connecting to backend server:
192.168.1.3:6543 (try 1 of 1)
2010-04-10 11:53:46.361 Using protocol version 50
2010-04-10 11:53:46.382 AO: Pause 1
2010-04-10 11:53:46.382 TV: StartPlayer(0, Watching WatchingPreRecorded,
main) -- end ok
2010-04-10 11:53:46.382 AO: OutputAudioLoop: audio paused
2010-04-10 11:53:46.384 TV: Changing from None to Watching
WatchingPreRecorded
2010-04-10 11:53:46.401 Realtime priority would require SUID as root.
2010-04-10 11:53:46.412 Video sync method can't support double framerate
(refresh rate too low for bob deint)
2010-04-10 11:53:46.416 Video timing method: USleep with busy wait
2010-04-10 11:53:46.443 MythContext: Connecting to backend server:
192.168.1.3:6543 (try 1 of 1)
2010-04-10 11:53:46.445 Using protocol version 50
2010-04-10 11:53:46.495 AO: Pause 1
2010-04-10 11:53:46.496 AO: OutputAudioLoop: audio paused
2010-04-10 11:53:46.536 [h264_vdpau @ 0x7fdff0c86820]B picture before any
references, skipping
2010-04-10 11:53:46.536 [h264_vdpau @ 0x7fdff0c86820]decode_slice_header
error
2010-04-10 11:53:46.536 [h264_vdpau @ 0x7fdff0c86820]no frame!
2010-04-10 11:53:46.536 AFD Error: Unknown decoding error
2010-04-10 11:53:46.537 [h264_vdpau @ 0x7fdff0c86820]B picture before any
references, skipping
2010-04-10 11:53:46.537 [h264_vdpau @ 0x7fdff0c86820]decode_slice_header
error
2010-04-10 11:53:46.537 [h264_vdpau @ 0x7fdff0c86820]no frame!
2010-04-10 11:53:46.537 AFD Error: Unknown decoding error
2010-04-10 11:53:46.538 [h264_vdpau @ 0x7fdff0c86820]B picture before any
references, skipping
2010-04-10 11:53:46.538 [h264_vdpau @ 0x7fdff0c86820]decode_slice_header
error
2010-04-10 11:53:46.538 [h264_vdpau @ 0x7fdff0c86820]no frame!
2010-04-10 11:53:46.538 AFD Error: Unknown decoding error
2010-04-10 11:53:46.571 [libfaad @ 0x7fdff0c86820]faac: frame decoding
failed: Bitstream value not allowed by specification
2010-04-10 11:53:46.571 audio stream changed
2010-04-10 11:53:46.571 AFD: Selected track 1: Undetermined LIBFAAD 2ch (A/V
Stream #1)
2010-04-10 11:53:46.571 AFD: Initializing audio parms from audio track #1
2010-04-10 11:53:46.571 AFD: Audio format changed
from id( AAC) 48000Hz  2ch  16bps    ; id( AAC) 48000Hz  2ch  16bps
to   id( AAC) 11025Hz  2ch  16bps    ; id( AAC) 11025Hz  2ch  16bps
2010-04-10 11:53:46.571 AO: SetEffDsp: 1102500
2010-04-10 11:53:46.571 AO: Killing AudioOutputDSP
2010-04-10 11:53:46.572 AO: OutputAudioLoop: Stop Event
2010-04-10 11:53:46.572 AO: kickoffOutputAudioLoop exiting
2010-04-10 11:53:46.590 Opening audio device 'hdmi'. ch 2(2) sr 11025
2010-04-10 11:53:46.591 Opening ALSA audio device 'hdmi'.
2010-04-10 11:53:46.592 in SetParameters(format=2, channels=2, rate=11025,
buffer_time=400000, period_time=25000)
2010-04-10 11:53:46.593 AudioOutput Error: Rate doesn't match (requested
11025Hz, got 48000Hz)
2010-04-10 11:53:46.593 AudioOutput Error: Unable to set ALSA parameters
2010-04-10 11:53:46.593 AO, ERROR: Aborting reconfigure
2010-04-10 11:53:46.593 Aborting reconfigure
2010-04-10 11:53:46.593 AFD Error: Unknown audio decoding error
2010-04-10 11:53:46.594 [libfaad @ 0x7fdff0c86820]faac: frame decoding
failed: Unable to find ADTS syncword
2010-04-10 11:53:46.594 audio stream changed
2010-04-10 11:53:46.594 AFD: Selected track 1: Undetermined LIBFAAD 2ch (A/V
Stream #1)
2010-04-10 11:53:46.595 AFD: Initializing audio parms from audio track #1
2010-04-10 11:53:46.595 AFD: Audio format changed
from id( AAC) 11025Hz  2ch  16bps    ; id( AAC) 11025Hz  2ch  16bps
to   id( AAC)  7350Hz  2ch  16bps    ; id( AAC)  7350Hz  2ch  16bps

Followed by lots more of the same.

-Jerry
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mythtv.org/pipermail/mythtv-users/attachments/20100410/0360c5bc/attachment.htm>


More information about the mythtv-users mailing list