maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Nokia N800 (https://talk.maemo.org/forumdisplay.php?f=25)
-   -   Here is a working VLC Media Player!! (https://talk.maemo.org/showthread.php?t=14126)

bdogg64 2008-01-03 00:53

Re: Here is a working VLC Media Player!!
 
Quote:

Originally Posted by dan (Post 118851)
Detlev,

Thanks for the tips. I successfully added 'Y' and 'N' to x-terminal shortcuts. Unfortunately neither of your methods work. Have learned a loy though. lol, Dan

Hey Dan,

After you edit the file, you can use your stylus to press the CTRL-O on the bottom of the nano screen, which will also bring up the keyboard that will allow you to press the Y key to save. Hope this helps

B

dan 2008-01-03 15:03

Re: Here is a working VLC Media Player!!
 
bdogg64,

I tried that with dblank's suggestion. It just doesn't work. I will have to wait for your update. When you do the update can you add the yellow/white cone icon to the extras menu. :)

Thanks, Dan

qole 2008-01-03 19:55

Re: Here is a working VLC Media Player!!
 
I want VLC to stream the camera output. As Serge has commented, mplayer does a good job with video playback on the IT, but VLC is the best program for making your system into a video streaming server.

The peekaboo project were using VLC to stream the camera. It worked really well. I was able to run the command below and it would stream video from the camera to the Internet. However, they only compiled VLC for OS2007.

This version of VLC doesn't seem to work to stream video out using the command that Peekaboo used.

Here's the command that Peekaboo was using to stream out video through VLC (modified slightly to hard code the parameters and let me see the errors):

vlc -Idummy v4l:/dev/video0:size=qcif --no-sout-audio --sout "#transcode{vcodec=WMV2, fps=12, vb=192}:duplicate{dst=dst, dst=std{access=http, mux=asf, url=0.0.0.0:8888}}"

VLC returns the following errors:
...
[00000273] main private error: no sout stream module matched "dst"
...
[00000265] main input error: no suitable access module for 'v4l:/dev/video0:size=qcif'
[00000250] main playlist: nothing to play

Anyone have any ideas?

PS: The VLC script that Peekaboo uses in OS2007 has the following line, which causes an error in OS2008. As far as I can tell from Googling, OS2007 used this library to access the network, while OS2008 doesn't need this library. However, this might be important for the discussion at hand.

export LD_PRELOAD=/usr/lib/libosso-ic-preload.so

EDIT: I inserted spaces after the commas in my command above, because if I didn't, ITT would randomly insert spaces elsewhere. When testing the command line, remove the spaces after the commas.

computerfreek 2008-01-04 14:23

Re: Here is a working VLC Media Player!!
 
Quote:

Originally Posted by qole (Post 120140)
I want VLC to stream the camera output. As Serge has commented, mplayer does a good job with video playback on the IT, but VLC is the best program for making your system into a video streaming server.

.

I have also tested this with every codec there is listed and it still will not work .

1st it looks like it will not see the camera

2nd i also tested streaming just a video file . It will stream a video but audio only . No video. no matter what codec you use. you can test this by turning on the web interface of vlc player . then play around in .

It looks like maybe vlc is missing the full list of codecs in the confi file.

But as for the camera it's always the same errors .

.

If you like to stream video from os 2008 the only program i found to work is motion/with https server .

for motion to work on 2008 it seems like you have to shut off SIP accounts .. And also it seems like it will onle start the camera from a fresh reboot . but it works good. you can even view in IE if you use java app to view it embeded on a webpage. http://www.internettablettalk.com/fo...ht=motion+http
you can check it out there.

bdogg64 2008-01-05 19:00

Re: Here is a working VLC Media Player!!
 
New deb soon!

lokidor 2008-01-06 19:41

Re: Here is a working VLC Media Player!!
 
Hi everyone,

I have a little private web server running with a vod service based on vlc.

I use the "application/x-vlc-plugin" in a php page to view and control my videos.

So naturally I tried to use it on my N810 but has expected it does not works because the VLC plug-in is not implemented.

With all the informations of this thread I was able to compile VLC with the "--enable-mozilla" option on my scrachbox.

I downloaded the latest gecko source and give the path to gecko sdk folder with "--with-mozilla-sdk-path".

I only import the compiled libvlcplugin.so file to the right folder on my N810 and the about:plugin page show that :

http://img215.imageshack.us/img215/3...9561zp6.th.png

As you can see the plug-in seems to be supported by microB, but when I try to use it I have only a blank screen as without the plug-in.

As I only import the plug-in and don't install the whole compiled VLC so I assume there are some missing libraries or maybe the gecko sources are not usable as microB has some implementations.

Not being an expert of vlc and for the making of debian packages I did not push further my investigations.

Would it be possible to have a deb pakage compiled with this extension ?

LoKiDoR

lassileevi 2008-01-16 14:42

Re: Here is a working VLC Media Player!!
 
Which GUI module is it shown in the screenshot? Is it available on standard VLC, or is this an additional GUI module that you are using? (And which configuration option should be enabled to get this for my VLC build?)

lokidor 2008-01-16 19:51

Re: Here is a working VLC Media Player!!
 
Hello,

The plugin for mozilla browser is available if vlc is compiled with the --enable-mozilla option.

That is not the case in the vlc deb package for OS2008, so I tried to compile vlc with the good option.

Since my previous post, I succeed to build my own deb package with the plugin and installed it in order to prevent the broken libraries.

It seems that microB has some specific implementations because my plugin is unusable.

You can see it on the plug-in list but that's all.

qole 2008-01-21 18:04

Re: Here is a working VLC Media Player!!
 
I'm going to ask again for a VLC build for OS 2008 with working camera support & video streaming. The Peekaboo project had it working in OS 2007, so I can't imagine it is that difficult. But I might be wrong.

Please, someone, try building the "vlc_3rdpartylibs" from the Peekaboo project download page

EDIT: 'free' built the "vlc_3rdpartylibs" for me, and, sadly, they don't include the VLC binaries. I guess you have to rebuild the whole project.

qole 2008-01-24 18:21

Re: Here is a working VLC Media Player!!
 
VLC for Maemo is dead in the water again, isn't it?

bdogg64 2008-01-25 06:10

Re: Here is a working VLC Media Player!!
 
Maybe so... I dont have the time to develop vlc for the maemo platform. Hopefully someone else who really likes vlc will get it more natively working because we know it can work on the nokia internet tablet.

XooH 2008-01-29 20:39

Re: Here is a working VLC Media Player!!
 
Hi... The link expired. Could you repost one ?
If I'm able to install it, I'll try to test it with the French DSL TV provider "free.fr"; they make the TV streams available to computers on subscriber's LAN through VLC... See what I mean ?
XooH

qole 2008-02-06 00:08

Re: Here is a working VLC Media Player!!
 
Quote:

Originally Posted by bdogg64 (Post 133436)
Maybe so... I dont have the time to develop vlc for the maemo platform. Hopefully someone else who really likes vlc will get it more natively working because we know it can work on the nokia internet tablet.

bdogg64, could you take your empty VLC project off of the Garage, please? If you manage to get a working compile of VLC, maybe you can open the VLC project again on the Garage.

realjobe 2008-02-10 11:38

Re: Here is a working VLC Media Player!!
 
Dear Board.

I read the whole thread through about VLC player, but I did not understand will this VLC player work with N770.

The hardware is N770 but I'm using "Nokia N770 Hacker edition 4.2007.46-3" just the Official "OS 2006 Edition version 3.2006.49-2"

Is there any way to get VLC player to work. I have Linux running the VLC "server" to transcode. :)

