View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 14 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Wed Aug 30, 2006 11:52 am 
Offline
Joined: Tue Jan 18, 2005 2:07 am
Posts: 1532
Location: California
When you click on the preview image for an existing recording in the mythweb "recorded shows" windows, mythweb sends the following string back to your browser:

Quote:
myth://<server IP address>:6543/<name of file with recording>


When this comes back to my browser (internet explorer), I get an error. I've since modified the appropraite configuration file so that things work for me because it now sends the string:
Quote:
http://<server IP address>/video_dir/<name of file with recording>

(video_dir is a sym link in /var/www that points to /myth/tv)

So things work, but I am left with a question: Why does the default mythweb configuration generate the first string? Is this a bug, or is this supposed to work properly? If so, can someone explain a bit more to me (or point me at some documentation) that explains what that first string is supposed to do? I can't help but think that I'm missing a trick here by not understanding the way things were configured by default.

Thanks!

marc
[/quote]


Top
 Profile  
 
 Post subject:
PostPosted: Fri Sep 01, 2006 5:21 am 
Offline
Joined: Tue Jan 18, 2005 2:07 am
Posts: 1532
Location: California
Let me ask the question a different way: Does the default mythweb configuration work for anyone, or does everyone have to edit the conf.php file and change the definition of "video_url"? Thanks!

Marc


Top
 Profile  
 
 Post subject:
PostPosted: Fri Sep 01, 2006 6:14 am 
Offline
Joined: Fri Apr 02, 2004 10:08 am
Posts: 1637
Location: Virginia, USA
The default doesn't work for me the same way it doesn't work for you, but I just use MythStreamTV instead.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Sep 01, 2006 6:59 am 
Offline
Joined: Tue Apr 13, 2004 6:51 pm
Posts: 890
Location: Groton, MA
I've tweeked my mythweb screens to make the 'REcorded Programs' thumbnails be links to mythstreamtv.

Not to hard, I'd share the full source but my world is still based on 'old' mythweb.

in file /var/www/mythweb/themes/Default/recorded_programs.php

I have changed the href as below....its in 3 places (there are 3 links per line)
Code:
root@mythtv:/var/www/mythweb/themes/Default# diff recorded_programs.php.save   recorded_programs.php
148c148
<             echo '<a href="'.video_url().'/'.basename($show->filename)."\" name=\"$row\">"
---
>             echo '<a href="mythstreamtv_confirm.php?streamfile[]=/myth/tv/'.basename($show->filename)."\" name=\"$row\">"


This assumes you have mythstreamtv setup and that your recordings are in /myth/tv....adjust accordingly

_________________
R5F1 - Dell P4 2.4Ghz 500MB - PVR250 x 2 - GeForce FX 5200 - Onboard sound/NIC 80GB ATA/250GB ATA/400GB SATA


Top
 Profile  
 
 Post subject:
PostPosted: Fri Sep 01, 2006 10:38 pm 
Offline
Joined: Tue Jan 18, 2005 2:07 am
Posts: 1532
Location: California
Thanks for the replies -- seems like a good approach. I'm still left wondering why the developers of mythweb released with a default link of the form "myth://servername:6543/filename". It leaves me wondering if there isn't a plugin out there somewhere that enables a browser to speak the myth protocol.

In any event, I guess I'll keep using the "PlayWithVLC" extension for now.

Marc


Top
 Profile  
 
 Post subject:
PostPosted: Sat Sep 02, 2006 6:17 am 
Offline
Joined: Tue Apr 13, 2004 6:51 pm
Posts: 890
Location: Groton, MA
there are some filters you can install on you pc to use these links.

I think they might be here

http://sourceforge.net/projects/dsmyth

_________________
R5F1 - Dell P4 2.4Ghz 500MB - PVR250 x 2 - GeForce FX 5200 - Onboard sound/NIC 80GB ATA/250GB ATA/400GB SATA


Top
 Profile  
 
 Post subject:
PostPosted: Sat Sep 02, 2006 9:56 am 
Offline
Joined: Tue Jan 18, 2005 2:07 am
Posts: 1532
Location: California
Thanks for the pointer! I downloaded and install it. It does make it so that the "myth://" URL is recognized, but I consistantly got an error message about "unknown decompressor". According to the readme file the most recent version only works for 0.18.1 and I'm on 0.19. Could have been interesting if it had worked.

I am running into a problem using VLC the way I did with 0.18 (R5A30.2). When I try to playback recordings via VLC the video starts to get choppy about 18 seconds into playback. An examination of the VLC message log shows the following:
Quote:
main warning: clock gap, unexpected stream discontinuity
main warning: clock gap, unexpected stream discontinuity
main warning: vout synchro warning: pts != current_date (-8429)
main warning: clock gap, unexpected stream discontinuity
main warning: vout synchro warning: pts != current_date (9545)
main warning: clock gap, unexpected stream discontinuity
main warning: backward_pts != dts (-9207)


This pattern of messages continues for many thousands of lines. I have verified that recordings created under R5A30.2 do not have this problem, so I am guessing that the new IVTV driver is creating mpg streams with some sort of problem. The mythtv front-end plays back the recordings without problem. So it looks like I need to use another mehtod for doing video playback from mythweb.

Question: I have used mythstreamtv successfully. The one thing I find awkward is making the playback navigation buttons visible on my desktop while simultaneously making the playback window visible on the desktop. Has anyone developed a way of embedded the video playback windows inside a web page that also has the navigation buttons on that same page, perhaps positioned below the video window? Thanks!

Marc


Top
 Profile  
 
 Post subject:
