Active Topics

 



Notices


Reply
Thread Tools
possessedskier's Avatar
Posts: 89 | Thanked: 21 times | Joined on Feb 2008
#91
I have the server running in Ubuntu Jaunty using the following procedure:

1) I compiled ffmpeg and x286 using these instructions

2) Did a "sudo apt-get install ruby1.8 ruby rubygems libsqlite3-ruby libopenssl-ruby". I excluded VLC (I already have VLC 1.0 installed) and ffmpeg (already compiled in step 1).

3) I already had the Medibuntu repositories active, but "sudo apt-get install libavcodec-unstripped-51 libavdevice-unstripped-52 libavformat-unstripped-52 libavutil-unstripped-49 libpostproc-unstripped-51 libswscale-unstripped-0" failed because the packages couldn't be found, so I skipped it.

4) I installed Knots2 from GIT.

5) I ran the setup (http://localhost:1978) and added mp4 to the scanned video extensions and wma to the scanned audio extensions, added my scanned directories, and updated the collection.

6) I installed and ran the Knots client on my N800. It worked the first time.

The volume was very low when playing via the Knots client, even with the system volume at 100%. I eventually tried setting the mplayer volume at 100%, which fixed the problem. Is the client using mplayer?

There's no video, only sound, when playing wva files in the client. They work sometimes from the browser. All other video and audio file types I tried play perfectly.
__________________
PC #1 - HP dv2000 Laptop - Ubuntu 9.10
PC #2 - Ubuntu 9.10
PC #3 - Ubuntu 8.04/Windoze XP dual boot
Nokia N800 internet tablet - OS2008 Diablo dual boot to SD - 4gb internal + 2gb external SD cards
 

The Following User Says Thank You to possessedskier For This Useful Post:
Posts: 882 | Thanked: 1,310 times | Joined on Mar 2007
#92
Originally Posted by possessedskier View Post
I have the server running in Ubuntu Jaunty using the following procedure:

1) I compiled ffmpeg and x286 using these instructions

2) Did a "sudo apt-get install ruby1.8 ruby rubygems libsqlite3-ruby libopenssl-ruby". I excluded VLC (I already have VLC 1.0 installed) and ffmpeg (already compiled in step 1).

3) I already had the Medibuntu repositories active, but "sudo apt-get install libavcodec-unstripped-51 libavdevice-unstripped-52 libavformat-unstripped-52 libavutil-unstripped-49 libpostproc-unstripped-51 libswscale-unstripped-0" failed because the packages couldn't be found, so I skipped it.

4) I installed Knots2 from GIT.

5) I ran the setup (http://localhost:1978) and added mp4 to the scanned video extensions and wma to the scanned audio extensions, added my scanned directories, and updated the collection.

6) I installed and ran the Knots client on my N800. It worked the first time.

The volume was very low when playing via the Knots client, even with the system volume at 100%. I eventually tried setting the mplayer volume at 100%, which fixed the problem. Is the client using mplayer?

There's no video, only sound, when playing wva files in the client. They work sometimes from the browser. All other video and audio file types I tried play perfectly.
Glad to see some success stories I haven't tried wma, but I'm glad if it somewhat works. Anyways, if the audio volume is low and you are using the git version of the server, try using an updated client:

http://nakkiboso.com/knots/knots2_0.1-pre24.deb

It has different key bindings for volume. + and - change the mplayer volume and up and down change the mixer volume. You can also try this to increase mplayer volume:

http://talk.maemo.org/showpost.php?p=214361&postcount=5

Last edited by ukki; 2009-07-14 at 22:47.
 

The Following 2 Users Say Thank You to ukki For This Useful Post:
qole's Avatar
Moderator | Posts: 7,109 | Thanked: 8,820 times | Joined on Oct 2007 @ Vancouver, BC, Canada
#93
Ok, so the problem is that VLC can't find the encoder codecs. It complains that it "cannot find encoder MPEG Audio layer 1/2/3" and "cannot find encoder MPEG-4 Video" ... "Your FFMPEG installation is crippled. Please check with your FFMPEG packager. This is NOT a VLC media player issue."

Ok, what's the missing step here? I compiled ffmpeg just like in the link, it didn't complain about missing codecs, you saw the output from ffmpeg in my previous post, it said that stuff was enabled... Sigh...
__________________
qole.org --- twitter --- Easy Debian wiki page
Please don't send me a private message, post to the appropriate thread.
Thank you all for your donations!
 
