View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 71 posts ] 
Go to page Previous  1, 2, 3, 4, 5  Next

Print view Previous topic   Next topic  
Author Message
Search for:
 Post subject:
PostPosted: Thu Dec 14, 2006 4:41 pm 
Offline
Joined: Mon Feb 06, 2006 5:11 pm
Posts: 353
Location: Brisbane, Australia
Hi,

With the header change, there maybe an associated footer change. These just give the consistant "Mythweb" look. I know about this change.

You will need to forward port 8090 to the machine hosting mythweb.

BigB.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Dec 14, 2006 5:24 pm 
Offline
Joined: Sat Feb 04, 2006 1:50 pm
Posts: 24
Hi, im running .20 on my knoppmyth box and following the instructions on the wiki copying and pasting the new code into mythweb I just can't seem to get this to work. If i click on the recording to stream it, it loads the new page but cannot load the flv video file. Im not sure where to look for any errors. Any input would be appreciated. Thanks


Top
 Profile  
 
 Post subject:
PostPosted: Thu Dec 14, 2006 5:38 pm 
Offline
Joined: Mon Feb 06, 2006 5:11 pm
Posts: 353
Location: Brisbane, Australia
Hi,

I do need as much info as you can provide, but here is a list of suggestions;

1. What version of knoppmyth are you running?
2. check that ffserver is on your machine.
3. Using TOP, does ffserver start.
4. If so, does ffmpeg start?
5. In the serverecording script (in data folder), change the stdout, and stderr redirection to go to a file (make that file be in the data folder), and check what comes out, perhaps post the results.
6. What is the original format of the recording you are trying to stream.
7. Is there a firewall getting in the way? Windows? Router? need to open port 8090.
8. once the streaming page has refreshed and attempts to start playing the file, try refreshing the page again after waiting about 5 seconds.



NOTE: when i say the data folder i mean /var/www/mythweb/data.

BigB.


Top
 Profile  
 
 Post subject: MythWebFlash Problems
PostPosted: Sun Dec 24, 2006 2:15 am 
Offline
Joined: Sat Nov 13, 2004 2:24 pm
Posts: 59
Hi,
I'm having simular problems as well.
1. I'm running the latest knoppmyth, but I've upgraded to .20
2. ff server is on my machine
3. ff server doesn't appear to be running (according to top) but the stat.html file is generated.
4. No
5. I'm not sure what line to do this on!
6. From a the default source, PVR 150 (Mpeg2?)
7. I'm accessing it from a Ubuntu box on the local network
8. No go

Any helps or hints would be appreciated. It's a pretty great feature. Thank you for contributing it.
Pro


Top
 Profile  
 
 Post subject:
PostPosted: Sat Dec 30, 2006 2:37 am 
Offline
Joined: Mon Feb 06, 2006 5:11 pm
Posts: 353
Location: Brisbane, Australia
Hi Pro,

I'm on holidays at the moment, so my replies might be a bit slow but here are some tips.

With items 3 and 4, I mean when the streaming is started from mythweb. ffserver does not run continuously, only while streaming is occuring.

for item 5. Line 20 has two redirections, both going to /dev/null. Inplace of these place "/var/www/mythweb/data/ffserver.stdout" and "/var/www/mythweb/data/ffserver.stderr"

and likewise for Line 23 except with "/var/www/mythweb/data/ffmpeg.stdout" and "/var/www/mythweb/data/ffmpeg.stderr".

These log files will hopefully point to the problem. Let me know what you find.

NOTE: Once the problem is solved, change the redirection back to NULL as these files will grow quite large!!!

One thing you might want to try is upgrading ffmpeg.

BigB.


Top
 Profile  
 
 Post subject:
PostPosted: Sat Dec 30, 2006 10:06 pm 
Offline
Joined: Sat Nov 13, 2004 2:24 pm
Posts: 59
Hi,

