Multimedia command line - Slackware

This is a discussion on Multimedia command line - Slackware ; Eric Hameleers wrote: > > I had no problems compiling MPlayer on Slackware 12.1 > See http://www.slackware.com/~alien/slackbuilds/MPlayer/ for the > SlackBuild and a 12.1 package. Thanks, I'll check this out. Like I said, in the past, all I had to ...

+ Reply to Thread
Page 2 of 3 FirstFirst 1 2 3 LastLast
Results 21 to 40 of 42

Thread: Multimedia command line

  1. Re: Multimedia command line

    Eric Hameleers wrote:
    >
    > I had no problems compiling MPlayer on Slackware 12.1
    > See http://www.slackware.com/~alien/slackbuilds/MPlayer/ for the
    > SlackBuild and a 12.1 package.


    Thanks, I'll check this out. Like I said, in the past, all I had to
    do was "./configure", "make", and "make install" - then install the
    extra codecs.

    - Kurt

  2. Re: Multimedia command line

    Old Man wrote:
    >
    > Worked just fine for me, too. The slackbuilds stuff does include several
    > patches to mplayer, including one "Patch to account for linux-2.6.24.x
    > including ivtv, but MPlayer won't build against it." This may be the OP's
    > problem, and the SlackBuild script is yet another reason to thank Robby
    > Workman.


    Yea, I just downloaded it from the Mplayer website like I always have -

    I'll give slackbuild a shot this weekend.

    - Kurt

  3. Re: Multimedia command line

    On 2008-06-05, ~kurt wrote:
    >
    > ./configure
    > make
    >
    > Like I said, I haven't bothered to figure out what the problem is - here is
    > the output where make fails:
    >
    > cc -I../libavcodec -I../libavformat -Wdisabled-optimization -Wno-pointer-sign -W declaration-after-statement -I. -I.. -I../libavutil -Wall -Wno-switch -Wpointer- arith -Wredundant-decls -O4 -march=native -mtune=native -pipe -ffast-math -fomit -frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEF ILE64_SOURCE -DHAVE_CONFIG_H -I/usr/X11/include -I/usr/include/ -I/usr/include/ SDL -D_REENTRANT -I/usr/include/artsc -pthread -I/usr/include/glib-2.0 -I/usr/l ib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include -c -o vo_ivtv.o vo_ivtv.c
    > vo_ivtv.c: In function 'ivtv_reset':
    > vo_ivtv.c:79: error: storage size of 'sd' isn't known
    > vo_ivtv.c:80: error: storage size of 'sd1' isn't known
    > vo_ivtv.c:84: error: 'IVTV_STOP_FL_HIDE_FRAME' undeclared (first use in this fun ction)
    > vo_ivtv.c:84: error: (Each undeclared identifier is reported only once
    > vo_ivtv.c:84: error: for each function it appears in.)
    > vo_ivtv.c:87: error: 'IVTV_IOC_STOP_DECODE' undeclared (first use in this functi on)
    > vo_ivtv.c:97: error: 'IVTV_IOC_START_DECODE' undeclared (first use in this funct ion)
    > vo_ivtv.c:80: warning: unused variable 'sd1'
    > vo_ivtv.c:79: warning: unused variable 'sd'
    > make[1]: *** [vo_ivtv.o] Error 1
    > make[1]: Leaving directory `/usr/src/MPlayer-1.0rc2/libvo'
    > make: *** [libvo/libvo.a] Error 2
    >
    >
    > I'm going to look into this slackbuild thing....



    Yep, that's fixed by the 2.6.24.x patch we put in.


    Patch to account for linux-2.6.24.x including ivtv, but MPlayer won't
    build against it. See this link for more information and the origin
    of the patch:
    http://archives.free.net.ph/message/...47775e.en.html


    diff -Nur MPlayer-1.0rc2.orig/configure MPlayer-1.0rc2/configure
    --- MPlayer-1.0rc2.orig/configure 2007-10-07 14:49:33.000000000 -0500
    +++ MPlayer-1.0rc2/configure 2008-03-09 23:38:20.998568493 -0500
    @@ -4920,7 +4920,7 @@
    echores "$_dxr3"


    -echocheck "IVTV TV-Out"
    +echocheck "IVTV TV-Out (pre linux-2.6.24)"
    if test "$_ivtv" = auto ; then
    cat > $TMPC << EOF
    #include
    @@ -4928,7 +4928,13 @@
    #include
    #include
    #include
    -int main(void) { return 0; }
    +#include
    +int main(void) {
    +struct ivtv_cfg_stop_decode sd;
    +struct ivtv_cfg_start_decode sd1;
    +ioctl (0, IVTV_IOC_START_DECODE, &sd1);
    +ioctl (0, IVTV_IOC_STOP_DECODE, &sd);
    +return 0; }
    EOF
    _ivtv=no
    cc_check && _ivtv=yes


    It's in both the SlackBuilds.org repository and Eric's repository,
    so take your pick. :-)

    -RW

  4. Re: Multimedia command line

    On Wed, 4 Jun 2008, ~kurt wrote:

    >
    > Res wrote:
    >> On Tue, 3 Jun 2008, ~kurt wrote:
    >>
    >>> The only problem is I can't seem to compile it for SW12.1. Never had
    >>> any issues in the past - would compile just fine with a fresh SW install.

    >>
    >> This is interesting, can you paste the output of where it fails, though
    >> preferably do that on the mplayer list so we can take a closer look at
    >> it, also please include what you issue to configure.

    >
    > I didn't use any config options - just did as I always have:
    >
    > ./configure
    > make
    >
    > Like I said, I haven't bothered to figure out what the problem is - here is
    > the output where make fails:
    >
    > cc -I../libavcodec -I../libavformat -Wdisabled-optimization -Wno-pointer-sign -W declaration-after-statement -I. -I.. -I../libavutil -Wall -Wno-switch -Wpointer- arith -Wredundant-decls -O4 -march=native -mtune=native -pipe -ffast-math -fomit -frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEF ILE64_SOURCE -DHAVE_CONFIG_H -I/usr/X11/include -I/usr/include/ -I/usr/include/ SDL -D_REENTRANT -I/usr/include/artsc -pthread -I/usr/include/glib-2.0 -I/usr/l ib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include -c -o vo_ivtv.o vo_ivtv.c
    > vo_ivtv.c: In function 'ivtv_reset':
    > vo_ivtv.c:79: error: storage size of 'sd' isn't known
    > vo_ivtv.c:80: error: storage size of 'sd1' isn't known
    > vo_ivtv.c:84: error: 'IVTV_STOP_FL_HIDE_FRAME' undeclared (first use in this fun ction)
    > vo_ivtv.c:84: error: (Each undeclared identifier is reported only once
    > vo_ivtv.c:84: error: for each function it appears in.)
    > vo_ivtv.c:87: error: 'IVTV_IOC_STOP_DECODE' undeclared (first use in this functi on)
    > vo_ivtv.c:97: error: 'IVTV_IOC_START_DECODE' undeclared (first use in this funct ion)
    > vo_ivtv.c:80: warning: unused variable 'sd1'
    > vo_ivtv.c:79: warning: unused variable 'sd'
    > make[1]: *** [vo_ivtv.o] Error 1
    > make[1]: Leaving directory `/usr/src/MPlayer-1.0rc2/libvo'
    > make: *** [libvo/libvo.a] Error 2
    >
    >
    > I'm going to look into this slackbuild thing....



    Are you using ivtv? try ./configure --disable-ivtv


    --
    Cheers
    Res

    I read usenet and lists in pine. But m$ outlook, thunderbird and gmail
    often use html span/whatever for quotes, makes it hard to tell who said
    what, so I dont try. If I ignore you, thats why! Use a compliant mailer.

  5. Re: Multimedia command line

    Rick :
    > This is a multi-part message in MIME format.


    The above line and all else is annoying as hell.

    mplayer.

    --
    Every creature has within him the wild, uncontrollable urge to punt.

    www.websterscafe.com

  6. Re: Multimedia command line

    Rick wrote:
    > Does anyone know if the there are any programs that play video files
    > from the command line. I've found mpg321 for audio but I want to play
    > video.
    >
    > Thanks
    >
    > Rick
    >

    amp

  7. Re: Multimedia command line

    raf wrote:
    > Rick wrote:
    >> Does anyone know if the there are any programs that play video files
    >> from the command line. I've found mpg321 for audio but I want to play
    >> video.
    >>
    >> Thanks
    >>
    >> Rick
    >>

    > amp

    Sorry, amp play audio files.

  8. Re: Multimedia command line

    Res wrote:
    >
    > Are you using ivtv? try ./configure --disable-ivtv


    Hey, that worked - thanks. I don't know what ivtv is, so I guess I
    don't need it....

    - Kurt

  9. Re: Multimedia command line

    Robby Workman wrote:

    > It's in both the SlackBuilds.org repository and Eric's repository,
    > so take your pick. :-)


    Thanks guys - I just turned the feature off since it was the path of
    least resistance....

    Now I can watch pr0n again.

    - Kurt

  10. Re: Multimedia command line

    On Thu, 5 Jun 2008, ~kurt wrote:

    >
    > Res wrote:
    >>
    >> Are you using ivtv? try ./configure --disable-ivtv

    >
    > Hey, that worked - thanks. I don't know what ivtv is, so I guess I
    > don't need it....


    Good stuff, and it allows you to interface with a conexant tv card, I'm
    sure you'd know if you had it lol


    --
    Cheers
    Res

    I read usenet and lists in pine. But m$ outlook, thunderbird and gmail
    often use html span/whatever for quotes, makes it hard to tell who said
    what, so I dont try. If I ignore you, thats why! Use a compliant mailer.

  11. Re: Multimedia command line


    "jellybean stonerfish" wrote in message
    newsan.2008.06.04.01.10.17@geocities.com...
    > On Tue, 03 Jun 2008 23:17:03 +0100, Rick wrote:
    >
    >> Does anyone know if the there are any programs that play video files
    >> from the command line. I've found mpg321 for audio but I want to play
    >> video.
    >>
    >> Thanks
    >>
    >> Rick

    >
    >
    > Yes. Quite a few of them. What player do you use now? We can tell you
    > how to start it with a command.
    >

    I don't use one in linux cause I don't know whats there - gxine works
    (badly) on x11 but I dont want to use that (X11) I want to work from the
    command line.
    I am a windows user trying out linux (again) I am using Slackware from 3
    disks that i downloaded ages ago. They have 12 Slackware written on them but
    exactly what version it is I don't know.
    Thanks

    Rick



  12. Re: Multimedia command line

    On Tue, 10 Jun 2008 12:58:19 +0100, Rick wrote:

    >>> Does anyone know if the there are any programs that play video files
    >>> from the command line. I've found mpg321 for audio but I want to play
    >>> video.
    >>>
    >>> Thanks
    >>>
    >>> Rick

    >>
    >>
    >> Yes. Quite a few of them. What player do you use now? We can tell
    >> you how to start it with a command.
    >>

    > I don't use one in linux cause I don't know whats there - gxine works
    > (badly) on x11 but I dont want to use that (X11) I want to work from the
    > command line.
    > I am a windows user trying out linux (again) I am using Slackware from 3
    > disks that i downloaded ages ago. They have 12 Slackware written on them
    > but exactly what version it is I don't know. Thanks
    >
    > Rick


    IF by command line you mean you dont want to run x11. I believe you can
    run vlc in a terminal if you compile it with svga support. The same for
    mplayer.

    stonerfish

  13. Re: Multimedia command line


    Rick wrote :

    > They have 12 Slackware written on them but exactly what version it is
    > I don't know.


    Run 'more /etc/slackware-version' to check.
    --
    Thomas O.

    This area is designed to become quite warm during normal operation.

  14. Re: Multimedia command line

    -----BEGIN PGP SIGNED MESSAGE-----
    Hash: SHA1
    NotDashEscaped: You need GnuPG to verify this message

    * Rick writes:

    > Does anyone know if the there are any programs that play video files
    > from the command line. I've found mpg321 for audio but I want to
    > play video.


    mplayer with any of `directfb', `fbdev', `fbdev2', `aa', or `caca' video
    outputs. For example:

    mplayer -vo directfb dvd://1

    Oh, and mplayer plays audio fine too, so you don't really need
    mpg321. :-)

    --
    |---------------------|
    | Genius - Is the ability to reduce |
    | the complicated to the simple |
    |-------------------------------------|
    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v2.0.8 (GNU/Linux)
    Comment: The SXEmacs Project
    Comment: EMchat - The SXEmacs IM client

    iEYEARECAAYFAkhOmk8ACgkQHSfbS6lLMAN8OwCeMlsivNwX9V AtsUBqH4TxNunB
    t10An38JJkBUW44hcWqygx+Qp31Yb5kl
    =Qhve
    -----END PGP SIGNATURE-----

  15. Re: Multimedia command line

    "Rick" wrote:
    >I don't use one in linux cause I don't know whats there - gxine works
    >(badly) on x11 but I dont want to use that (X11) I want to work from the
    >command line.


    Errr, are you sure about that?

    The best "command line" environment you can possibly
    come up with is based on running X.

    Use one of the more basic window managers (FVWM2 is a
    great example), and you've got a fabulously rich command
    line environment.

    --
    Floyd L. Davidson
    Ukpeagvik (Barrow, Alaska) floyd@apaflo.com

  16. Re: Multimedia command line


    "Floyd L. Davidson" wrote in message
    news:87zlptuv9f.fld@apaflo.com...
    > "Rick" wrote:
    >>I don't use one in linux cause I don't know whats there - gxine works
    >>(badly) on x11 but I dont want to use that (X11) I want to work from the
    >>command line.

    >
    > Errr, are you sure about that?
    >
    > The best "command line" environment you can possibly
    > come up with is based on running X.
    >
    > Use one of the more basic window managers (FVWM2 is a
    > great example), and you've got a fabulously rich command
    > line environment.


    Can you explain this a bit deeper, also how do I change KDE (3.5) to FVWM2.

    Thanks

    Rick

    > Floyd L. Davidson
    > Ukpeagvik (Barrow, Alaska) floyd@apaflo.com




  17. Re: Multimedia command line


    "Rick" wrote in message
    news:keC3k.109488$_c7.23748@newsfe16.ams2...
    >
    > "Floyd L. Davidson" wrote in message
    > news:87zlptuv9f.fld@apaflo.com...
    >> "Rick" wrote:
    >>>I don't use one in linux cause I don't know whats there - gxine works
    >>>(badly) on x11 but I dont want to use that (X11) I want to work from the
    >>>command line.

    >>
    >> Errr, are you sure about that?
    >>
    >> The best "command line" environment you can possibly
    >> come up with is based on running X.
    >>
    >> Use one of the more basic window managers (FVWM2 is a
    >> great example), and you've got a fabulously rich command
    >> line environment.

    >
    > Can you explain this a bit deeper, also how do I change KDE (3.5) to
    > FVWM2.


    Found out how to change and Xfce looks good, but why is it a good command
    line environment.
    >
    > Thanks
    >
    > Rick
    >
    >> Floyd L. Davidson
    >> Ukpeagvik (Barrow, Alaska) floyd@apaflo.com

    >
    >




  18. Re: Multimedia command line

    On Tue, 10 Jun 2008 23:15:05 +0100, Rick wrote:

    >>> The best "command line" environment you can possibly come up with is
    >>> based on running X.
    >>>
    >>> Use one of the more basic window managers (FVWM2 is a great example),
    >>> and you've got a fabulously rich command line environment.

    >>
    >> Can you explain this a bit deeper, also how do I change KDE (3.5) to
    >> FVWM2.

    >
    > Found out how to change and Xfce looks good, but why is it a good
    > command line environment.


    Because you can open many terminal windows at once. The other way to do
    this is to use screen. Either of those is better than your standard
    terminals served up with ALT-(F1-F6).

    Richard James
    --
    sig fail on line -1

  19. Re: Multimedia command line


    "Richard James" wrote in message
    news:484f33ce$0$13947$afc38c87@news.optusnet.com.a u...
    > On Tue, 10 Jun 2008 23:15:05 +0100, Rick wrote:
    >
    >>>> The best "command line" environment you can possibly come up with is
    >>>> based on running X.
    >>>>
    >>>> Use one of the more basic window managers (FVWM2 is a great example),
    >>>> and you've got a fabulously rich command line environment.
    >>>
    >>> Can you explain this a bit deeper, also how do I change KDE (3.5) to
    >>> FVWM2.

    >>
    >> Found out how to change and Xfce looks good, but why is it a good
    >> command line environment.

    >
    > Because you can open many terminal windows at once. The other way to do
    > this is to use screen. Either of those is better than your standard
    > terminals served up with ALT-(F1-F6).


    Am I right in assuming that Xfce and FVWM etc don't use anything like the
    computer resources that kde uses.
    Why are terminals better than ALT-(F1-F6), I thought they were pretty good
    ( and are part of the reason I'm trying linux).

    Thanks

    Rick


    > Richard James
    > --
    > sig fail on line -1




  20. Re: Multimedia command line


    "Thomas Overgaard" wrote in message
    news:q7g2i5-ih3.ln1@news.inet.tele.dk...
    >
    > Rick wrote :
    >
    >> They have 12 Slackware written on them but exactly what version it is
    >> I don't know.

    >
    > Run 'more /etc/slackware-version' to check.

    Thanks - turned out to be 12.0.0.

    Rick

    > This area is designed to become quite warm during normal operation.




+ Reply to Thread
Page 2 of 3 FirstFirst 1 2 3 LastLast