Page 2 of 2

Posted: Tue 20 Apr 2010, 15:21
by dejan555
Hey, thought I'd mention I made a no-gui package for dpup (vlc 1.0.5) and since dpup already had many libraries inside it's lightweight (pet is about 2.5 MB) but still supports many formats, see here: http://murga-linux.com/puppy/viewtopic. ... 312#403312
I had to add few devel deb packages for some libs to get recognized and then compiled with whatever I could enable. Since it has no gui I made a tiny gtk launcher.
Does anyone know if there are any lightweight GTK frontends for it? You can also create rox right clicks.

BTW, here's a pic of my lousy frontend:

Image

Posted: Tue 20 Apr 2010, 18:47
by technosaurus
the only remaining (bad) gtk gui is --enable-pda otherwise you could make one using xdotool and gtkdialog (I still haven't had a chance to become proficient with xdotool)

xdotool is needed for sending keyevents although it may be possible using some advanced gtkdialog techniques

the gtkdialog tips thread has some other useful tips like finding the pid etc...

Posted: Tue 20 Apr 2010, 22:31
by abushcrafter
dejan555 wrote:Hey, thought I'd mention I made a no-gui package for dpup (vlc 1.0.5) and since dpup already had many libraries inside it's lightweight (pet is about 2.5 MB) but still supports many formats, see here: http://murga-linux.com/puppy/viewtopic. ... 312#403312
I had to add few devel deb packages for some libs to get recognized and then compiled with whatever I could enable. Since it has no gui I made a tiny gtk launcher.
Does anyone know if there are any lightweight GTK frontends for it? You can also create rox right clicks.

BTW, here's a pic of my lousy frontend:

Image
I quite like it.

Posted: Tue 20 Apr 2010, 22:32
by abushcrafter
technosaurus wrote:the only remaining (bad) gtk gui is --enable-pda
Wrong, it's very very bad :shock:.

Posted: Tue 20 Apr 2010, 22:34
by abushcrafter
technosaurus wrote: since there are so many this snippet may help (should give you a file called enable flags that you can edit & cut/paste)

Code: Select all

./configure --help |grep enable |cut -s -d " " -f 1 |tr "\n" " " >enableflags
You can do the same thing for "with" and add it to the file

Code: Select all

./configure --help |grep with|cut -s -d " " -f 1 |tr "\n" " " >>enableflags
I don't get this? (Need to lean bash!) Thanks for the info though.

Posted: Wed 21 Apr 2010, 11:45
by technosaurus
OOps - I forgot about the 2 spaces at the beginning

./configure --help |grep enable |cut -s -d " " -f 3 |tr "\n" " " >enableflags

#configure with the help parameter and pipe the output to...
#grep each line and return only those containing "enable" to pipe into
#cut the line into pieces with the cuts at each " " and return the 3rd piece to pipe into
#tr occurences of new line characters with spaces (turns a column to a line)
#output to file "enableflags" overwriting any existing of the same name

VLC-GTK 1.0

Posted: Thu 22 Apr 2010, 09:46
by sc0ttman
VLC-GTK - a frontend for vlc_nogui is here

Posted: Thu 22 Apr 2010, 17:20
by dejan555
Wow man, that's cool! 8)

Thanks for this will test it, it's much more complex then mine, dunno how it's related :P I just put few action buttons you added whole lotta tabbed options for managing favorites and saving settings and bring up console interface :)

BTW, should ticking "Enable fullscreen" start video in fullscreen immidietly?
That's one thing I noticed so far that didn't work for me.

Posted: Thu 22 Apr 2010, 17:58
by sc0ttman
dejan555 wrote:Wow man, that's cool! 8)
Thanks, glad you like it..
dejan555 wrote:BTW, should ticking "Enable fullscreen" start video in fullscreen immediately?
Yes, it works for me on 4.2, using technosaurus' vlc 0.8.6..
My GUI simply adds the '--fullscreen' option when vlc is executed..

