Author |
Message |
technosaurus

Joined: 18 May 2008 Posts: 4872 Location: Blue Springs, MO
|
Posted: Sun 17 May 2009, 14:02 Post subject:
vlc-0.8.6i (Lite - no gui) Subject description: no gui but <1.4MB |
|
I just compiled and stripped vlc-0.8.6i with no gui and it gets down small enough to fit in a forum post - it plays video extremely well though even on light hardware... you just need to use keyboard shortcuts (use CTRL+Q to exit or it will stay in the background)
TODO... I should probably remove the desktop file so it no longer does a menu entry and maybe set it as the default media player
Edit - see my second post for the deleted useless menu entry and set to defaultmediaplayer
_________________ Check out my github repositories. I may eventually get around to updating my blogspot.
Last edited by technosaurus on Sun 17 May 2009, 20:26; edited 1 time in total
|
Back to top
|
|
 |
Dingo

Joined: 11 Dec 2007 Posts: 1439 Location: somewhere at the end of rainbow...
|
Posted: Sun 17 May 2009, 15:06 Post subject:
|
|
just tried (on Puppy 3.01) to open a file flv saved locally, this is output
Code: | VLC media player 0.8.6i Janus
starting VLC root wrapper... using UID 0 (root)
***************************************
* Running VLC as root is discouraged. *
***************************************
It is potentially dangerous, and might not even work properly.
Remote control interface initialized. Type `help' for help.
[00000243] main decoder error: no suitable decoder module for fourcc `mpgv'.
VLC probably does not support this sound or video format.
[00000252] main decoder error: no suitable decoder module for fourcc `mpgv'.
VLC probably does not support this sound or video format.
[00000253] main decoder error: no suitable decoder module for fourcc `mpgv'.
VLC probably does not support this sound or video format.
[00000254] main decoder error: no suitable decoder module for fourcc `mpgv'.
VLC probably does not support this sound or video format.
[00000255] main decoder error: no suitable decoder module for fourcc `mpgv'.
VLC probably does not support this sound or video format.
[00000256] main decoder error: no suitable decoder module for fourcc `mpgv'.
VLC probably does not support this sound or video format.
[00000257] main decoder error: no suitable decoder module for fourcc `mpgv'.
VLC probably does not support this sound or video format.
[00000258] main decoder error: no suitable decoder module for fourcc `mpgv'.
VLC probably does not support this sound or video format.
[00000259] main decoder error: no suitable decoder module for fourcc `mpgv'.
VLC probably does not support this sound or video format.
[00000260] main decoder error: no suitable decoder module for fourcc `mpgv'.
VLC probably does not support this sound or video format.
[00000261] main decoder error: no suitable decoder module for fourcc `mpgv'.
VLC probably does not support this sound or video format.
[00000262] main decoder error: no suitable decoder module for fourcc `mpgv'.
VLC probably does not support this sound or video format.
[00000263] main decoder error: no suitable decoder module for fourcc `mpgv'.
VLC probably does not support this sound or video format.
[00000264] main decoder error: no suitable decoder module for fourcc `mpgv'.
VLC probably does not support this sound or video format.
[00000265] main decoder error: no suitable decoder module for fourcc `mpgv'.
VLC probably does not support this sound or video format.
[00000266] main decoder error: no suitable decoder module for fourcc `mpgv'.
VLC probably does not support this sound or video format.
status change: ( new input: /mnt/sda3/hda5/wget/sol_da_te_Vivaldi.flv )
status change: ( audio volume: 256 )
status change: ( play state: 1 )
[00000228] main playlist: nothing to play
status change: ( stop state: 0 ) |
_________________ replace .co.cc with .info to get access to stuff I posted in forum
dropbox 2GB free
OpenOffice for Puppy Linux
|
Back to top
|
|
 |
technosaurus

Joined: 18 May 2008 Posts: 4872 Location: Blue Springs, MO
|
Posted: Sun 17 May 2009, 15:35 Post subject:
|
|
Sorry should have mentioned it was compiled in 4.2....what does ldd /usr/bin/vlc say?
I'm uploading a new version that has no (useless) menu entry but will become the default media player (you may want to backup your /usr/local/bin/defaultmediaplayer file)
_________________ Check out my github repositories. I may eventually get around to updating my blogspot.
|
Back to top
|
|
 |
Dingo

Joined: 11 Dec 2007 Posts: 1439 Location: somewhere at the end of rainbow...
|
Posted: Sun 17 May 2009, 15:38 Post subject:
|
|
technosaurus wrote: | Sorry should have mentioned it was compiled in 4.2....what does ldd /usr/bin/vlc say?
|
ldd /usr/bin/vlc gives
Code: | linux-gate.so.1 => (0xffffe000)
librt.so.1 => /lib/librt.so.1 (0xb7f9a000)
libpthread.so.0 => /lib/libpthread.so.0 (0xb7f83000)
libdl.so.2 => /lib/libdl.so.2 (0xb7f7f000)
libsysfs.so.2 => /lib/libsysfs.so.2 (0xb7f75000)
libz.so.1 => /lib/libz.so.1 (0xb7f64000)
libm.so.6 => /lib/libm.so.6 (0xb7f3d000)
libc.so.6 => /lib/libc.so.6 (0xb7dfa000)
/lib/ld-linux.so.2 (0xb7fa3000) |
audio files seems played well (tried mp3)
_________________ replace .co.cc with .info to get access to stuff I posted in forum
dropbox 2GB free
OpenOffice for Puppy Linux
|
Back to top
|
|
 |
technosaurus

Joined: 18 May 2008 Posts: 4872 Location: Blue Springs, MO
|
Posted: Sun 17 May 2009, 15:44 Post subject:
|
|
hmmm... impressively small number of deps but not too helpful for your problem must be one or the plugins in /usr/lib/vlc (not sure which to run ldd on yet)
this may be helpful to others
Space Play/Pause
s Stop
+ Play faster
- Play Slower
t Position
n Next Item
p Previous Item
f Fullscreen
m Mute
Shift+Rt Arrow Forward 3 seconds
Shift+Lt Arrow Backward 3 seconds
Alt+Rt Arrow Forward 10 seconds
Alt+Lt Arrow Backward 10 seconds
Ctrl+q Quit
Ctrl+Up Arrow Volume up
Ctrl+Dn Arrow Volume down
Ctrl+Rt Arrow Forward 1 minute
Ctrl+Lt Arrow Backward 1 minute
Ctrl+p Select Previous DVD Title
Ctrl+n Select Next DVD Title
Ctrl+B Bookmarks
Ctrl+P Playlist
Ctrl+I Stream, Media Info
Ctrl+S Preferences
Ctrl+G Extended GUI
also I compiled it against libdvdnav so if you want to test out dvd navigation you'll need that (everything else was stock 4.2)
_________________ Check out my github repositories. I may eventually get around to updating my blogspot.
|
Back to top
|
|
 |
technosaurus

Joined: 18 May 2008 Posts: 4872 Location: Blue Springs, MO
|
Posted: Sun 17 May 2009, 15:46 Post subject:
|
|
dingo -> ldd /usr/lib/vlc/codec/libffmpeg_plugin.so
I am betting 3.01 had different ffmpeg
_________________ Check out my github repositories. I may eventually get around to updating my blogspot.
|
Back to top
|
|
 |
Dingo

Joined: 11 Dec 2007 Posts: 1439 Location: somewhere at the end of rainbow...
|
Posted: Sun 17 May 2009, 15:59 Post subject:
|
|
technosaurus wrote: | dingo -> ldd /usr/lib/vlc/codec/libffmpeg_plugin.so
I am betting 3.01 had different ffmpeg |
this is ouput
Code: | linux-gate.so.1 => (0xffffe000)
libpthread.so.0 => /lib/libpthread.so.0 (0xb7ee6000)
libpostproc.so.51 => /usr/lib/libpostproc.so.51 (0xb7ede000)
libavformat.so.51 => /usr/lib/libavformat.so.51 (0xb7e72000)
libavcodec.so.51 => /usr/lib/libavcodec.so.51 (0xb7bbe000)
libz.so.1 => /lib/libz.so.1 (0xb7bad000)
libmp3lame.so.0 => /usr/lib/libmp3lame.so.0 (0xb7b07000)
libdl.so.2 => /lib/libdl.so.2 (0xb7b03000)
libvorbisenc.so.2 => /usr/lib/libvorbisenc.so.2 (0xb7a06000)
libavutil.so.49 => /usr/lib/libavutil.so.49 (0xb7a00000)
libvorbis.so.0 => /usr/lib/libvorbis.so.0 (0xb79d7000)
libogg.so.0 => /usr/lib/libogg.so.0 (0xb79d2000)
libm.so.6 => /lib/libm.so.6 (0xb79aa000)
libc.so.6 => /lib/libc.so.6 (0xb7868000)
/lib/ld-linux.so.2 (0x80000000) |
_________________ replace .co.cc with .info to get access to stuff I posted in forum
dropbox 2GB free
OpenOffice for Puppy Linux
|
Back to top
|
|
 |
technosaurus

Joined: 18 May 2008 Posts: 4872 Location: Blue Springs, MO
|
Posted: Sun 17 May 2009, 17:50 Post subject:
|
|
you may need to recompile if you are up to it, so I am attaching my build ... let me know if you have any problems
./configure --disable-libmpeg2 --disable-wxwidgets --disable-skins2 --disable-nls --enable-dvdread --enable-release --prefix=/usr --build=i486-t2-linux-gnu --enable-run-as-root --enable-optimize-memory --disable-hal --enable-mostly-builtin --enable-cddax --enable-v4l --enable-real --enable-theora --disable-httpd
./compile
new2dir make install (choose option 3 to remove DEV and doc)
(in the ...486 folder you can delete /usr/share/vlc/ and run strip --strip-unneeded * on all of the files in /usr/lib/vlc/ to save space)
then run dir2pet on the ...486 folder
(feel free to run ./configure --help to find things that you don't want/need to disable ... and remove my --enable-* options as well)
_________________ Check out my github repositories. I may eventually get around to updating my blogspot.
|
Back to top
|
|
 |
mikeb

Joined: 23 Nov 2006 Posts: 11281
|
Posted: Mon 18 May 2009, 07:28 Post subject:
|
|
run vlc -v and perhaps delete the /root/.vlc/cache/plugins-blah.dat so it can redetect plugins.
Most vlc compilations have ffmpeg built in (to the binary?) so yes the shared avcodec is most likely the problem...perhaps kidnap a set of the libs from puppy 4.
mike
|
Back to top
|
|
 |
Dingo

Joined: 11 Dec 2007 Posts: 1439 Location: somewhere at the end of rainbow...
|
Posted: Mon 18 May 2009, 07:36 Post subject:
|
|
mikeb wrote: | run vlc -v and perhaps delete the /root/.vlc/cache/plugins-blah.dat so it can redetect plugins.
Most vlc compilations have ffmpeg built in (to the binary?) so yes the shared avcodec is most likely the problem...perhaps kidnap a set of the libs from puppy 4.
mike |
Code: | ***************************************
* Running VLC as root is discouraged. *
***************************************
It is potentially dangerous, and might not even work properly.
[00000001] main private warning: could not open plugins cache file /root/.vlc/cache/plugins-04041e.dat for reading
[00000001] main private warning: cannot load module `/usr/lib/vlc/codec/libffmpeg_plugin.so' (/usr/lib/vlc/codec/libffmpeg_plugin.so: undefined symbol: av_init_packet)
[00000001] main private warning: cannot load module `/usr/lib/vlc/access/libdvdnav_plugin.so' (libdvdnav.so.4: cannot open shared object file: No such file or directory)
[00000001] main private warning: cannot load module `/usr/lib/vlc/access/libcddax_plugin.so' (libcddb.so.2: cannot open shared object file: No such file or directory)
[00000001] main private warning: cannot load module `/usr/lib/vlc/access/libcdda_plugin.so' (libcddb.so.2: cannot open shared object file: No such file or directory)
[00000001] main private warning: config file /root/.vlc/vlcrc does not exist yet |
_________________ replace .co.cc with .info to get access to stuff I posted in forum
dropbox 2GB free
OpenOffice for Puppy Linux
|
Back to top
|
|
 |
mikeb

Joined: 23 Nov 2006 Posts: 11281
|
Posted: Mon 18 May 2009, 08:02 Post subject:
|
|
Quote: | /usr/lib/vlc/codec/libffmpeg_plugin.so: undefined symbol: av_init_packet) |
definately needs the later avcodec.
the other dependancies affect dvd (libdvdnav) and cd playpack (libcdda...)
mike.
|
Back to top
|
|
 |
mikeb

Joined: 23 Nov 2006 Posts: 11281
|
Posted: Mon 18 May 2009, 09:56 Post subject:
|
|
Ok had a play with this.
On puppy 4 may need libdvdnav adding....menus work fine when added.
I also tried this on puppy 2.02..copied libavcodec, libavformat, libavutil, libpostproc and libvorbisenc from puppy 4.12 et voila works a treat...so a similar approach should work for puppy 3.
(never liked that clumsy wxwidgets setup anyway...why didn't they just extend the skins2 interface?)
Only missing blah was no mp4a support when viewing shoutcast tv stream...odd cause I thought ffmpeg supported that.
Overall this has great potential
mike
ps I tried this by removing plugins but never worked very well...guess compiling this way is the way to go...also neater for those wanting the streaming server / transcoding function.
What about having ncurses for a basic user interface?
|
Back to top
|
|
 |
technosaurus

Joined: 18 May 2008 Posts: 4872 Location: Blue Springs, MO
|
Posted: Wed 20 May 2009, 20:24 Post subject:
|
|
found a way to make a gtk interface
http://www.semicomplete.com/projects/xdotool/ + GTKdialog
I found this which may be easier and allow for a similar interface to other pprograms that use gtkdialog
WID=`xdotool search --onlyvisible --name "vlc"`
xdotool windowfocus $WID
xdotool key s
(using the puppy control panel I previously wrote as a guide for the gtkdialog parts)
I am attaching my bz2 of the xdotool binary that I compiled ... probably should go in /usr/X11R7/bin if anyone else would like to play with it
Description |
This will allow us to build a standalone GTK control GUI for any program that takes keyboard inputs
|

Download |
Filename |
xdotool.bz2 |
Filesize |
9.66 KB |
Downloaded |
935 Time(s) |
_________________ Check out my github repositories. I may eventually get around to updating my blogspot.
|
Back to top
|
|
 |
raffy
Joined: 25 May 2005 Posts: 4843 Location: Manila
|
Posted: Thu 21 May 2009, 03:11 Post subject:
boxpup |
|
Using it now in boxpup 4.1.3 - great, simply great - thanks TZ.
(The playback can be played full screen with the maximize button.)
_________________ Puppy user since Oct 2004. Want FreeOffice? Get the sfs (English only).
|
Back to top
|
|
 |
jrb

Joined: 11 Dec 2007 Posts: 1327 Location: Smithers, BC, Canada
|
Posted: Fri 22 May 2009, 16:07 Post subject:
|
|
I have packaged the second version as ch-vlc_nogui-0.8.6.sfs. It will not become the defaultmediaplayer in any puplet except ChoicePup but it is on the right-click OpenWith menu. Highlight as many media files as you like, right click-OpenWith-vlc_mediaplayer and you have a playlist. Nicely done technosaurus.
Thanks, J
P.S. I created new MIME-types for mp4, flaac and ogg files. You can get them here:
ogg flac and mp4 mime-types
|
Back to top
|
|
 |
|