Page 23 of 91

Re: Video player with audio switching (GTVBox Video Player)

Posted: Sun Dec 18, 2011 10:35 am
by mcd2000
gottahavit wrote:I'm having an issue with SMB and playing videos. Video will start and play for about 15 sec then pause every 15 sec or so. Happens on both sony and logitech, both boxes are wired and the share works fine on my other pcs. Also all videos play fine in stock video player over upnp. Is there an SMB issue in 3.1?
What version of player are you using?
All video files behave like this or only high bitrate ones?

Re: Video player with audio switching (GTVBox Video Player)

Posted: Sun Dec 18, 2011 10:38 am
by mcd2000
Ok. I have some progress with MKV subtitles. They now work with some files... with some doesn't. :-)
Will release experimental version in couple of days.

Re: Video player with audio switching (GTVBox Video Player)

Posted: Sun Dec 18, 2011 10:54 am
by gottahavit
mcd2000 wrote:
gottahavit wrote:I'm having an issue with SMB and playing videos. Video will start and play for about 15 sec then pause every 15 sec or so. Happens on both sony and logitech, both boxes are wired and the share works fine on my other pcs. Also all videos play fine in stock video player over upnp. Is there an SMB issue in 3.1?
What version of player are you using?
All video files behave like this or only high bitrate ones?
Yes it appears to only be with highbitrate videos(raw bray files), however most of my videos fall into that category. I think I have a workaround however. The latest upnplay works well on GTV and plays nice with gtvbox audio switching. There appears to be no pauisng when playing with this method.

Re: Video player with audio switching (GTVBox Video Player)

Posted: Sun Dec 18, 2011 10:56 am
by synologic
While searching for a remote controlled (eg web) mediaplayer, i stumbled onto this application which works fine, however i do have a question regarding the use of NanoHTTPD in your code, which opens port 8087 and while accessed it crashes the app. Is this intended to be a server to control the app via a web page ? If not, do you intend to do this ?

Re: Video player with audio switching (GTVBox Video Player)

Posted: Sun Dec 18, 2011 11:01 am
by mcd2000
gottahavit wrote: Yes it appears to only be with highbitrate videos(raw bray files), however most of my videos fall into that category. I think I have a workaround however. The latest upnplay works well on GTV and plays nice with gtvbox audio switching. There appears to be no pauisng when playing with this method.
To many proxying in the app...
What version are you using however?
I will look for optimizing performace on high bitrates...

Re: Video player with audio switching (GTVBox Video Player)

Posted: Sun Dec 18, 2011 11:04 am
by mcd2000
synologic wrote:While searching for a remote controlled (eg web) mediaplayer, i stumbled onto this application which works fine, however i do have a question regarding the use of NanoHTTPD in your code, which opens port 8087 and while accessed it crashes the app. Is this intended to be a server to control the app via a web page ? If not, do you intend to do this ?
No, this webserver is used internally to proxy video streams from SMB.

Re: Video player with audio switching (GTVBox Video Player)

Posted: Sun Dec 18, 2011 11:07 am
by gottahavit
just updated to .26

happy to see I can upnplay and still use your audio switching.

Re: Video player with audio switching (GTVBox Video Player)

Posted: Sun Dec 18, 2011 11:12 am
by mcd2000
gottahavit wrote:just updated to .26

happy to see I can upnplay and still use your audio switching.
Bad thing here is that if you want to use subtitles, stream should be dowloaded twice...

Re: Video player with audio switching (GTVBox Video Player)

Posted: Sun Dec 18, 2011 11:17 am
by gottahavit
[quote="mcd2000"
Bad thing here is that if you want to use subtitles, stream should be dowloaded twice...[/quote]

I never use subtitles,but i need the audio switching so I can have the dts and the ac3 streams in my videos. I did find however that the sony player will always chose the last track in the file and the logitech will find the ac3 track if it's there, but I still like your app in case i mux in the wrong order. Now if only the logitech would play mpeg-2

Re: Video player with audio switching (GTVBox Video Player)

Posted: Sun Dec 18, 2011 11:29 am
by mcd2000
gottahavit wrote: I never use subtitles,but i need the audio switching so I can have the dts and the ac3 streams in my videos. I did find however that the sony player will always chose the last track in the file and the logitech will find the ac3 track if it's there, but I still like your app in case i mux in the wrong order. Now if only the logitech would play mpeg-2
I am now testing 38Gb Avatar.mkv. When playing with "cache block" size, I was able to stream it pretty good.
It also has NINE subtitle tracks which are parsed in parallel thread.
I think, I will put Cache Size option in preferences, that users could play with to make their movies play fine.

Anyways, thanks for making me think about this problem. :D


PS: I have a crazy idea of rewriting libdca (VLC DTS library) in Java. But not sure it will work fast enough for on-fly decoding...