Duncan Webb wrote:

Richard you can simply send an ESC to df_xine
Attached is the help from df_xine

> John Molohan wrote:
> 
> Richard what about doing?
> config.XINE_COMMAND.split('/')[-1]
> Should return df_xine
> 
> See attached patch, what do you think?
> 
> Duncan
> 
>> Duncan Webb wrote:
>>> SourceForge.net wrote:
>>>   
>>>> Bugs item #1568856, was opened at 2006-10-01 18:59
>>>>     
>>> Take this out of the tracker until we have a solution.
>>>   
>> Cool.
>>> Hi John,
>>>   
>>>>> Comment By: John Molohan (johnmolohan)
>>>>>       
>>>> Date: 2006-10-11 15:39
>>>>
>>>> Message:
>>>> Logged In: YES 
>>>> user_id=774680
>>>>
>>>> Hi Duncan,
>>>>
>>>> ivtv_xine_tv.py (420): config.CONF.xine=/usr/bin/xine
>>>> ivtv_xine_tv.py (421):
>>>> config.XINE_COMMAND=/usr/local/src/DirectFB-extra-0.9.25/samples/df_xine/df_xine
>>>> ivtv_xine_tv.py (422): config.XINE_ARGS_DEF=-l 0 -d
>>>> ivtv_xine_tv.py (423): config.XINE_TV_VO_DEV=
>>>> ivtv_xine_tv.py (424): config.XINE_TV_AO_DEV=
>>>> ivtv_xine_tv.py (425):
>>>> config.XINE_TV_TIMESHIFT_FILEMASK=/home/media/livetv-
>>>>
>>>> This gives me the correct command for df_xine (I don't think
>>>> I've changed anything else)
>>>>
>>>> ChildApp.__init__(), pid=9309, app= /usr/local/bin/df_xine
>>>> -l 0 -d -V  -A  --stdctl pvr:///home/media/livetv-, poll=-1
>>>>     
>>> This is incorrect, isn't it?
>>>   
>>>     -V  , --version          display version information
>>>   
>> Yep.
>> [EMAIL PROTECTED] freevo-1.5]# df_xine -V
>> (*) DirectFB/Config: Parsing config file '/etc/directfbrc'.
>> df_xine 0.9.25 is a DirectFB frontend for xine-lib-1.1.2
>>
>> This doesn't seem to stop the command when the other correct arguments 
>> are passed as well which is a bit strange. Maybe it should be -v N, 
>> --verbosity=N      set verbosity level to N (minimum: 0, maximum: 2, 
>> default: 1)
>>
>>>     -l N, --layer=N          use layer N for video playback
>>>   
>> That's right, -l 0 in my case.
>>>         , --stdctl           turn on controlling xine over STDIN
>>>   
>> Yep.
>>>    -d  , --deinterlace      enable frame deinterlacing by default
>>>
>>> What happens when you run from the command line:
>>> df_xine -l 0 -d pvr:///home/media/livetv-
>>>
>>> does this then work?
>>>   
>> It does indeed.
>>> I can't run it at the moment, still not configured DirectFB :-(
>>>   
>> Bummer. Anything I could help with or is it a matter of free time? I 
>> have to say that I was expecting a bit of an ordeal setting all the 
>> stuff up again for my G400 but it was a breeze.
> 
> A matter of installing DirectFB-cvs and then DirectFB-0.9.25.1 and not
> installing libmpeg3 correctly.
> 
>>>   
>>>> ----------------------------------------------------------------------
>>>>
>>>> Comment By: Duncan Webb (duncanwebb)
>>>> Date: 2006-10-11 15:31
>>>>
>>>> Message:
>>>> Logged In: YES 
>>>> user_id=104395
>>>>
>>>> Hi John,
>>>>
>>>> With debugging turned on you should see at the very
>>>> beginning of your main log some XINE configuration stuff.
>>>>
>>>> Will you post these
>>>>
>>>> _debug_( 'config.CONF.xine=%s' % (config.CONF.xine) )
>>>> _debug_( 'config.XINE_COMMAND=%s' % (config.XINE_COMMAND) )
>>>> _debug_( 'config.XINE_ARGS_DEF=%s' % (config.XINE_ARGS_DEF) )
>>>> _debug_( 'config.XINE_TV_VO_DEV=%s' % (config.XINE_TV_VO_DEV) )
>>>> _debug_( 'config.XINE_TV_AO_DEV=%s' % (config.XINE_TV_AO_DEV) )
>>>> _debug_( 'config.XINE_TV_TIMESHIFT_FILEMASK=%s' %
>>>> (config.XINE_TV_TIMESHIFT_FILEMASK) )
>>>>
>>>> self.command = '%s %s -V %s -A %s --stdctl pvr://%s' % \
>>>> (config.XINE_COMMAND, config.XINE_ARGS_DEF,
>>>> config.XINE_TV_VO_DEV, \
>>>> config.XINE_TV_AO_DEV, config.XINE_TV_TIMESHIFT_FILEMASK)
>>>>
>>>> the self.command is incorrect for df_xine.
>>>>
>>>> Do you have a command line that works becuase this can then
>>>> be put into the plug-in.
>>>>
>>>> Duncan
>>>>     
>>>
>>> -------------------------------------------------------------------------
>>> Using Tomcat but need to do more? Need to support web services, security?
>>> Get stuff done quickly with pre-integrated technology to make your job 
>>> easier
>>> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
>>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>>> _______________________________________________
>>> Freevo-devel mailing list
>>> [email protected]
>>> https://lists.sourceforge.net/lists/listinfo/freevo-devel
>>>   
>>
>> -------------------------------------------------------------------------
>> Using Tomcat but need to do more? Need to support web services, security?
>> Get stuff done quickly with pre-integrated technology to make your job easier
>> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>> _______________________________________________
>> Freevo-devel mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/freevo-devel
>>
> 
> 
> ------------------------------------------------------------------------
> 
> Index: src/tv/plugins/ivtv_xine_tv.py
> ===================================================================
> --- src/tv/plugins/ivtv_xine_tv.py    (revision 8351)
> +++ src/tv/plugins/ivtv_xine_tv.py    (working copy)
> @@ -410,10 +410,7 @@
>          self.mode = 'idle'
>          self.start_flag = threading.Event()
>  
> -        if config.CONF.display in ('dfbmga', 'directfb', 'fbdev'):
> -            self.fbxine = True
> -        else:
> -            self.fbxine = False
> +        self.fbxine = config.XINE_COMMAND.split('/')[-1] in ('fbxine', 
> 'df_xine')
>  
>          _debug_( 'config.CONF.xine=%s' % (config.CONF.xine) )
>          _debug_( 'config.XINE_COMMAND=%s' % (config.XINE_COMMAND) )
> @@ -422,9 +419,13 @@
>          _debug_( 'config.XINE_TV_AO_DEV=%s' % (config.XINE_TV_AO_DEV) )
>          _debug_( 'config.XINE_TV_TIMESHIFT_FILEMASK=%s' % 
> (config.XINE_TV_TIMESHIFT_FILEMASK) )
>  
> -        self.command = '%s %s -V %s -A %s --stdctl pvr://%s' % \
> -            (config.XINE_COMMAND, config.XINE_ARGS_DEF, 
> config.XINE_TV_VO_DEV, \
> -            config.XINE_TV_AO_DEV, config.XINE_TV_TIMESHIFT_FILEMASK)
> +        if self.fbxine:
> +            self.command = '%s %s --stdctl pvr://%s' % \
> +                (config.XINE_COMMAND, config.XINE_ARGS_DEF, 
> config.XINE_TV_TIMESHIFT_FILEMASK)
> +        else:
> +            self.command = '%s %s -V %s -A %s --stdctl pvr://%s' % \
> +                (config.XINE_COMMAND, config.XINE_ARGS_DEF, 
> config.XINE_TV_VO_DEV, \
> +                config.XINE_TV_AO_DEV, config.XINE_TV_TIMESHIFT_FILEMASK)
>  
>  
>      def play(self):
> 
> 
> ------------------------------------------------------------------------
> 
> -------------------------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Freevo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/freevo-devel