PostPosted: Sat Sep 02, 2006 8:21 pm 
Offline
Joined: Tue Apr 13, 2004 6:51 pm
Posts: 890
Location: Groton, MA
there was some work on an ajax update to mythstreamtv. A google of mythstreamtv and ajax may yield what you are looking for, but it may be based on old mythweb.

unfortunatly several of us made several updates to the code just before mythweb got revamped.

dammit, you guys are gonna make me upgrade so I can make my updated mythstreamtv work with teh net mythweb. I have better playback controls, playback setting/templates saved in the database (so I dont fuss with the dropdown lists each time) I can change channels on the fly while watching live.

but alas, its based on old mythweb....ugg

_________________
R5F1 - Dell P4 2.4Ghz 500MB - PVR250 x 2 - GeForce FX 5200 - Onboard sound/NIC 80GB ATA/250GB ATA/400GB SATA


Top
 Profile  
 
 Post subject:
PostPosted: Sun Sep 03, 2006 1:48 am 
Offline
Joined: Mon Aug 21, 2006 9:52 am
Posts: 24
I'm taking a slightly different approach. I have samba configured to share out my myth folder, and I configured the dsmyth filters to use a vbscript for playback. Then I wrote a little vbscript to take the myth:// url and extract the filename, and pass it off to VLC.

The upside is that I can navigate through the video with ff/rw etc, and not just get stuck watching it stream. I also want to hold off on doing any serious tweaking on the backend before .20 is released

Here's what I am using to open myth urls in the filer configuration:
WSCRIPT "C:\mythwatcher.vbs" "%1"

And here's the vbscript:
mythwatcher.vbs
Code:
'Samba path to my recordings:
TVPath = "\\mythtv\myth\tv\"

'Path to my video player (VLC):
Player = "C:\Program Files\VideoLAN\VLC\vlc.exe"

'Extract the real filename

Set Args = WScript.Arguments
URL = Args(0)

Position = 0
for L = 1 to len(URL)
If Mid(URL,L,1) = "/" then Position = L
Next

File = TVPath & Right(URL, Len(URL) - Position)

'Pass the samba path off to VLC:
Set WshShell = WScript.CreateObject("WScript.Shell")
WshShell.Run(chr(34) & Player & chr(34) & " " & File)


Top
 Profile  
 
 Post subject:
PostPosted: Sun Sep 03, 2006 10:08 am 
Offline
Joined: Tue Jan 18, 2005 2:07 am
Posts: 1532
Location: California
Lusid, I also like the approach of using VLC reading from a samba share for playback. This is what I was doing while I was running R5A30.2/0.18. When I upgraded to R5D1/0.19 I started have the problems with choppy video playback as I described 3 posts back on this thread. It sounds like you aren't having this problem so here are my questions:

1. What version of VLC are you using? (I've tried 0.81, 0.84a and 0.85)
2. What platform are you running VLC on? (I'm on windows/xp)
3. What version of knoppmyth are you on (R5D1 for me)

Thanks!

Marc


Top
 Profile  
 
 Post subject:
PostPosted: Mon Sep 04, 2006 12:12 am 
Offline
Joined: Tue Jan 18, 2005 2:07 am
Posts: 1532
Location: California
OK, I've narrowed down the problem. All recordings made without capturing the "Closed Caption" stuff will playback fine with VLC. All recordings made where the "Closed Capture" stuff is recorded will not play back properly with VLC. So the problem has nothing to do with R5A30.2 vs. R5D1 -- it's about the way VLC responds to the CC data captured in the VBI. I have also verified that another media player I have can handle the recordings that VLC gets into trouble with, so it looks like that the issue is in VLC.

Until the problem is resolved I am using Nero Showtime for playing back the recordings via mythweb.

Marc


Top
 Profile  
 
 Post subject:
PostPosted: Fri Sep 08, 2006 10:46 pm 
Offline
Joined: Tue Jan 18, 2005 2:07 am
Posts: 1532
Location: California
lusid, I finally got a chance to trying out your script with the dsmyth filters -- tweaked the script to use nero showtime. It's great -- thanks for sharing this apporach! I used to have to right-clickand select "play with VLC" from the context menu -- now I can just click on the thumbnail to being playback. Thanks for sharing this!

Marc


Top
 Profile  
 
 Post subject:
PostPosted: Mon Oct 16, 2006 11:16 pm 
Offline
Joined: Thu Mar 02, 2006 3:34 pm
Posts: 40
Hi Marc, when I first installed R5B7 or perhaps R5C7 I clicked on a thumbnail in Recorded Programs and the thing just popped open windows media player and started playing like magic. I thought, Man my family can use this. It's pretty much never worked since. I'm tempted to get an old drive and try one of those older versions and see if it works, take some notes and try getting it working again. I didn't knowingly have vlc installed and had done no editing or customization of files. The Closed Captioning information is important I think. I'm sure I didn't have it on at the time of that inital test but have had it on since then certainly.
What's the other media player you use?
thanks

_________________
free range geek in boulder, co and mythtv enthusiast
R6.03


Top
 Profile  
 
 Post subject:
PostPosted: Tue Oct 17, 2006 11:07 pm 
Offline
Joined: Tue Jan 18, 2005 2:07 am
Posts: 1532
Location: California
vnicduran, I'm using mplayer for windows. There are numerous sites where you can download a pre-built version. I found that following playback options work well:

Code:
# Write your default config options here!
autosync=100
cache=4096
autoq=100
fs=y
vf=crop=700:460:10:10,kerndeint,unsharp,denoise3d,noise


I placed these in the default config file and am please with the results.

Marc


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 14 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 9 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