Posts: 882 | Thanked: 1,310 times | Joined on Mar 2007
#94
sigh indeed, looks like your vlc can't find your newly compiled ffmpeg. Can you check with ldd that vlc is linked to your ffmpeg? Maybe a simple ldconfig fixes it?
 

The Following User Says Thank You to ukki For This Useful Post:
qole's Avatar
Moderator | Posts: 7,109 | Thanked: 8,820 times | Joined on Oct 2007 @ Vancouver, BC, Canada
#95
Found the problem. Because the medibuntu line failed due to missing packages, I didn't install a crucial package. This fixed things for me!

Code:
sudo apt-get install libavformat-unstripped-52
Ukki, please update the howto?
__________________
qole.org --- twitter --- Easy Debian wiki page
Please don't send me a private message, post to the appropriate thread.
Thank you all for your donations!
 
possessedskier's Avatar
Posts: 89 | Thanked: 21 times | Joined on Feb 2008
#96
Originally Posted by ukki View Post
... Anyways, if the audio volume is low and you are using the git version of the server, try using an updated client:

http://nakkiboso.com/knots/knots2_0.1-pre24.deb

It has different key bindings for volume. + and - change the mplayer volume and up and down change the mixer volume...
The new version worked to set both volumes. Thanks. Great program! I love it!!
__________________
PC #1 - HP dv2000 Laptop - Ubuntu 9.10
PC #2 - Ubuntu 9.10
PC #3 - Ubuntu 8.04/Windoze XP dual boot
Nokia N800 internet tablet - OS2008 Diablo dual boot to SD - 4gb internal + 2gb external SD cards
 
Posts: 30 | Thanked: 49 times | Joined on Oct 2008 @ Coruña, ES
#97
Originally Posted by ukki View Post
I have proof that debian-testing works pretty much out of box.
That's me. I started with debian stable and tried to compile ffmpeg and vlc, without success. After that, I changed my sources.list to point to testing (commenting the lines which wouldn't make sense). I've got debian multimedia sources. Right now I have knots2 working, and my ffmpeg and vlc versions are these:

Code:
$ ffmpeg -version
FFmpeg version SVN-r19166, Copyright (c) 2000-2009 Fabrice Bellard, et al.
  configuration: --prefix=/usr --extra-cflags='-Wall -g ' --cc='ccache cc' --libdir=${prefix}/lib --shlibdir=${prefix}/lib --bindir=${prefix}/bin --incdir=${prefix}/include/ffmpeg --enable-shared --enable-libmp3lame --enable-gpl --enable-libfaad --mandir=${prefix}/share/man --enable-libvorbis --enable-pthreads --enable-libfaac --enable-libxvid --enable-postproc --enable-libamr-nb --enable-libamr-wb --enable-x11grab --enable-libgsm --enable-libx264 --enable-libtheora --enable-libdc1394 --enable-libspeex --enable-nonfree --disable-stripping --enable-avfilter --enable-libdirac --disable-decoder=libdirac --enable-libschroedinger --disable-encoder=libschroedinger --enable-avfilter-lavf --enable-libopenjpeg --disable-altivec --disable-armv5te --disable-armv6 --disable-vis
  libavutil     50. 3. 0 / 50. 3. 0
  libavcodec    52.30. 2 / 52.30. 2
  libavformat   52.34. 0 / 52.34. 0
  libavdevice   52. 2. 0 / 52. 2. 0
  libavfilter    0. 5. 0 /  0. 5. 0
  libswscale     0. 7. 1 /  0. 7. 1
  libpostproc   51. 2. 0 / 51. 2. 0
  built on Jun 13 2009 15:29:17, gcc: 4.3.3
