Mailing List archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[vdr] Re: mplayer and mpeg4 ?!
- To: vdr@linuxtv.org
- Subject: [vdr] Re: mplayer and mpeg4 ?!
- From: Karsten Mueller <kmu@ratio.de>
- Date: Sun, 01 Sep 2002 22:32:26 +0200
- Content-transfer-encoding: quoted-printable
- Content-type: text/plain; charset=ISO-8859-1; format=flowed
- References: <200208301724.17061.office@brandstaetter.org> <3D6F9D35.80705@ratio.de> <200208302345.49236.office@brandstaetter.org> <200209012226.44955.ma.hoff@t-online.de>
- Reply-to: vdr@linuxtv.org
- Sender: vdr-bounce@linuxtv.org
- User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.1a) Gecko/20020610
Normally, mplayer itself does the best job on "guessing" what type the
avi is and what codec to use.
So I'd recommend to start with a "stripped down" version of
"mplayer.sh", like:
--------snip-----------
#!/bin/bash
mplayer -vo mpegpes -ao mpegpes $*
--------snap-----------
if this works, you could go and add other functionalities like scaling
and stuff :)
--
with best regards
---
Karsten Mueller
Softwaredevelopment / Keyaccount Manager
RATIO Entwicklungen GmbH
Admiralitaetstr. 59
20459 Hamburg
Email: mailto:kmu@ratio.de
Martin Hoffmann wrote:
> Hi,
>
> the mplayer.sh version 0.0.4 was written by me - and should work - however it
> might help if you send me the console output of the script - maybe scaling
> goes wrong ...
>
> However this is quite an old version and the new recommended method is as
> follows.
> Use my patch
> http://ma.hoff.bei.t-online.de/patches/mplayer/dvbscale_patch.diff
> to patch mplayer cvs and reduce mplayer.sh to one line:
> exec /usr/local/bin/mplayer -vo mpegpes -ao mpegpes -afm 9 -lircconf
> /video0/.lircrc -framedrop -vop
> lavc=2,expand=0:576:-1:-1:1,scale=0:0,dvbscale "$1" </dev/null ;
> (be sure to change -lircconf *** to your needs and drom -afm 9 if you do not
> like AC3 Audio via DVBs Card on SPDIF !)
>
> This should do the job - or at least does it for me !
>
> There are at least two advantages over the mplayer.sh 0.0.4 - this one scales
> every avi to full screen (or to full x and black bars - in case of cinema
> format) - and treats those avis created from dvb recordings (e.g. 480x576)
> which have in fact wrong aspect ratio specially by forcing them 4:3 full
> screen !
>
> So, i use this patched mplayer and simple mplayer.sh myself and have not found
> any avi that could not be displayed !
>
> However, i do not know if mplayer.sh must be modified for mpeg playback ...
>
> Martin.
>
> Am Freitag, 30. August 2002 23:45 schrieb Otto Brandstätter:
>
>>Am Freitag, 30. August 2002 18:28 schrieben Sie:
>>
>>>Otto Brandstätter wrote:
>>>
>>>>Good afternoon list !
>>>>
>>>>I have the following problem:
>>>>when using mplayer with vdr everything is fine, except when I try to
>>>>play mpeg4 files I created from vdr-files using mencoder.
>>>>I hear the sound, but my tv screen stays black.
>>>>It _seems_ as I could also seek within the files, but there is no
>>>>picture. I do not get error messages in console nor in
>>>>/var/log/messages I am using mplayer 0.90pre6-2.96, but I also tried
>>>>the cvs version. Also installed divx4linux501.
>>>>
>>>>Did anyone have similar problems ? Any hints ?
>>>>
>>>>Thanks a lot !
>>>>
>>>>Otto
>>>
>>>What does your mplayer.sh look like ?
>>
>>My mplayer.sh is: (this is a script i found somewhere in the internet...)
>>i suppose, this is not the problem...
>>
>>thanks for your help !
>>
>>Otto
>>
>
>
>
Home |
Main Index |
Thread Index