Thanks for the reply, so far, this is what the ffmpeg.stderr says:
Input #0, mpeg, from '/myth/tv/1039_20061230031800.mpg':
Duration: 00:30:55.9, bitrate: 5189 kb/s
Stream #0.0: Video: mpeg2video, 480x480, 29.97 fps
Stream #0.1: Audio: mp2, 48000 Hz, stereo, 384 kb/s
Could not read stream parameters from 'http://localhost:8090/feed1.ffm'

# ls feed1.ffm -l
-rw-r--r-- 1 www-data www-data 4096 Dec 30 19:58 feed1.ffm

So, it looks like it doesn't have access to feed1.ffm. I've checked, and the feed1.ffm is being created, so that looks ok. I can access the .html file from another computer, so it shouldn't be a port issue. (I don't think knoppmyth, by default has that port closed up anyways). I'll have to look it into it some more.

Thanks,
Prosonik


Top
 Profile  
 
 Post subject:
PostPosted: Sat Dec 30, 2006 11:36 pm 
Offline
Joined: Mon Feb 06, 2006 5:11 pm
Posts: 353
Location: Brisbane, Australia
Hi Pro,

A strange question, but is Localhost defined for the www-data user? You should be able to login using the apache user and password. Then try pinging localhost.

I'm also interested in the ffserver log files.

What was the current directry when you issued the listing? and what was the ownership of that directory?

Failing this, we might have to try a few manual attempts first.

What is the address of your subnet? EG 192.168.xxx.xxx.

My guesses so far, are, either 'Localhost' is unknown for some reason, or a restrictions problem.

BigB.


Last edited by bigB on Sun Dec 31, 2006 11:26 pm, edited 1 time in total.


Top
 Profile  
 
 Post subject:
PostPosted: Sun Dec 31, 2006 4:00 am 
Offline
Joined: Sat Nov 13, 2004 2:24 pm
Posts: 59
Hey

(minor security issues)...

/var/www/mythweb
drwxrwxr-x 5 www-data www-data 4096 Dec 30 19:58 data

192.xxx.2.xxx

sh-3.00$ ping localhost
PING mythbox (127.0.0.1) 56(84) bytes of data.
64 bytes from mythbox (127.0.0.1): icmp_seq=1 ttl=64 time=0.058 ms
64 bytes from mythbox (127.0.0.1): icmp_seq=2 ttl=64 time=0.032 ms

sh-3.00$ pwd
/var/www/mythweb/data
sh-3.00$ ls -alh
total 52K
drwxrwxrwx 5 www-data www-data 4.0K Dec 30 19:58 .
drwxrwxr-x 14 www-data www-data 4.0K Dec 30 13:17 ..
-rw-r--r-- 1 root root 180 Nov 19 01:00 .htaccess
drwxr-xr-x 7 root root 4.0K Jul 31 00:29 .svn
drwxrwxrwx 2 www-data www-data 4.0K Dec 31 00:31 cache
-rwxrwxrwx 1 www-data www-data 4.0K Dec 22 00:08 feed1.bak
-rw-r--r-- 1 www-data www-data 4.0K Dec 30 19:58 feed1.ffm
-rwxrwxrwx 1 www-data www-data 2 Dec 30 19:58 ffmpeg.pid
-rwxrwxrwx 1 www-data www-data 1.1K Dec 30 19:58 ffmpeg.stderr
-rwxrwxrwx 1 www-data www-data 143 Dec 30 19:58 ffmpeg.stout
-rwxrwxrwx 1 www-data www-data 5 Dec 30 19:58 ffserver.pid
-rwxrwxrwx 1 www-data www-data 0 Dec 30 19:58 ffserver.stderr
-rwxrwxrwx 1 www-data www-data 0 Dec 30 19:58 ffserver.stdout
lrwxrwxrwx 1 www-data www-data 11 Dec 18 06:39 music -> /myth/music
lrwxrwxrwx 1 www-data www-data 8 Nov 18 00:33 recordings -> /myth/tv
-rwxrwxrwx 1 www-data www-data 1.3K Dec 30 19:59 serverecording
drwxrwxrwx 2 www-data www-data 4.0K Nov 18 00:33 tv_icons
lrwxrwxrwx 1 www-data www-data 11 Dec 18 06:39 video -> /myth/video


