brianafischer / mythdroid

Automatically exported from code.google.com/p/mythdroid
0 stars 0 forks source link

Video but no Sound Version: 0.5.3/myth 0.24/VLC 1.1.12 #85

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Which version of MythDroid were you using?  0.5.3

Which version of MDD? 0.5.3

Which version of MythTV were you using? (e.g. mythfrontend --version) 0.24.1

What steps will reproduce the problem?
1.  Attempt to play (stream) an HD ATSC recorded stream transcoded to Android 
2.2.3 device.

What is the expected output? What do you see instead?

I have two Android devices: Original Moto Droid and an Archos 70s tablet.
Both have basically same version of Android 2.2.3.

On the Archos I get great video, but no sound.

On the Droid I sometimes get sound, but only playing recorded sources that are 
not "HD".  I never get sound from an HD recorded source.

My Myth backend and frontend is on the same machine, a Debian "testing" with 
Debian "Multimedia" repository enabled.  The version of VLC is 1.1.12-0.2.

My video source is an HDHomerun ATSC network tuner which MythTV basically dumps 
the MPEG streams into a file I think.

It is possible that there is a separate problem with the Archos as it sometimes 
has audio problems with other apps.

Willing to do further testing per your direction.  (MDD stream to a PC based 
VLC perhaps?)

Thank you for the work so far on a great app!

James

Original issue reported on code.google.com by warts...@gmail.com on 2 Jan 2012 at 4:58

GoogleCodeExporter commented 8 years ago
I have since figured out that the problem likely originates from VLC's call to 
ffmpeg which calls libaacplus2 which then returns this error message:

libaacplus: bad aac setting: br:96000, AACch:2, AACsr:24000
libaacplus doesn't support this output format!

So I wonder what it doesn't like, the AACsr:24000 perhaps? or is this a 
somewhat bogus error message and there is likely something else wrong in this 
area?

Hope this helps,

James

My version of libaacplus2 is 2.0.2 from debian with the "-0.1" suffix which 
says they disabled fftw3 due to memory leak over a year ago.

Original comment by warts...@gmail.com on 2 Jan 2012 at 10:43

GoogleCodeExporter commented 8 years ago
It's likely something to do with debian's version of ffmpeg and their removal 
of a range of coders (like faac apparently).. You might try installing the faac 
and ffmpeg packages from the medibuntu repositories. Could you also attach some 
vlc logs? They can be found in /tmp/vlc.out after an attempt at streaming..

Original comment by foobum on 3 Jan 2012 at 8:01

GoogleCodeExporter commented 8 years ago
My current thinking is that I've got more than one problem causing this.  So 
attached are two vlc.out files, One after playing a file on my Moto-Droid, 
which played fine, and one after playing the same file on my Archos 70s Tablet, 
that did not have audio.

So in this case I feel the problem is in the Archos.  Any idea how to 
troubleshoot this further?  

--------

The other Audio failure, that happens on the Droid as well, is when I try to 
play "HD" stream as opposed to "SD" recorded streams.  It is possible that this 
failure is due to the Droid not having enough power to decode the stream.  The 
Droid CAN play HD content from "mythweb" which is FLV streams that I currently 
have set to transcode to a width of 640 pixels.  Considering the extra overhead 
of running in a web browser, I would expect this not to play but at least 
lowest bitrate  streams to play in MythDroid. 

Original comment by warts...@gmail.com on 6 Jan 2012 at 6:21

Attachments:

GoogleCodeExporter commented 8 years ago
The Archos will play (with sound) Mythtv content using its uPnp/DLNA interface 
and a couple of different Android players.  But since no on-the-fly transcoding 
takes place the Archos will only play 480i content as 1080p is too much for its 
screen and processor.  I like Mythdroid for its choices of stream quality given 
per playback event.

Original comment by warts...@gmail.com on 7 Jan 2012 at 8:30

GoogleCodeExporter commented 8 years ago
Libaacplus2 only supports an audio bit rate of 64kb or less. It is highly 
efficient when compared to faac. I believe the ffmpeg option is -ab.

Original comment by Hoodl...@gmail.com on 22 Apr 2012 at 6:22

GoogleCodeExporter commented 8 years ago
The vlc out file for the archos looks ok - vlc is producing aac (2ch/48k) audio 
as intended.. Perhaps the archos doesn't support aac? You could try mp3 by 
specifying a new stream command in /etc/mdd.conf - see the wiki. Otherwise, try 
the new release of MythDroid / MDD and report back if there are still problems. 
Also, open a new ticket if the HD streaming remains problematic..

Original comment by foobum on 3 Oct 2012 at 10:31