FFmpeg SVN-r19166
libavutil     50. 3. 0 / 50. 3. 0
libavcodec    52.30. 2 / 52.30. 2
libavformat   52.34. 0 / 52.34. 0
libavdevice   52. 2. 0 / 52. 2. 0
libavfilter    0. 5. 0 /  0. 5. 0
libswscale     0. 7. 1 /  0. 7. 1
libpostproc   51. 2. 0 / 51. 2. 0
Code:
$ vlc --version
VLC media player 0.9.9a Grishenko
[00000001] main libvlc debug: VLC media player - version 0.9.9a Grishenko - (c) 1996-2009 the VideoLAN team
[00000001] main libvlc debug: libvlc was configured with ./configure  '--build=i486-linux-gnu' '--disable-maintainer-mode' '--enable-release' '--prefix=/usr' '--config-cache' '--enable-fast-install' '--with-binary-version=3' '--disable-update-check' '--disable-fb' '--enable-ggi' '--enable-sdl' '--enable-esd' '--enable-mad' '--enable-arts' '--enable-jack' '--enable-pulse' '--enable-lirc' '--enable-a52' '--enable-aa' '--enable-dvbpsi' '--enable-mozilla' '--with-mozilla-pkg=iceape-plugin' '--enable-dvb' '--enable-ogg' '--enable-vorbis' '--enable-shout' '--enable-qt4' '--enable-flac' '--enable-skins2' '--enable-freetype' '--enable-mkv' '--enable-speex' '--enable-caca' '--enable-live555' '--enable-libmpeg2' '--enable-fribidi' '--enable-mod' '--enable-theora' '--enable-dvdnav' '--enable-gnutls' '--enable-ncurses' '--enable-smb' '--disable-gnomevfs' '--enable-bonjour' '--enable-mpc' '--enable-vcd' '--enable-vcdx' '--enable-notify' '--enable-twolame' '--enable-faad' '--disable-zvbi' '--enable-telx' '--disable-x264' '--disable-atmo' '--enable-taglib' '--enable-libass' '--enable-dca' '--enable-realrtsp' '--disable-dv' '--enable-alsa' '--enable-v4l' '--enable-v4l2' '--enable-pvr' '--enable-svgalib' 'build_alias=i486-linux-gnu' 'CFLAGS=-g -O2' 'LDFLAGS=-Wl,--as-needed' 'CPPFLAGS=' 'CXXFLAGS=-g -O2'
[00000001] main libvlc debug: translation test: code is "es"
Versión de VLC 0.9.9a Grishenko
Compilado por siretart@faui44a.
Compilador: gcc version 4.3.3 (Debian 4.3.3-10)
Este programa viene SIN GARANTIA, sólo a la extendida por ley.
Puedes redistribuirlo bajo los términos de la Licencia Pública Gral. GNU;
mira el archivo llamado COPYING para ver los detalles.
Escrito por el equipo VideoLAN; mira el archivo AUTHORS.
And my sources are these:
Code:
$ cat /etc/apt/sources.list
# deb http://ftp.udc.es/debian/ lenny main

deb http://ftp.udc.es/debian/ testing main
deb-src http://ftp.udc.es/debian/ testing main

deb http://security.debian.org/ testing/updates main
deb-src http://security.debian.org/ testing/updates main

#deb http://volatile.debian.org/debian-volatile testing/volatile main
#deb-src http://volatile.debian.org/debian-volatile testing/volatile main
deb http://www.debian-multimedia.org testing main
#deb-src http://www.debian-multimedia.org testing main
 

The Following 3 Users Say Thank You to Bulfaiter For This Useful Post:
Posts: 882 | Thanked: 1,310 times | Joined on Mar 2007
#98
Anyone with Vista and/or 770 with 2008he willing to check if Knots works ok?

EDIT: works

Last edited by ukki; 2009-07-28 at 13:57.
 

The Following User Says Thank You to ukki For This Useful Post:
jamart3d's Avatar
Posts: 17 | Thanked: 8 times | Joined on Apr 2008 @ earth
#99
thanks ukki,
Its working on winxp>n810
I can tell a lot of work has gone into this, I really appreciate it.

some questions..
can I disable icon generation?
can I disable ffmpeg?
any plans to add more profiles to the client?
instead of width/height can I pass a scale to vlc?
or pass more args to vlc, like crop? etc..

I'm looking to replicate a good vlc transcode setting I have with 0.8.6
such as:
/bin/vlc -I http --http-host :8080 --high-priority --one-instance -v $1 :sout="#transcode{vcodec=DIV3,vb=512,scale=.5,crop top=60,cropbottom=60,acodec=mpga,ab=56,channels=2} :duplicate{dst=std{access=http,mux=asf,dst=:81}}"
 
jamart3d's Avatar
Posts: 17 | Thanked: 8 times | Joined on Apr 2008 @ earth
#100
the latest git server nails most of my questions
crop and scale is working, and with out icon generation, ffmpeg behaves way better.

I even got it serving the mplayer-plugin in tear/microB

many thanks
and more questions

video_encoder field is for what?
and if fps and audio_ratefield is empty, does it skip passing those args to vlc?
I kinda want it to be that way, just like I guess your doing with width/height ?
Is there a way for me to see an echo of the vlc cmd in a log or the shell?


Oh one more question, on the client..
mplayer's keys like "spacebar" "m", etc, aren't available
is there something I can do to get them to work?

thanks again ukki.
 
Reply

Tags
knots, music, streaming, video


 
Forum Jump


All times are GMT. The time now is 12:54.