NextPVR Forums

Full Version: Error streaming from EWA
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I cant stream audio (or audio) from EWA thru VLC. Trying to stream an MP3 gives the following error in the EWA log file:

Quote:2008-09-24 16:24:01.671 INFO [15] File Name Deserialized: E:\MP3s\Star.mp3
2008-09-24 16:24:01.671 INFO [15] ***********************
2008-09-24 16:24:01.671 INFO [15] VLC Path= C:\Utilities\VideoLAN\VLC\
2008-09-24 16:24:01.671 INFO [15] Args= --intf http "E:\MP3s\Star.mp3" Confusedout=#transcode{vcodec=h264,vb=128,width=320,height=213,acodec=mp4a,ab=32,channels=2}Confusedtandard{access=http,mux=ts,url=:7648} vlc:quit
2008-09-24 16:24:04.875 INFO [15] Using wmi for free space determination.....
2008-09-24 16:24:05.093 INFO [15] Using wmi for free space determination.....
2008-09-24 16:24:05.265 VERBOSE [15] RecordingFactory.loadSchedule()
2008-09-24 16:24:05.265 VERBOSE [15] getValue cached value: /settings/AutoRemoveMissingRecordings : true
2008-09-24 16:24:05.281 ERROR [15] System.InvalidCastException: Specified cast is not valid.
at System.Data.SQLite.SQLiteDataReader.VerifyType(Int32 i, DbType typ)
at System.Data.SQLite.SQLiteDataReader.GetDateTime(Int32 i)
at gbweb.Migrated_Info.GetEPGRemaining(DbConnection aConnection) in c:\Program Files\Devnz\GBPVR\web\Info.aspx.cs:line 349
at gbweb.Migrated_Info.Page_Load(Object sender, EventArgs e) in c:\Program Files\Devnz\GBPVR\web\Info.aspx.cs:line 81

If I try to stream a recording, I get the following in EWA log file:
Quote:2008-09-24 16:30:45.171 INFO [15] File Name Deserialized: F:\TV Recordings\Olympics 2008 Opening Ceremony.mpg
2008-09-24 16:30:45.171 INFO [15] ***********************
2008-09-24 16:30:45.171 INFO [15] VLC Path= C:\Utilities\VideoLAN\VLC\
2008-09-24 16:30:45.171 INFO [15] Args= --intf http "F:\TV Recordings\Olympics 2008 Opening Ceremony.mpg" Confusedout=#transcode{vcodec=h264,vb=128,width=320,height=213,acodec=mp4a,ab=32,channels=2}Confusedtandard{access=http,mux=ts,url=:7648} vlc:quit
2008-09-24 16:30:49.046 INFO [15] Using wmi for free space determination.....
2008-09-24 16:30:49.453 INFO [15] Using wmi for free space determination.....
2008-09-24 16:30:49.609 VERBOSE [15] RecordingFactory.loadSchedule()
2008-09-24 16:30:49.609 VERBOSE [15] getValue cached value: /settings/AutoRemoveMissingRecordings : true
2008-09-24 16:30:49.625 ERROR [15] System.InvalidCastException: Specified cast is not valid.
at System.Data.SQLite.SQLiteDataReader.VerifyType(Int32 i, DbType typ)
at System.Data.SQLite.SQLiteDataReader.GetDateTime(Int32 i)
at gbweb.Migrated_Info.GetEPGRemaining(DbConnection aConnection) in c:\Program Files\Devnz\GBPVR\web\Info.aspx.cs:line 349
at gbweb.Migrated_Info.Page_Load(Object sender, EventArgs e) in c:\Program Files\Devnz\GBPVR\web\Info.aspx.cs:line 81

Thanks.
In another thread I read there were problems with the last VLC-update (0.92).
Are you using that one?
Yes, I am on 0.9.2.

Edit:

I have installed 0.8.6i on the machine running gbpvr and it is streaming now Smile Thanks for your help. I do have 1 question though: VLC on the pc uses port 8080 by default. I have another program on the pc which uses this port. I would like to change it to something else. Is this possible?
When you start streaming from EWA you get a screen with options, one of them being the streamer port, which default is 7648.

Hans
HtV Wrote:When you start streaming from EWA you get a screen with options, one of them being the streamer port, which default is 7648.

I think you misunderstood. I mean the port VLC uses which by default is 8080. I cant find any option in EWA to change it.
Khurram Wrote:I think you misunderstood. I mean the port VLC uses which by default is 8080. I cant find any option in EWA to change it.

I don't think you can change VLC's port....if you can post how to do it here.....one of the items highlighted on the Wiki for streaming is to not have anything else running on 8080.
UncleJohnsBand Wrote:I don't think you can change VLC's port

Well, you can change the port using the --http-host option on the command line. I have used this to create an NT service for VLC which listens for http on port 8081 and telnet on the default port 4212 by using the following command line:

vlc.exe -I ntservice --ntservice-install --ntservice-extraintf=http,Telnet --ntservice-option=--http-host=0.0.0.0:8081

Tthe mvpmc dongle for my MediaMVP uses this service's telnet interface for VLC streaming. Can I somehow make EWA use the service for streaming also? It will be one less VLC process on the pc Smile
Khurram Wrote:Well, you can change the port using the --http-host option on the command line. I have used this to create an NT service for VLC which listens for http on port 8081 and telnet on the default port 4212 by using the following command line:

vlc.exe -I ntservice --ntservice-install --ntservice-extraintf=http,Telnet --ntservice-option=--http-host=0.0.0.0:8081

Tthe mvpmc dongle for my MediaMVP uses this service's telnet interface for VLC streaming. Can I somehow make EWA use the service for streaming also? It will be one less VLC process on the pc Smile

Looking back at your first post (which I didn't look at before :o ) it appears that you are using the ms access database and not the SQLite database perhaps?

If so...convert over to SQLite using the ChangeDatabase.exe program in the gbvr directory.
UncleJohnsBand Wrote:it appears that you are using the ms access database and not the SQLite database perhaps?

I am using the database that came with gbpvr. I didnt even know you could use access database instead of SQLite Smile The streaming problem in post 1 was solved when I downgraded VLC to 0.8.6i (as mentioned in post 3). Its just that I want to change the port used by VLC as invoked by EWA.

The args line in the log (from post 1) reads
Quote:Args= --intf http <mp3 file> .....

If it can be changed to
Quote:Args= --extraintf http --http-host=0.0.0.0:8081 <mp3 file> ....

then it can work. Is there some file which I can modify to reflect this change?

then