Re: [vdr] mplayer does not work properly

2007-08-19 Thread Pasi Juppo
Jakob Lenfers wrote:
 Pasi Juppo schrieb:
 
 [Video without sound]
 Video clips were using AC3. They have used to work fine so I downgraded
 to mplayer 1.0 pre 8 and now the audio gets passed through to the
 amplifier via FF card.
 
 I guess I've got a similar problem as you have: Sometimes I get only
 video, sometimes only audio! (on the same files, I can't find out when
 which happens.)
 
 But it all started after I upgraded accidently mplayer. :-( Does someone
 has a .deb against debian stable of 1.0pre8 so I don't have to compile
 it myself?

This problem is solved now. Solution was this simple. Change
mplayer.sh.conf AC3AOUT=-ac hwac3 to AC3AOUT=-ao mpegpes -ac hwac3.

Br, Pasi

___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


Re: [vdr] mplayer does not work properly

2007-03-27 Thread Jakob Lenfers
Pasi Juppo schrieb:

 [Video without sound]
 Video clips were using AC3. They have used to work fine so I downgraded
 to mplayer 1.0 pre 8 and now the audio gets passed through to the
 amplifier via FF card.

I guess I've got a similar problem as you have: Sometimes I get only
video, sometimes only audio! (on the same files, I can't find out when
which happens.)

But it all started after I upgraded accidently mplayer. :-( Does someone
has a .deb against debian stable of 1.0pre8 so I don't have to compile
it myself?

TIA, Jakob



___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


Re: [vdr] mplayer does not work properly

2007-02-26 Thread Pasi Juppo
Pertti Kosunen wrote:
 Pasi Juppo wrote:
 Now I got more log from SVN version of mplayer:

 [AO OSS] Can't set audio device /dev/dsp to ac3 output, trying s16le...
 AO: [oss] 48000Hz 2ch s16le (2 bytes per sample)
 [format] Sample format big-endian AC3 not yet supported
 [libaf] Reinitialization did not work, audio filter 'format' returned
 error code -2
 Couldn't find matching filter/ao format!
 
 Try to set different device in mplayer.sh.conf:
 AO=alsa:device=dmix
 
 This should work on both AC3  DTS:
 AC3AOUT=-afm hwac3

Neither did any good. In case of alse it would be using built in spdif
connecter where as I want to use DVB-C cards spdif output (I don't have
enough digital inputs and don't want to switch source unnecessarily).

Seems that this got broken in version 1.0 pre 10 of mplayer. Have to
check if there is patch or some other fix for this..

Br, Pasi

___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


Re: [vdr] mplayer does not work properly

2007-02-25 Thread Pasi Juppo
Pasi Juppo wrote:
 Niko Mikkila wrote:
 On Wed, 21 Feb 2007 22:58:57 +0200
 Pasi Juppo [EMAIL PROTECTED] wrote:

 Strange that it works fine on the server and both have the same setup of
 codecs. Have to check further.

 It could also be that the clip has AC3 or DTS audio, and MPlayer is
 configured to handle them in a different way (passthrough). Can't think
 of any other reason for the problem.
 
 Usually AC3 and DTS works just fine. Stream is sent to amplifier who
 decodes it. But, I need to check this further when I have more time..

Video clips were using AC3. They have used to work fine so I downgraded
to mplayer 1.0 pre 8 and now the audio gets passed through to the
amplifier via FF card.

The same mplayer.sh.conf works with pre8 but not with rc1. I added hwdts
to AC3 output configuration but this has nothing to do with AC3 anyway
and had not effect on the matter.

From the log that mplayer.sh produces I cannot find reason why it fails.

Br, Pasi

___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


Re: [vdr] mplayer does not work properly

2007-02-25 Thread Pasi Juppo
Pasi Juppo wrote:
 Pasi Juppo wrote:
 Niko Mikkila wrote:
 On Wed, 21 Feb 2007 22:58:57 +0200
 Pasi Juppo [EMAIL PROTECTED] wrote:

 Strange that it works fine on the server and both have the same setup of
 codecs. Have to check further.
 It could also be that the clip has AC3 or DTS audio, and MPlayer is
 configured to handle them in a different way (passthrough). Can't think
 of any other reason for the problem.
 Usually AC3 and DTS works just fine. Stream is sent to amplifier who
 decodes it. But, I need to check this further when I have more time..
 
 Video clips were using AC3. They have used to work fine so I downgraded
 to mplayer 1.0 pre 8 and now the audio gets passed through to the
 amplifier via FF card.
 
 The same mplayer.sh.conf works with pre8 but not with rc1. I added hwdts
 to AC3 output configuration but this has nothing to do with AC3 anyway
 and had not effect on the matter.
 
From the log that mplayer.sh produces I cannot find reason why it fails.

Now I got more log from SVN version of mplayer:

[AO OSS] Can't set audio device /dev/dsp to ac3 output, trying s16le...
AO: [oss] 48000Hz 2ch s16le (2 bytes per sample)
[format] Sample format big-endian AC3 not yet supported
[libaf] Reinitialization did not work, audio filter 'format' returned
error code -2
Couldn't find matching filter/ao format!


With pre8 version this error does not come.


Br, Pasi

___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


Re: [vdr] mplayer does not work properly

2007-02-25 Thread Pertti Kosunen

Pasi Juppo wrote:

Now I got more log from SVN version of mplayer:

[AO OSS] Can't set audio device /dev/dsp to ac3 output, trying s16le...
AO: [oss] 48000Hz 2ch s16le (2 bytes per sample)
[format] Sample format big-endian AC3 not yet supported
[libaf] Reinitialization did not work, audio filter 'format' returned
error code -2
Couldn't find matching filter/ao format!


Try to set different device in mplayer.sh.conf:
AO=alsa:device=dmix

This should work on both AC3  DTS:
AC3AOUT=-afm hwac3


___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


Re: [vdr] mplayer does not work properly

2007-02-22 Thread Pasi Juppo
Niko Mikkila wrote:
 On Wed, 21 Feb 2007 22:58:57 +0200
 Pasi Juppo [EMAIL PROTECTED] wrote:
 
 Strange that it works fine on the server and both have the same setup of
 codecs. Have to check further.
 
 It could also be that the clip has AC3 or DTS audio, and MPlayer is
 configured to handle them in a different way (passthrough). Can't think
 of any other reason for the problem.

Usually AC3 and DTS works just fine. Stream is sent to amplifier who
decodes it. But, I need to check this further when I have more time..


 Also, there seems to be DVD support in trunk version of the mplayer. Any
 idea whether mplayer plugin will support DVD in the near future?
 Have you tried the current support in mplayer.sh?

 No, I was under impression that DVD menu navigation is not supported.
 Have to recheck this too then.
 
 Well, there's no navigation support, but personally I prefer the MPlayer way 
 :)
 Don't know how it works with the MPlayer plugin though, that's why I asked.

Ah, you mean hardcore way. OK, it's not really bad but sometimes (well,
seldom actually) menus are good (varies a lot between movies).

I'll check this anyway again. I've been using DVD plugin but the picture
quality is far from good. I've been thinking of Xine with xinelibout due
to good deinterlace features but if mplayer supports this then I can
still use FF card with mpegpes output (I still have normal TV).

Br, Pasi

___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


Re: [vdr] mplayer does not work properly

2007-02-21 Thread Niko Mikkila
On Wed, 21 Feb 2007 20:32:02 +0200
Pasi Juppo [EMAIL PROTECTED] wrote:

 Hi,
 
 I have couple of video clips that fail to work properly via VDR. First
 ones playback is very jerky (23.976fps) via VDR but no problem played
 back on PC.

When playing back 24 fps video on an FF-card or any other PAL TV-output
device, jerkiness is quite expected. You need to speed up the playback
by a factor of 25/24~=1.0417, which can be done with the -speed option
in MPlayer. Audio pitch will rise slightly, so if that bothers you, use
an external LADSPA filter to compensate
(see: http://mark.santaniello.net/archives/260).

The NTSC/PAL speed setting should be handled automatically in the
mplayer.sh script, but have you configured NTSC=false in
mplayer.sh.conf?


 Second one does not play sound from the clip but the sound from the
 channel that was being viewed before playback.

MPlayer probably has problems with the audio codec used in the clip.
Updating to latest SVN could help. If not, try other players and
identify the audio codec. If the codec should be supported, take a look
at the mplayer -v output and perhaps upload a sample somewhere.


 I've tried mplayer.sh 0.8.6 and 0.8.7. mplayer itself is version 1.0rc1.
 Haven't tried trunk version because there did not seem to be fixes
 related to audio or jerkiness.

Did you actually read through the SVN logs from the last 4 months?
Quite an accomplishment. ;) Anyway, most of the codec-related stuff is
in FFmpeg/libavcodec, which is in a separate repository.


 Anyone else with similar problems?
 
 Also, there seems to be DVD support in trunk version of the mplayer. Any
 idea whether mplayer plugin will support DVD in the near future?

Have you tried the current support in mplayer.sh?


Regards,
Niko

___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


Re: [vdr] mplayer does not work properly

2007-02-21 Thread Niko Mikkila
On Wed, 21 Feb 2007 22:58:57 +0200
Pasi Juppo [EMAIL PROTECTED] wrote:

 Strange that it works fine on the server and both have the same setup of
 codecs. Have to check further.

It could also be that the clip has AC3 or DTS audio, and MPlayer is
configured to handle them in a different way (passthrough). Can't think
of any other reason for the problem.


  Also, there seems to be DVD support in trunk version of the mplayer. Any
  idea whether mplayer plugin will support DVD in the near future?
  
  Have you tried the current support in mplayer.sh?
 
 No, I was under impression that DVD menu navigation is not supported.
 Have to recheck this too then.

Well, there's no navigation support, but personally I prefer the MPlayer way :)
Don't know how it works with the MPlayer plugin though, that's why I asked.


Niko

___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr