View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 9 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Tue Aug 08, 2006 6:35 am 
Offline
Joined: Fri Jan 21, 2005 9:14 am
Posts: 124
Location: New York
I recently upgraded my BE from an R5 alpha to R5C7, overall the process was extremely smooth and as always, kudos to Cecil & his team for another outstanding job.

My question is re: mythVideo. I have a number of .avi files which I view using MythVideo. Some of these .avi files were obtained by ripping DVDs using "Excellent" quality, and the rest were DL'd from the net.

One glitch I have encountered is now, when any .avi file in MythVideo is played there is no audio. The previously-installed version R5 alpha played these same .avi files correctly. All .vob files ("Perfect" rip) play back correctly also (then and now).


Any ideas?


Top
 Profile  
 
 Post subject:
PostPosted: Tue Aug 08, 2006 4:36 pm 
Offline
Joined: Thu Feb 23, 2006 8:18 am
Posts: 9
Are you doing anything with spdif/digital audio?

For example I've got digital sound setup on my machine and I had to go through the configuration pages to add -ao alsa:device=digital (digital is the name of my audio device) to the mplayer lines in order to get sound out of it.

if not, maybe you could describe your system better...?


Top
 Profile  
 
 Post subject:
PostPosted: Wed Aug 09, 2006 6:48 am 
Offline
Joined: Fri Jan 21, 2005 9:14 am
Posts: 124
Location: New York
joyboy wrote:
Are you doing anything with spdif/digital audio?


Nope, using the onboard analog audio ports to my speakers.

joyboy wrote:
if not, maybe you could describe your system better...?


HP Pavilion A310E (refurbished by Wintergreen Systems)
ASUS A7N8X-LA AMIBIOS motherboard
NVIDIA nForce2 chipset
AMD Athlon XP 2800 2.08 gHz
384 mB 266 mHz DDR RAM
AC'97 On-Board audio w/ Realtek ALC650 CODEC device
PVR 250 tuner 0
PVR 150 tuner 1 w/ IRBlaster & remote
PVR 250 tuner 2
hda: 80gb WDC WD800EB-11DJF0, ATA DISK drive
hdb: 300gb ST3300831A, ATA DISK drive

Code:
~## df
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/hda1              2735404   1996856    599992  77% /
/dev/vg/myth         361068736 252778120 108290616  71% /myth

# ls -la /usr/bin/mplayer
-rwxr-xr-x  1 root root 5853452 Jun 18  2005 /usr/bin/mplayer


Another data point: .avi audio plays fine on my two XBox frontends running Xebian 1.0.4 w/ upgrades and MythTV 0.19 fixes.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Aug 10, 2006 1:48 pm 
Offline
Joined: Fri Jan 21, 2005 9:14 am
Posts: 124
Location: New York
Further investigation reveals some clues (although I remain clueless):

On R5C7, this is the output from mplayer when playing an .avi of a DVD imported on that system using "Excellent" compression:

Code:
MPlayer 1.0pre6-3.3.5 (C) 2000-2004 MPlayer Team
CPU: Advanced Micro Devices Athlon MP/XP/XP-M Barton (Family: 6, Stepping: 0)
Detected cache-line size is 64 bytes
CPUflags:  MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0
Compiled with runtime CPU detection - WARNING - this is not optimal!
To get best performance, recompile MPlayer with --disable-runtime-cpudetection.


Try adding "echo 1024 > /proc/sys/dev/rtc/max-user-freq" to your system startup scripts.
Setting up LIRC support...
Playing COUSIN_VANNY.avi.
AVI file format detected.
AVI_NI: No audio stream found -> no sound.
VIDEO:  [XVID]  720x480  24bpp  23.976 fps  1726.8 kbps (210.8 kbyte/s)
Clip info:
 Software: transcode-0.6.14
