Page 1 of 1

[Solved] MKV/MP4 decoding with ffmpeg64 not working [5.1.0]

Posted: Tue Mar 31, 2015 12:09 pm
by Forceflow
System: Win 8.1, 64-bit, latest UMS with Java 7 .

Since the update, UMS uses ffmpeg64.exe to do decoding, since it detects it's running on a 64-bit system, I presume. When it tries to launch ffmpeg64, that process fails silently, no info in logs.
The current workaround is to force it to use the 32-bit version (by deleting the original ffmpeg64.exe and renaming ffmpeg.exe to ffmpeg64.exe) - no problems when using that one.

I've attached a log file of me launching a server and trying to play an MP4 file.

Re: MKV/MP4 decoding with ffmpeg64 not working [5.1.0]

Posted: Tue Mar 31, 2015 12:53 pm
by valen
Hi forceflow,

i had a similar issue, but in my case it ended up being UMS hat didn't decode correctly to my Samsung TV.
Are you decoding to a Samsung TV by any chances?

valen

Re: MKV/MP4 decoding with ffmpeg64 not working [5.1.0]

Posted: Tue Mar 31, 2015 1:40 pm
by SubJunk
Please run the following command in command prompt and see what it says:

Code: Select all

"C:\Program Files (x86)\Universal Media Server\win32\ffmpeg64.exe" -y -i D:\Films\test.mp4 -filter_complex subtitles=D\\:/Films/test.srt:1280x536 -bufsize 7000000 -maxrate 499000000 -g 5 -q:v 1 -qmin 2 -qmax 3 -ab 448k -c:a ac3 -c:v mpeg2video -f vob output.mpeg

Re: MKV/MP4 decoding with ffmpeg64 not working [5.1.0]

Posted: Wed Apr 01, 2015 1:44 am
by Forceflow
valen wrote: i had a similar issue, but in my case it ended up being UMS hat didn't decode correctly to my Samsung TV.
Are you decoding to a Samsung TV by any chances?
Nope, to a Sony Bravia TV.

Re: MKV/MP4 decoding with ffmpeg64 not working [5.1.0]

Posted: Wed Apr 01, 2015 9:41 pm
by SubJunk
Anyway running the command I posted before should fix the issue for you, and the issue has also been fixed in the upcoming version.

Re: MKV/MP4 decoding with ffmpeg64 not working [5.1.0]

Posted: Thu Apr 02, 2015 1:58 pm
by Forceflow
SubJunk wrote:Anyway running the command I posted before should fix the issue for you, and the issue has also been fixed in the upcoming version.
Running that command with the original ffmpeg64 executable indeed seems to work fine. (the signal 2 is me hitting ctrl-c :p)

Re: [Solved] MKV/MP4 decoding with ffmpeg64 not working [5.1.0]

Posted: Thu Apr 02, 2015 2:11 pm
by SubJunk
Great, thanks for confirming :)