St00pidChicken 2008-02-18 18:32

Re: Here is a working VLC Media Player!!
 
So... is this dead for the N8*0 with OS2008? All of the other VLC posts seem too old to be for OS2008, and this one also seems to be for OS2007, but I never seemed to find anything in this post that stated the tablet requirements.

bdogg64 2008-02-19 03:20

Re: Here is a working VLC Media Player!!
 
The version of the vlc player is for OS2008.

I can't upload the deb to the garage because its larger than 10 MB, and I haven't put it up anywhere to host. Maybe if I get the guide together one of these days someone else who is more into development can take it over

XooH 2008-02-20 07:33

Re: Here is a working VLC Media Player!!
 
Hi. I've setup an FTP server for you to put it there.
I'd like to :
- test it
- see if I can manage the project with you, with others, so we could have a VLC client running for the N8xx
Could you contact me by mail (xooh AT free.fr) ?
thx,
XooH

tagazok 2008-04-08 20:36

Re: Here is a working VLC Media Player!!
 
youhou, any news for a deb ? :)
Xooh, si t'as reussi a récupérer le deb, tu pourrais le mettre quelque part stp?
Moi aussi j'ai la freebox qui me démange :p

XooH 2008-04-08 21:55

Re: Here is a working VLC Media Player!!
 