Usage:  df_xine [options] MRLs...

    -h  , --help             show this help

    -V  , --version          display version information

    -v N, --verbosity=N      set verbosity level to N
                             (minimum: 0, maximum: 2, default: 1)

    -l N, --layer=N          use layer N for video playback
                             (default: auto)

    -p S, --pixelformat=S    set layer pixelformat to S
                             (default: auto)

    -b S, --buffermode=S     use buffermode S (single, double or triple)
                             (default: double)

    -d  , --deinterlace      enable frame deinterlacing by default
                             (default: disabled)

    -f S, --fieldparity=S    set output field parity to S (top or bottom)
                             (default: none)

    -a N, --aspect=N         override default aspect ratio (e.g. 4:3,1:1,..)
                             (default: don't override)

    -c S, --crop=S           crop video by top:bottom:left:right
                             (default: 0:0:0:0)

    -s  , --sync             wait for vertical retrace
                             (default: don't wait)

        , --no-scale         disable scaling the video
                             (default: enabled)

        , --enable-hwosd     enable hardware On Screen Display when available
                             (default: disabled)

    -r N, --repeat=N         repeat playlist N times
                             (default: 1)

    -R  , --recursive        repeat playlist infinite times

        , --stdctl           turn on controlling xine over STDIN

    Use:
        ESCAPE                          to quit
        EXIT                            to quit
        CONTROL      + RETURN           to toggle play/stop
        PLAY                            to toggle play/stop
        CONTROL      + p                to play prevoius mrl in playlist
        PREVIOUS                        to play prevoius mrl in playlist
        CONTROL      + n                to play next mrl in playlist
        NEXT                            to play next mrl in playlist
        CONTROL      + SPACE            to toggle pause mode
        PLAYPAUSE                       to toggle pause mode
        CONTROL      + CURSOR_RIGHT     to jump forward (+15 seconds)
        FORWARD                         to jump forward (+15 seconds)
        CONTROL      + CURSOR_LEFT      to jump backward (-15 seconds)
        BACK                            to jump backward (-15 seconds)
        CONTROL      + 0                to jump to  0% of video stream
        CONTROL      + 1                to jump to 10% of video stream
        CONTROL      + 2                to jump to 20% of video stream
        CONTROL      + 3                to jump to 30% of video stream
        CONTROL      + 4                to jump to 40% of video stream
        CONTROL      + 5                to jump to 50% of video stream
        CONTROL      + 6                to jump to 60% of video stream
        CONTROL      + 7                to jump to 70% of video stream
        CONTROL      + 8                to jump to 80% of video stream
        CONTROL      + 9                to jump to 90% of video stream
        CONTROL      + CURSOR_UP        to increase playback speed
        FAST                            to increase playback speed
        CONTROL      + CURSOR_DOWN      to decrease playback speed
        SLOW                            to decrease playback speed
        v            + CURSOR_RIGHT     to increase volume
        VOLUME_UP                       to increase volume
        v            + CURSOR_LEFT      to decrease volume
        VOLUME_DOWN                     to decrease volume
        b            + CURSOR_RIGHT     to increase brightness
        b            + CURSOR_LEFT      to decrease brightness
        b            + 0                to reset brightness
        c            + CURSOR_RIGHT     to increase contrast
        c            + CURSOR_LEFT      to decrease contrast
        c            + 0                to reset contrast
        s            + CURSOR_RIGHT     to increase saturation
        s            + CURSOR_LEFT      to decrease saturation
        s            + 0                to reset saturation
        h            + CURSOR_RIGHT     to increase hue
        h            + CURSOR_LEFT      to decrease hue
        h            + 0                to reset hue
        r            + 1                to set 'Square' aspect ratio
        r            + 2                to set '4:3' aspect ratio
        r            + 3                to set 'Anamorphic' aspect ratio
        r            + 4                to set 'DVB' aspect ratio
        r            + 5                to set 'Screen' aspect ratio
        r            + 0                to reset default aspect ratio
        z            + CURSOR_UP        to increase zoom factor
        z            + CURSOR_DOWN      to decrease zoom factor
        z            + 0                to reset zoom factor
        a            + CURSOR_LEFT      to select next audio channel
        a            + CURSOR_RIGHT     to select previous audio channel
        a            + 0                to reset default audio channel
        l            + CURSOR_RIGHT     to select next subtitles channel
        l            + CURSOR_LEFT      to select previous subtitles channel
        l            + 0                to reset default subtitles channel
        d            + 1                to force deinterlacing (top field first)
        d            + 2                to force deinterlacing (bottom field 
first)
        d            + 0                to reset automatic deinterlacing
        DELETE                          to hide OSD

    For DVD navigation use:
        F1                              to jump to menu
        F2                              to jump to Title menu
        F3                              to jump to Root menu
        F4                              to jump to Subtitles menu
        F5                              to jump to Audio menu
        F6                              to jump to Angle menu
        F7                              to jump to Part menu
        CURSOR_UP                       to move up
        CURSOR_DOWN                     to move down
        CURSOR_LEFT                     to move left
        CURSOR_RIGHT                    to move right
        RETURN                          to select
        PAGE_DOWN                       to go to next chapter
        PAGE_UP                         to go to previous chapter
        END                             to select angle next
        HOME                            to select angle previous
        0                               to enter number 0
        1                               to enter number 1
        2                               to enter number 2
        3                               to enter number 3
        4                               to enter number 4
        5                               to enter number 5
        6                               to enter number 6
        7                               to enter number 7
        8                               to enter number 8
        9                               to enter number 9
        PLUS_SIGN                       to add 10 to next entered number

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Freevo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-devel

Reply via email to