vo: X11 running at 640x480 with depth 16 and 16 bpp (":0.0" => local display)
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffodivx] vfm:ffmpeg (FFmpeg MPEG-4)
==========================================================================
Audio: no sound
Starting playback...
VDec: vo config request - 720 x 480 (preferred csp: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.50:1 - prescaling to correct movie aspect.
VO: [xv] 720x480 => 720x480 Planar YV12
V:   0.0   1/  1 ??% ??% ??,?% 0 0
.
.
.                                                                       


The same file played back on Xebian running 0.19 fixes:

Code:
MPlayer 1.0pre4-3.3.4 (C) 2000-2004 MPlayer Team

CPU: Intel Celeron 2/Pentium III Coppermine,Geyserville 867.6 MHz (Family: 6, Stepping: 10)
Detected cache-line size is 32 bytes
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 0
Compiled for Debian.
Reading config file /etc/mplayer/mplayer.conf
Reading config file /home/live/.mplayer/config
Reading /home/live/.mplayer/codecs.conf: Reading /etc/mplayer/codecs.conf: Using built-in default codecs.conf.
font: can't open file: /home/live/.mplayer/font/font.desc
Font /usr/share/mplayer/font/font.desc loaded successfully! (206 chars)
Try adding "echo 1024 > /proc/sys/dev/rtc/max-user-freq" to your system startup scripts.
Using usleep() timing
Input config file /etc/mplayer/input.conf parsed: 53 binds
Opening joystick device /dev/input/js0
Can't open joystick device /dev/input/js0 : No such file or directory
Setting up LIRC support...

Playing COUSIN_VANNY.avi.

Cache fill:  0.00% (0 bytes)    AVI file format detected.
VIDEO:  [XVID]  720x480  24bpp  23.976 fps  1726.8 kbps (210.8 kbyte/s)
Clip info:
 Software: transcode-0.6.14
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
MP3lib: init layer2&3 finished, tables done
AUDIO: 48000 Hz, 2 ch, 16 bit (0x10), ratio: 16000->192000 (128.0 kbit)
Selected audio codec: [mp3] afm:mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
vo: X11 running at 640x480 with depth 24 and 32 bpp (":0.0" => local display)
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffodivx] vfm:ffmpeg (FFmpeg MPEG-4)
==========================================================================
Checking audio filter chain for 48000Hz/2ch/16bit -> 48000Hz/2ch/16bit...
AF_pre: af format: 2 bps, 2 ch, 48000 hz, little endian signed int
AF_pre: 48000Hz 2ch Signed 16-bit (Little-Endian)
alsa-init: requested format: 48000 Hz, 2 channels, Signed 16-bit (Little-Endian)
alsa-init: 1 soundcard found, using: hw:0,0
alsa1x: 48000 Hz/2 channels/4 bpf/65536 bytes buffer/Signed 16 bit Little Endian
AO: [alsa1x] 48000Hz 2ch Signed 16-bit (Little-Endian) (2 bps)
Building audio filter chain for 48000Hz/2ch/16bit -> 48000Hz/2ch/16bit...
Starting playback...
VDec: vo config request - 720 x 480 (preferred csp: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.50:1 - prescaling to correct movie aspect.
VO: [xv] 720x480 => 720x480 Planar YV12  [fs]
A:   0.4 V:   0.0 A-V:  0.365 ct:  0.000    1/  1   0%  0%  0.0% 0 0 98%
.
.
.


Here is the same comparison with a different file, a downloaded .avi:

On R5C7:

Code:
MPlayer 1.0pre6-3.3.5 (C) 2000-2004 MPlayer Team
CPU: Advanced Micro Devices Athlon MP/XP/XP-M Barton (Family: 6, Stepping: 0)
Detected cache-line size is 64 bytes
CPUflags:  MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0
Compiled with runtime CPU detection - WARNING - this is not optimal!
To get best performance, recompile MPlayer with --disable-runtime-cpudetection.


Try adding "echo 1024 > /proc/sys/dev/rtc/max-user-freq" to your system startup scripts.
Setting up LIRC support...
Playing The Baritones - S1 E01.avi.
AVI file format detected.
AVI_NI: No audio stream found -> no sound.
VIDEO:  [MP43]  352x240  24bpp  20.000 fps  474.7 kbps (57.9 kbyte/s)
vo: X11 running at 640x480 with depth 16 and 16 bpp (":0.0" => local display)
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffdivx] vfm:ffmpeg (FFmpeg DivX ;-) (MS MPEG-4 v3))
==========================================================================
Audio: no sound
Starting playback...
VDec: vo config request - 352 x 240 (preferred csp: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
VO: [xv] 352x240 => 352x240 Planar YV12
V:   0.0   1/  1 ??% ??% ??,?% 0 0                                                                       
.
.
.             


...and on the XBox:

Code:
MPlayer 1.0pre4-3.3.4 (C) 2000-2004 MPlayer Team

CPU: Intel Celeron 2/Pentium III Coppermine,Geyserville 734.1 MHz (Family: 6, Stepping: 10)
Detected cache-line size is 32 bytes
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 0
Compiled for Debian.
Reading config file /etc/mplayer/mplayer.conf
Reading config file /home/live/.mplayer/config
Reading /home/live/.mplayer/codecs.conf: Reading /etc/mplayer/codecs.conf: Using built-in default codecs.conf.
font: can't open file: /home/live/.mplayer/font/font.desc
Font /usr/share/mplayer/font/font.desc loaded successfully! (206 chars)
Try adding "echo 1024 > /proc/sys/dev/rtc/max-user-freq" to your system startup scripts.
Using usleep() timing
Input config file /etc/mplayer/input.conf parsed: 53 binds
Opening joystick device /dev/input/js0
Can't open joystick device /dev/input/js0 : No such file or directory
Setting up LIRC support...

Playing The Baritones - S1 E01.avi.

Cache fill:  0.00% (0 bytes)    AVI file format detected.
VIDEO:  [MP43]  352x240  24bpp  20.000 fps  474.7 kbps (57.9 kbyte/s)
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
MP3lib: init layer2&3 finished, tables done
AUDIO: 48000 Hz, 2 ch, 16 bit (0x10), ratio: 12000->192000 (96.0 kbit)
Selected audio codec: [mp3] afm:mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
vo: X11 running at 640x480 with depth 24 and 32 bpp (":0.0" => local display)
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffdivx] vfm:ffmpeg (FFmpeg DivX ;-) (MS MPEG-4 v3))
==========================================================================
Checking audio filter chain for 48000Hz/2ch/16bit -> 48000Hz/2ch/16bit...
AF_pre: af format: 2 bps, 2 ch, 48000 hz, little endian signed int
AF_pre: 48000Hz 2ch Signed 16-bit (Little-Endian)
alsa-init: requested format: 48000 Hz, 2 channels, Signed 16-bit (Little-Endian)
alsa-init: 1 soundcard found, using: hw:0,0
alsa1x: 48000 Hz/2 channels/4 bpf/65536 bytes buffer/Signed 16 bit Little Endian
AO: [alsa1x] 48000Hz 2ch Signed 16-bit (Little-Endian) (2 bps)
Building audio filter chain for 48000Hz/2ch/16bit -> 48000Hz/2ch/16bit...
Starting playback...
VDec: vo config request - 352 x 240 (preferred csp: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
VO: [xv] 352x240 => 352x240 Planar YV12  [fs]
A:   0.2 V:   0.0 A-V:  0.249 ct:  0.000    1/  1   0%  0%  0.0% 0 0 91%
.
.
.


I tried the "echo 1024 > /proc/sys/dev/rtc/max-user-freq" command with no change.

Anyone see what might be the issue here??


Top
 Profile  
 
 Post subject: found a workaround
PostPosted: Sun Aug 13, 2006 9:34 am 
Offline
Joined: Fri Jan 21, 2005 9:14 am
Posts: 124
Location: New York
For now I'm getting around the issue by using the internal player for mythvideo rather than mplayer as described in this thread:

http://mysettopbox.tv/phpBB2/viewtopic.php?t=3481

Basically, in

setup>media settings>video settings>player settings

change

Code:
/usr/bin/mplayer -fs -zoom -quiet -vo xv %s

to

Code:
Internal


Top
 Profile  
 
 Post subject: VIDEONAME.avi.conf
PostPosted: Sun Aug 20, 2006 11:41 am 
Offline
Joined: Wed Jul 14, 2004 9:20 pm
Posts: 7
Location: Franklin, MA
There is a post (sorry I found it last year so not sure where it is) that tells how to create under /home/mythtv/.mplayer directory configuration files to tell mplayer what audio track to play.

Filename format VIDEONAME.avi.conf or VIDEONAME.mpg.conf
(where video name has to be exact!)

These files contain one line;

aid=1

This is for english in my case. I have to do this for all .avi and .mpg files, without these no audio.

Hope this helps.

BTW - upgraded to R5C7 (X was corrupted on my build from last year) - painless and awesome thanks Cecil and friends!

_________________
Dell Optiplex GX260 - P4 2.4GHz, 768MB, PVR-250, (1) 120GB, (1) 200GB


Top
 Profile  
 
 Post subject:
PostPosted: Sun Aug 20, 2006 4:32 pm 
Offline
Joined: Fri Jan 21, 2005 9:14 am
Posts: 124
Location: New York
Thanks for the tip, it works perfectly.

Also - it turns out out that you can avoid creating a separate conf file for every avi file. Set up a command line especially for avi files as follows:

setup > media settings > videos settings > file types

extension: avi
command: /usr/bin/mplayer -aid 1 -fs -zoom -quiet -vo xv %s
use default: <unchecked>
ignore: <unchecked>

All avi files will then play with audio using this command.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jan 12, 2007 7:12 pm 
Offline
Joined: Wed Jan 10, 2007 1:04 pm
Posts: 5
This is still a problem with the latest Knoppmyth R5B7. An xvid video with mp3 audio in an .avi container won't play audio if the standard mplayer is used. Switching it to Internal works fine. Standard mp3 files and xvid with ac3 files play fine.

Is there a place where you can formally submit and search for bugs ala bugzilla?


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jan 12, 2007 8:01 pm 
Offline
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location: Arlington, MA
mesostinky wrote:
This is still a problem with the latest Knoppmyth R5B7.

KnoppMyth releases don't change after they're created, so that is only to be expected. The "latest" R5B7 is the original R5B7, which is a fairly old release.

The _latest_ public release is R5E50, the one before that is R5D1, and before that R5C7. Frankly, I think someone gave you some rather questionable advice.


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 9 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 11 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu