vlc-0.8.6i (Lite - no gui)

Audio editors, music players, video players, burning software, etc.
Message
Author
User avatar
technosaurus
Posts: 4853
Joined: Mon 19 May 2008, 01:24
Location: Blue Springs, MO
Contact:

vlc-0.8.6i (Lite - no gui)

#1 Post by technosaurus »

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)

Code: Select all

vlc somemediafile
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
Last edited by technosaurus on Mon 18 May 2009, 00:26, edited 1 time in total.
Check out my [url=https://github.com/technosaurus]github repositories[/url]. I may eventually get around to updating my [url=http://bashismal.blogspot.com]blogspot[/url].

User avatar
Dingo
Posts: 1437
Joined: Tue 11 Dec 2007, 17:48
Location: somewhere at the end of rainbow...
Contact:

#2 Post by Dingo »

just tried (on Puppy 3.01) to open a file flv saved locally, this is output

Code: Select all

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

User avatar
technosaurus
Posts: 4853
Joined: Mon 19 May 2008, 01:24
Location: Blue Springs, MO
Contact:

#3 Post by technosaurus »

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 [url=https://github.com/technosaurus]github repositories[/url]. I may eventually get around to updating my [url=http://bashismal.blogspot.com]blogspot[/url].

User avatar
Dingo
Posts: 1437
Joined: Tue 11 Dec 2007, 17:48
Location: somewhere at the end of rainbow...
Contact:

#4 Post by Dingo »

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: Select all

        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

User avatar
technosaurus
Posts: 4853
Joined: Mon 19 May 2008, 01:24
Location: Blue Springs, MO
Contact:

#5 Post by technosaurus »

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 [url=https://github.com/technosaurus]github repositories[/url]. I may eventually get around to updating my [url=http://bashismal.blogspot.com]blogspot[/url].

User avatar
technosaurus
Posts: 4853
Joined: Mon 19 May 2008, 01:24
Location: Blue Springs, MO
Contact:

#6 Post by technosaurus »

dingo -> ldd /usr/lib/vlc/codec/libffmpeg_plugin.so

I am betting 3.01 had different ffmpeg
Check out my [url=https://github.com/technosaurus]github repositories[/url]. I may eventually get around to updating my [url=http://bashismal.blogspot.com]blogspot[/url].

User avatar
Dingo
Posts: 1437
Joined: Tue 11 Dec 2007, 17:48
Location: somewhere at the end of rainbow...
Contact:

#7 Post by Dingo »

technosaurus wrote:dingo -> ldd /usr/lib/vlc/codec/libffmpeg_plugin.so

I am betting 3.01 had different ffmpeg
this is ouput

Code: Select all

        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

User avatar
technosaurus
Posts: 4853
Joined: Mon 19 May 2008, 01:24
Location: Blue Springs, MO
Contact:

#8 Post by technosaurus »

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 [url=https://github.com/technosaurus]github repositories[/url]. I may eventually get around to updating my [url=http://bashismal.blogspot.com]blogspot[/url].

User avatar
mikeb
Posts: 11297
Joined: Thu 23 Nov 2006, 13:56

#9 Post by mikeb »

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

User avatar
Dingo
Posts: 1437
Joined: Tue 11 Dec 2007, 17:48
Location: somewhere at the end of rainbow...
Contact:

#10 Post by Dingo »

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: Select all

***************************************
* 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

User avatar
mikeb
Posts: 11297
Joined: Thu 23 Nov 2006, 13:56

#11 Post by mikeb »

/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.

User avatar
mikeb
Posts: 11297
Joined: Thu 23 Nov 2006, 13:56

#12 Post by mikeb »

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?

User avatar
technosaurus
Posts: 4853
Joined: Mon 19 May 2008, 01:24
Location: Blue Springs, MO
Contact:

#13 Post by technosaurus »

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
Attachments
xdotool.bz2
This will allow us to build a standalone GTK control GUI for any program that takes keyboard inputs
(9.66 KiB) Downloaded 994 times
Check out my [url=https://github.com/technosaurus]github repositories[/url]. I may eventually get around to updating my [url=http://bashismal.blogspot.com]blogspot[/url].

raffy
Posts: 4798
Joined: Wed 25 May 2005, 12:20
Location: Manila

boxpup

#14 Post by raffy »

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? [url=http://puppylinux.info/topic/freeoffice-2012-sfs]Get the sfs (English only)[/url].

User avatar
jrb
Posts: 1536
Joined: Tue 11 Dec 2007, 19:56
Location: Smithers, BC, Canada

#15 Post by jrb »

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

User avatar
mikeb
Posts: 11297
Joined: Thu 23 Nov 2006, 13:56

#16 Post by mikeb »

no mp4a support when viewing shoutcast tv stream.
anyone else experienced this?

mike

User avatar
abushcrafter
Posts: 1418
Joined: Fri 30 Oct 2009, 16:57
Location: England
Contact:

#17 Post by abushcrafter »

Please can you recompile this with Theora video support and can I have the flags you used please?

Code: Select all

--enable-theora
Did you also use these ones btw?

Code: Select all

--enable-faad --enable-real --enable-realrtsp --enable-tremor  --enable-tarkin --enable-dirac

User avatar
technosaurus
Posts: 4853
Joined: Mon 19 May 2008, 01:24
Location: Blue Springs, MO
Contact:

#18 Post by technosaurus »

I'll have to check and see if the flags are still in the config.log

I basically disabled everything that was not included in default puppy so that it would compile without adding a bunch of extra libs. As for the codecs I don't recall 100%, but most likely they are automatically enabled if present, so if you have the libs and DEV files it should automatically be enabled (except for patented codecs) unless specifically disabled.
Check out my [url=https://github.com/technosaurus]github repositories[/url]. I may eventually get around to updating my [url=http://bashismal.blogspot.com]blogspot[/url].

User avatar
abushcrafter
Posts: 1418
Joined: Fri 30 Oct 2009, 16:57
Location: England
Contact:

#19 Post by abushcrafter »

The reason I asked is all those codecs are disable by default.

Could I have a list of everything is not included in default puppy please?

User avatar
technosaurus
Posts: 4853
Joined: Mon 19 May 2008, 01:24
Location: Blue Springs, MO
Contact:

#20 Post by technosaurus »

I looked for my config.log and no luck, but the process was basically to enable everything (unless you know for sure that you don't want it), let the configure script do its checks and disable as necessary. If the configure script misses something and the build fails you may need to disable the offending feature then do make clean and make again.

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
as far as the other optimization flags go - they are in pet packaging 101
Check out my [url=https://github.com/technosaurus]github repositories[/url]. I may eventually get around to updating my [url=http://bashismal.blogspot.com]blogspot[/url].

Post Reply