No news so far :-(

tagazok 2008-04-09 09:59

Re: Here is a working VLC Media Player!!
 
no news, sad news?

qole 2008-04-15 00:09

Re: Here is a working VLC Media Player!!
 
bdogg64, you can post your source etc. to Garage, just break your archive into pieces. I noticed that the Peekaboo guys used rar and the VMWare Appliance guys used 7zip to do this.

I just want v4l2 support enabled in maemo vlc...

I tried and failed to build the Peekaboo version of VLC; it failed with a bunch of "undefined reference to 'hal_..." errors in libvlc.c ...

Jari K 2008-05-15 10:14

Re: Here is a working VLC Media Player!!
 
If you don't need GUI, you could try this one:

https://www.ist-anemone.eu/index.php...ideo_streaming

lokidor 2008-05-15 17:53

Re: Here is a working VLC Media Player!!
 
Jari, did you succeed on transcoding the video from the webam ?

I'm currently in the testing of my own deb packages and I could not get it working without a patch that I sent on the vlc-devel mailing list.

I saw that your patches have been merged in the vlc-git.
I sent another corrective patch to enable these optimisations for xvideo output because it works only with x11.

And good news for vlc users on mameo :

http://code.google.com/soc/2008/vide...CA244780A507AB


Lokidor

qole 2008-05-15 17:55

Re: Here is a working VLC Media Player!!
 
That one's useless to me; it looks like that one has no transcoding capabilities. It says that they disabled streaming at compile time(!) I have no idea why a group focussed on streaming would compile a version of VLC with no streaming / transcode capabilities.

See, VLC isn't a very good media player on the tablet. Unlike maemo mplayer, it has very few playback optimizations. If you take away its streaming abilities, what is it good for?

lokidor 2008-05-15 18:29

Re: Here is a working VLC Media Player!!
 
It seems that some filters are broken or disabled in vlc-git, the code still needs some works and unfortunately only vlc-git can deal with this webcam.

I'm working on producing deb packages with this capablity enabled and with a working mozilla plugin.

qole 2008-05-15 18:42

Re: Here is a working VLC Media Player!!
 
Ok, if someone with some mad compiling skillz wants to take a run at this in the future, what I need is a v0.9x (development) version of VLC with v4l2 and sout / transcoding enabled.

If, with your VLC, the following command streams video from the tablet on port 7070, then you're my hero.

Code:

vlc -Idummy v4l2://dev/video0:chroma=RV16:size=qcif :sout="#transcode{vcodec=WMV2,fps=10,vb=196}:duplicate{dst=dst,dst=std{access=http,mux=asf,dst=:7070}}"
I don't even need a .deb, just a tarball will do.

lokidor 2008-05-16 07:39

Re: Here is a working VLC Media Player!!
 
You can try my packages here :

http://manupap1.free.fr/maemo/chinook/

You will need some libs from the extra repository.

The transcoding of the camera should work with the minimum installation (libvlc0 and vlc-nox).

I built the qt4 gui in a separate package, you can try it, it's pretty usable excepted the windows settings.

The mozilla plugin should work under microb, but it will crash vlc if the windows dimensions defined in the html page are too high (640x480), 320x240 is better.

I tested the installation on my n810 with the installation manager in blue pill mode, I hope it works on n800 too.

qole 2008-05-19 07:06

Re: Here is a working VLC Media Player!!
 
lokidor: you're the Maemo VLC GSoC guy! Good luck, God speed, and make sure you look at what the maemo mplayer team have done to optimize things! Serge is the guru to PM about that.

I've downloaded your packages; I'll try them soon...

lokidor 2008-05-19 08:29

Re: Here is a working VLC Media Player!!
 
Sorry but I'm not the GSoC 2008 student.
I finished studies for 5 years already, I'm just an impatient...
You can follow the project here, according to the planning he will start by the 16 of june :
http://wiki.videolan.org/SoC_2008/Ne...face_for_Maemo

Jari K 2008-05-19 09:11

Re: Here is a working VLC Media Player!!
 
Hi lokidor,

nice to hear that there are people working on better VLC for Maemo! I tried your version and here's some observations:

While installing vlc-nox, I got complaints about missing libogg0 although I certainly installed it from the Maemo Extras. Here's what dpkg said:

vlc-nox depends on libogg0 (>= 1:1.1.3); however: Version of libogg0 on system is 1.1.3-2

"dpkg -i --force-depends" helped me through this problem.

What I need is video streaming input+playback (yes cole, there's someone who needs VLC for this :) so I tried only vlc-nox. However, it said "fb video output error: cannot get terminal mode (Invalid argument)". So I guess vlc-nox really doesn't have any X? :) What I would propose instead is to have packages:
  • vlc-cli: command line version which uses X for playback
  • vlc-qt: QT
  • vlc-wx: WxWidgets
  • ...

So the first one would match the ANEMONE version and the rest would add some GUI stuff. The rationale for this is that Maemo has X anyway (unless you get rid of it somehow :) but on the other hand QT/wx/... have some requirements for space etc. so you might want to avoid installing them. What I would propose also is that the WxWidgets version wouldn'd depend on QT version, if possible.

- Jari

lokidor 2008-05-19 19:22

Re: Here is a working VLC Media Player!!
 
Hi Jary,

Good point, the packages are built with the libogg0 version of Tuomas Kulve repository, I will fix it.

For the packaging as I'm not an expert and I have not a lot of imagination, I used as an example the debian/* files from the debian websvn tree (http://svn.debian.org/wsvn/pkg-multi...an/?rev=0&sc=0)

This is perhaps not actually the best suited method to the tablet.

The WxWidgets package depends on the QT one because the xvideo/x11 plugins are provided with the QT package, move these plugins in a vlc-cli package (ex vlc-nox) should do the trick.

This perhaps the best compromise size / features, I will work in this direction.

Lokidor

qole 2008-05-20 00:43

Re: Here is a working VLC Media Player!!
 
Quote:

Originally Posted by Jari K (Post 183197)
What I need is video streaming input+playback (yes cole, there's someone who needs VLC for this :)

Hi Jari,

Why would you use VLC for this when either mplayer or the built-in media player can both do a better job of it? If the current released mplayer is inadequate for you, try one of the mplayer rc2 builds (like Bundyo's), which have better support for various video types...

Is there a particular use-case where VLC is superior at playing a video stream?

EDIT: I just realized that sounded like I'm trying to start a fight or something. I'm not; I'm actually very curious.

qole 2008-05-20 00:54

Re: Here is a working VLC Media Player!!
 
Quote:

Originally Posted by lokidor (Post 183195)
Sorry but I'm not the GSoC 2008 student.

Sorry, I made that assumption when I read your web page:

Quote:

Pending the works that will be done this summer as part of the GSoC, you will find HERE some packages built with current development branch of VLC (0.9.0-git).
It sounded like you were doing this as part of the GSoC.

Jari K 2008-05-20 07:02

Re: Here is a working VLC Media Player!!
 
Quote:

Originally Posted by qole (Post 183468)
Why would you use VLC for this when either mplayer or the built-in media player can both do a better job of it? If the current released mplayer is inadequate for you, try one of the mplayer rc2 builds (like Bundyo's), which have better support for various video types...

Is there a particular use-case where VLC is superior at playing a video stream?

Not that VLC is superior, but I'm working in research world, and it is not the first priority to do something that is fully optimised, but show what we wanted to do and optimise it later if it was something that you would really like to have. In practice there is often legacy stuff (patches, scripts and other knowledge) that you have developed for other platforms (laptops and other PDAs), and you have to consider which is easier, porting those to other players or getting a VLC for your new platform. I tested mplayer when we got our first 770 and at that phase it seemed hopeless, so we compiled VLC and optimised it a bit. VLC wasn't very stable and well performing on 770, but it did its job and now that we have N8x0 its actually pretty OK.

Quote:

Originally Posted by qole (Post 183468)
EDIT: I just realized that sounded like I'm trying to start a fight or something. I'm not; I'm actually very curious.

Ok :D

Jari K 2008-05-20 07:18

Re: Here is a working VLC Media Player!!
 
Quote:

Originally Posted by lokidor (Post 183349)
For the packaging as I'm not an expert and I have not a lot of imagination, I used as an example the debian/* files from the debian websvn tree (http://svn.debian.org/wsvn/pkg-multi...an/?rev=0&sc=0)

I didn't give too much thought to my proposal either, but this is work in progress anyway, so we can test things and try to see what's the best solution :) Keep on with the good work!

- Jari

lokidor 2008-05-20 09:18

Re: Here is a working VLC Media Player!!
 
My webpage was a little confused, I have corrected.

It seems that the error "fb video output error: cannot get terminal mode (Invalid argument)" has no link with X.
The framebuffer output should be available without X.
As the framebuffer plugin is present inside vlc-nox, we should be able to use it without install the vlc package.
I tried with vlc 0.8.6 / vlc 0.9.0 / with X / without X and I always get this error.
I googleized it and it seems that a number of people have faced the same error with vlc, I noticed some solutions but they failed.

Lokidor

qole 2008-05-21 01:31

Re: Here is a working VLC Media Player!!
 
I haven't tried it yet, but tz1 managed to get the camera working as a v4l1 device as part of an effort to get it working with Flash. This would make the current VLC releases work with our camera, instead of having to compile the developer versions.

EDIT: Benson tipped me off to that post.

qole 2008-05-21 05:32

Re: Here is a working VLC Media Player!!
 
Ok, I tried standard Debian VLC with the tz1 hack; I couldn't get it to work.

I got the lokidor version to transmit video from the tablet (for the first time since Peekaboo and OS2007) with the following command:

Code:

vlc -Idummy v4l2://dev/video0:chroma=RV16:size=qcif :sout="#transcode{vcodec=WMV2,fps=10,vb=196}:duplicate{dst=std{access=http,mux=asf,dst=:7070}}"
VLC complains about problems, however. Like most software (except gstreamer), it can't find the mic, and it even says that it can't find the video...?

The "failed to wait" problems continue as long as the camera is streaming. I think these are the buffer errors that are inherent in the camera's driver.

Quote:

[00000363] main generic: creating httpd
[00000369] v4l2 demux error: cannot open video device (No such file or directory)
ALSA lib pcm.c:2144:(snd_pcm_open_noupdate) Unknown PCM dev/video0
[00000369] v4l2 demux error: cannot open device dev/video0 for ALSA audio (No such file or directory)
[00000369] v4l2 demux error: cannot open device dev/video0 for OSS audio (No such file or directory)
[00000369] v4l2 demux error: Failed to wait (VIDIOC_DQBUF)
[00000369] v4l2 demux error: Failed to wait (VIDIOC_DQBUF)
[00000369] v4l2 demux error: Failed to wait (VIDIOC_DQBUF)
[00000369] v4l2 demux error: Failed to wait (VIDIOC_DQBUF)
[00000369] v4l2 demux error: Failed to wait (VIDIOC_DQBUF)

luis-garcia 2008-05-21 06:08

Re: Here is a working VLC Media Player!!
 
how the heck u guys downloaded this? both of the links are not working

qole 2008-05-21 17:21

Re: Here is a working VLC Media Player!!
 
Well, the streaming is quite slow, maybe 5 fps, and WMP just keeps buffering the file forever (5% ... 13% ... 25% ... 8% ... 16% ... 1% ... ); only VLC actually displays the stream. I think the problem is those "failed to wait" errors.

I wonder if VLC can be tweaked to handle the "VIDIOC_DQBUF" errors?

EDIT: The problem is that VLC is ignoring the "size" parameter, and it is transmitting 320x240. No wonder it is so slow.

@luis-garcia:
I'm using the libvlc0 and vlc-nox files from lokidor. I just checked, the link works.


All times are GMT. The time now is 03:52.

vBulletin® Version 3.8.8