Page 1 of 1

Can't play video files only

Posted: Sun Feb 17, 2013 12:52 pm
by ken.yong
I have configured UMS to play music files and photos OK on my Samsung TV. However, I am unable to play ANY video files (tried different file extensions still unsuccessful). I can browse and see the thumbnails, just can't play them. [Plex and Serviio play videos well on TV if it is relevant]

Since I can play music files and photos OK, it leads me to believe UMS can communicate with my TV well. I am just not sure why I can't play videos.

Any help is appreciated!

Re: Can't play video files only

Posted: Sun Feb 17, 2013 1:32 pm
by kuroukage
What model is your TV and which renderer is UMS using for it?

Re: Can't play video files only

Posted: Sun Feb 17, 2013 5:27 pm
by ken.yong
It's Samsung UN55EH6070.

Renderer is XBMC on desktop and Samsung AllShare on TV.

I did see the followings in my log:
"Process C:\Program Files\Universal Media Server\win32\ffmpeg.exe has a return code of 1! Maybe an error occurred... check the log file"

and

Buffer read ArrayIndexOutOfBoundsException error:
02-16 19:25:46 readCount: "99999750000"
02-16 19:25:46 maxMemorySize: "209715200"

Re: Can't play video files only

Posted: Mon Feb 18, 2013 10:58 pm
by jackychen159
I have same problem.

My samsung TV can't play any transcoded video.

I add two line in the bottom of SamsungAllShare.conf to disable transcode

Code: Select all

MediaInfo = true                     
Supported = f:.+  
or just add video's extension after

Code: Select all

StreamExtensions=mkv,mp3,mp4,avi,mov
now, my TV can play FLV MPE and RMVB, but still can't play MPEG-1 or WMV

btw, ps3mediaserver have similar problem and i didn't find solution in their forum.

Re: Can't play video files only

Posted: Tue Feb 19, 2013 1:22 am
by valib
Can you provide debug.log see topic "How to ask for support" to help us identify your problem?

Re: Can't play video files only

Posted: Sat Mar 09, 2013 3:02 am
by tubby
I am experiencing the same issues as ken.yong with my Samsung AllShare. ArrayIndexOutOfBounds excpetion. I also get this on my Android Device.

I am trying different transcoding engines and the problem differs between them. I'll try to collect a recent debug log when using my Samsung renderer .

Re: Can't play video files only

Posted: Sat Mar 09, 2013 3:36 am
by kuroukage
Please see this topic as Valib suggests and post your debug.log files.

Re: Can't play video files only

Posted: Wed Mar 13, 2013 7:59 am
by tubby
kuroukage wrote:Please see this topic as Valib suggests and post your debug.log files.
Will do :-), I attached a debug package covering (trace enabled) when I am trying to transcode a DVD ISO. I'm getting ArrayIndexOutOfBoundsException. I assume it is part of the buffering process, when looking at the code.

When running the mencoder command directly on the computer running UMS on the command line and then reading it via mplayer or vlc it works, so something is not working as expected.

Avi files are working however but any transcoding seems to fail. I am running kubuntu 12.04 LTS and I have tried both IcedTea and Oracle java 7 versions.

Re: Can't play video files only

Posted: Sat Mar 16, 2013 8:46 pm
by tubby
I finally got transcoding of DVD:s to work on my Samsung TV. I tried different settings on Mencoder and I tried debugging the code of UMS but no light was shed on my problem.

The thing that was missing was in the SamsungAllShare.conf and the following line.

Code: Select all

ChunkedTransfer=true