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

For help and support with Universal Media Server
Forum rules
Please make sure you follow the Problem Reporting Guidelines before posting if you want a reply
Post Reply
Forceflow
Posts: 10
Joined: Tue Mar 31, 2015 6:09 am

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

Post 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.
Attachments
debug.log
(48.8 KiB) Downloaded 524 times
valen
Posts: 3
Joined: Tue Mar 31, 2015 4:25 am

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

Post 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
User avatar
SubJunk
Lead Developer
Posts: 3707
Joined: Sun May 27, 2012 4:12 pm

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

Post 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
Forceflow
Posts: 10
Joined: Tue Mar 31, 2015 6:09 am

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

Post 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.
User avatar
SubJunk
Lead Developer
Posts: 3707
Joined: Sun May 27, 2012 4:12 pm

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

Post 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.
Forceflow
Posts: 10
Joined: Tue Mar 31, 2015 6:09 am

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

Post 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)
Attachments
output.txt
(4.63 KiB) Downloaded 490 times
User avatar
SubJunk
Lead Developer
Posts: 3707
Joined: Sun May 27, 2012 4:12 pm

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

Post by SubJunk »

Great, thanks for confirming :)
Post Reply