Maybe open up /usr/bin/vlc-gtk and try changing the option on line 94 to '-f'...

Are you using the dpup version you posted (not 0.8.6.)?
Does your version play DVDs/Audio CDs? I couldn't get 0.8.6 to play them at all :(

Also, I can't get subtitles to work, either through my GUI or the terminal..

Also, my .rm and .rmvb files have no sound.. Does it need a re-compile for this?

I'm using 4.2 (TurboPup/Puppy Arcade) - and I wanna get RealMedia, DVDs and subtitles working!!

Help anyone?? I love this little player! :D

Posted: Thu 22 Apr 2010, 18:06
by dejan555
I'm using 1.0.5 on dpup 484 beta.

cd/dvd work and subtitles too

Subtitles: I use --sub-file /path/to/file
it complained about not loading ttf font in terminal first time for subtitles so I symlinked to existant one

For cd/dvd: is it recognized as /dev/dvd or /dev/cdrom I think it takes those as default, you can also try to pass --dvd-device /dev/sr0

(Actually here's what 1.0.5 version help says for devices:
--dvd <string> DVD device
--vcd <string> VCD device
--cd-audio <string> Audio CD device
--key-audiodevice-cycle <integer>
but i think 0.8.6 had same command --dvd-device as mplayer)

EDIT: It also plays .rm files here on dpup, compiled with support for it, I couldn't imagine it will play so much formats when I compiled it, I wanted it mainly for DVDs :lol:

Posted: Thu 22 Apr 2010, 18:35
by sc0ttman
Thanks for the info... Check out my post above.. I updated to 0.7, this should fix your fullscreen problem..

I have to check out dpup - sounds GOOD!

Posted: Thu 22 Apr 2010, 19:03
by dejan555
Thanks sc0tman, fullscreen now works but fails to start with subtitles choosen:
change --subfile to --sub-file ;)

Posted: Thu 22 Apr 2010, 20:34
by sc0ttman
dejan555 wrote:Thanks sc0tman, fullscreen now works but fails to start with subtitles choosen:
change --subfile to --sub-file ;)
Will do... But I think I made enough version for one day!! I'll post it tomorrow!

EDIT: vlc-gtk moved to its own thread...

Posted: Fri 23 Apr 2010, 14:00
by sc0ttman
Following dejan555s advice, I got subtitles and DVD/VCD playback working great..

The only problems remaining (that I care about) with 0.8.6 are the following:

1. No Audio CD playback.. I get

Code: Select all

[00000249] main input error: no suitable access module for `cdda://'
I get this on all my CDs, even when I specify the drive..

2. No audio on realmedia files such as .rm and .rmvb

I'm using 4.2 (TurboPup)... Any help people? I'm all out of ideas!

outdated vlc version

Posted: Sat 24 Apr 2010, 05:38
by flexxx
hi,

any specific reason you get stuck to vlc 0.8, while version 1 and beyond
has been released a good while ago!?

thxs
alex

Posted: Sat 24 Apr 2010, 08:20
by sc0ttman
any specific reason you get stuck to vlc 0.8, while version 1 and beyond has been released a good while ago!?
Yes.. It's the latest version that has been compiled for 4.2..
Other compiles (from dpup, for example) need a newer glibc, which is not found in most puppies..

I used this one because I didn't have all the DEV files (or the desire to find them) required to compile my own, updated version..

What exactly is better about the later versions? I'd be very happy with 0.8.6 if it was compiled with just a few more codecs supported (so we have working .rm, .rmvb, .m4a etc)

Posted: Sat 24 Apr 2010, 09:23
by lapis
sc0ttman wrote: I'd be very happy with 0.8.6 if it was compiled with just a few more codecs supported (so we have working .rm, .rmvb, .m4a etc)
Is this version compiled without m4a support? I am afraid I don't know enough about these things to tell but apparently there is some bug in VLC which prevents playback of m4a even if it should be able to. Could that be the situation here?