Top
 Profile  
 
 Post subject:
PostPosted: Sun Dec 31, 2006 11:55 pm 
Offline
Joined: Mon Feb 06, 2006 5:11 pm
Posts: 353
Location: Brisbane, Australia
Hi Pro,

One of the things i did do prior to working on MythWebFlash was to upgrade ffmpeg using apt-get to get 3gp support. This broke my mythmusic plugin, but i have since fixed this. Before you go down this path (if you havn't already) what is the version of FFMPEG currently on your system? I don't recall what it was, but the current version i have comes back with an unknown SVN version (I'm currently unable to confirm this).

The change log at http://ffmpeg.mplayerhq.hu/changelog.html states that ffserver has been fixed in the latest version.

Also of interest is 3GP was added in version 0.4.7, so my guess is that R5D1 came with a version of ffmpeg that was earlier than 0.4.7.

I hope this helps us get closer, as i'm sure there are other people trying to get this going.

BigB.

PS. Upgrading ffmpeg with apt-get also updates another package that removes a file (sounds like libmp4ff something something) which mythmusic is compiled against, this causes that plugin to not load. I don't recall the URL of the fix, but it was along the lines of booting from the R5D1 CD and copying the file to the correct location.


Top
 Profile  
 
 Post subject:
PostPosted: Sun Jan 14, 2007 11:59 pm 
Offline
Joined: Mon Feb 06, 2006 5:11 pm
Posts: 353
Location: Brisbane, Australia
Hi Prosonik,

Any success to this?

BigB.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jan 15, 2007 12:15 am 
Offline
Joined: Sat Nov 13, 2004 2:24 pm
Posts: 59
Hi There,

I haven't had alot of time to look at it, however, i'm using:

# ffmpeg -version
ffmpeg version 0.4.9-pre1, build 4718, Copyright (c) 2000-2004 Fabrice Bellard
built on Oct 18 2005 17:26:48, gcc: 3.3.5 (Debian 1:3.3.5-12)
ffmpeg 0.4.9-pre1
libavcodec 4718
libavformat 4616


My Next plan of attack is to copy a mpg to the same dir and hard code all the paths etc. Hopefully, this will ensure it's not a permission or path issue. Maybe it will get rid of some of the variable that i'm dealing with.

I didn't use apt to upgrade FFmpeg, so hopefully no apt issues going on.

pro


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jan 15, 2007 12:42 am 
Offline
Joined: Mon Feb 06, 2006 5:11 pm
Posts: 353
Location: Brisbane, Australia
Hi,

I noticed in the changelog for FFMPEG that the 'next' version says "- ffserver fixed, it should now be usable again". This is after 0.4.9 pre 1. I'm wondering if this could be the problem.

Your plan of attack is roughly where I started, this should give a definative answer on things.

I appreciate the time you are investing into this.


BigB.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jan 15, 2007 11:58 pm 
Offline
Joined: Sat Nov 13, 2004 2:24 pm
Posts: 59
I guess that means that i'm should try building it from SVN again Eh?
If I have time, I'll give that a go tonight and post back.

Pro


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jan 23, 2007 4:13 pm 
Offline
Joined: Sat Feb 04, 2006 1:50 pm
Posts: 24
im having a problem now where when it tries to load the flv it can't because the address thats its trying to get the .swf file from is invalid. My server runs on a port other than 80, so when the container is trying to load the video it loads an address that looks like "http://www.myhost.com:8000:8090/flash_128.swf". How can i tell it not to look there?


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jan 23, 2007 4:27 pm 
Offline
Joined: Sat Feb 04, 2006 1:50 pm
Posts: 24
okay, i got it working by commenting out the HTTP_HOST variable in the streamrecordings.php file. It now works :), but the video is really choppy, i was wondering if there are any settings that could be used to make it look a bit better, also 16x9 content gets "squished" :(

Thanks for this awesome tool by the way, even if it is a little tricky to get working.


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 71 posts ] 
Go to page Previous  1, 2, 3, 4, 5  Next



All times are UTC - 6 hours




Who is online

Users browsing this forum: Bing [Bot] and 11 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu