Notices


Reply
Thread Tools
qole's Avatar
Moderator | Posts: 7,109 | Thanked: 8,820 times | Joined on Oct 2007 @ Vancouver, BC, Canada
#81
I finally got things set up, and I'm very close, but not quite there...

I'm using Ubuntu Jaunty. I compiled ffmpeg (and x264) according to the link in Laughing Man's post. I opened port 1978 on my router, the path to ffmpeg looks right, and I have successfully added directories to my collection.

I can browse the media on my tablet, and when I select a video or music track, it goes to the player and the slider starts moving but nothing plays (no audio or video). Sometimes the slider moves very quickly along the track, and other times, when playing mp3s, it jumps to the end of the track suddenly...

Any ideas?
__________________
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: 678 | Thanked: 197 times | Joined on Jul 2007 @ San Jose CA
#82
Originally Posted by qole View Post
I can browse the media on my tablet, and when I select a video or music track, it goes to the player and the slider starts moving but nothing plays (no audio or video). Sometimes the slider moves very quickly along the track, and other times, when playing mp3s, it jumps to the end of the track suddenly...

Any ideas?
Exactly what I got too. So I am not alone ! You only open port if you want to access outside of your LAN, right?
I was suspecting the VLC so I downloaded the VLC 1.0.0 for linux (on the server) too but it only help a little; i.e. it stays for 10 15 sec with no sound then jumps to the end.
 
qole's Avatar
Moderator | Posts: 7,109 | Thanked: 8,820 times | Joined on Oct 2007 @ Vancouver, BC, Canada
#83
Yes, I want to be able to access outside of my LAN, so I open port 1978.

I am using vlc 0.9.9a-2ubuntu1 and ffmpeg 3:0.svn20090713-12ubuntu3-1 that I compiled using these instructions. I'm wondering if I need to add options to the ffmpeg compile?

A feature request: I would like to be able to enter a DNS name, rather than an IP address for the server.

EDIT: Here's what I get when I type "ffmpeg" at the command prompt:

Code:
FFmpeg version SVN-r19428, Copyright (c) 2000-2009 Fabrice Bellard, et al.
  configuration: --enable-gpl --enable-nonfree --enable-pthreads --enable-libfaac --enable-libfaad --enable-libmp3lame --enable-libtheora --enable-libx264 --enable-libxvid --enable-x11grab
  libavutil     50. 3. 0 / 50. 3. 0
  libavcodec    52.32. 0 / 52.32. 0
  libavformat   52.36. 0 / 52.36. 0
  libavdevice   52. 2. 0 / 52. 2. 0
  libswscale     0. 7. 1 /  0. 7. 1
  built on Jul 13 2009 16:14:56, gcc: 4.3.3
__________________
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!

Last edited by qole; 2009-07-14 at 17:06. Reason: ffmpeg output
 
Posts: 882 | Thanked: 1,310 times | Joined on Mar 2007
#84
Originally Posted by qole View Post
Yes, I want to be able to access outside of my LAN, so I open port 1978.

I am using vlc 0.9.9a-2ubuntu1 and ffmpeg 3:0.svn20090713-12ubuntu3-1 that I compiled using these instructions. I'm wondering if I need to add options to the ffmpeg compile?

A feature request: I would like to be able to enter a DNS name, rather than an IP address for the server.

EDIT: Here's what I get when I type "ffmpeg" at the command prompt:

Code:
FFmpeg version SVN-r19428, Copyright (c) 2000-2009 Fabrice Bellard, et al.
  configuration: --enable-gpl --enable-nonfree --enable-pthreads --enable-libfaac --enable-libfaad --enable-libmp3lame --enable-libtheora --enable-libx264 --enable-libxvid --enable-x11grab
  libavutil     50. 3. 0 / 50. 3. 0
  libavcodec    52.32. 0 / 52.32. 0
  libavformat   52.36. 0 / 52.36. 0
  libavdevice   52. 2. 0 / 52. 2. 0
  libswscale     0. 7. 1 /  0. 7. 1
  built on Jul 13 2009 16:14:56, gcc: 4.3.3
ffmpeg seems to have the necessary codecs for Knots. libmp3lame is needed for audio and xvid is needed for video. Any VLC from 0.9.4 to 1.0 should work ok. To view stuff from outside your lan you also need to open ports for the actual vlc http streams. By default it uses 19780 and if you want to be able to view multiple streams, you need to increment that with as many streams you need. Basically 19780 to 19785 should be enough.

Doesn't the dns name work instead of ip?

If you want help with your setup, please join our irc channel, it's easier to debug problems there in realtime.
 

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
#85
I opened up 19870-19875, but that didn't help... Pretty much the same symptoms... Now music just closes right away, and video "pretends" to play as I stated above...

EDIT: Local in-browser play on the Ubuntu server works, via FlowPlayer.
__________________
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!
 
ArnimS's Avatar
Posts: 1,107 | Thanked: 720 times | Joined on Mar 2007 @ Germany
#86
I LOVE THIS APP.
(but debian-mm sux)
 
qole's Avatar
Moderator | Posts: 7,109 | Thanked: 8,820 times | Joined on Oct 2007 @ Vancouver, BC, Canada
#87
Aha. When I change my transcoding profile on the Ubuntu server from "Browser" to "Nokia N8x0", the file doesn't play on the server, either. In fact, the FlowPlayer displays exactly the same symptoms as the tablet.

All of the other profiles work. So what's the problem with xvid / mp3 / asf ?
__________________
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
#88
Originally Posted by ArnimS View Post
I LOVE THIS APP.
(but debian-mm sux)
I have proof that debian-testing works pretty much out of box.
 

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
#89
I would like a command line to transcode video using the N8x0 profile, so I can see some debugging info and figure out what's going wrong on my server.
__________________
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
#90
Originally Posted by qole View Post
I would like a command line to transcode video using the N8x0 profile, so I can see some debugging info and figure out what's going wrong on my server.
I'll write a script that does that.

EDIT: try this: vlctest

Copy this script inside knots/scripts, chmod +x it and run it from knots root with ./scripts/vlctest /path/to/a/video and try to find error messages from the output (with -vvv there is a lot of it, you can also try -vv or -v if you want). You can also try to view the stream with mplayer http://serverip:19780/stream.asf and see what mplayer thinks of it.

Last edited by ukki; 2009-07-14 at 21:57.
 

The Following 2 Users Say Thank You to ukki For This Useful Post:
Reply

Tags
knots, music, streaming, video

Thread Tools

 
Forum Jump


All times are GMT. The time now is 18:43.