[Solved] No Sound Playing some mp4 files

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
giskard
Posts: 6
Joined: Sat Mar 12, 2016 8:53 am

[Solved] No Sound Playing some mp4 files

Post by giskard »

Using Universal Media Server some of my mp4 files play with out sound. When I use PS3 media server these same files play with sound. Do you see a configuration issue in the debug files. Thanks.
Attachments
ums_dbg2.zip
(204.55 KiB) Downloaded 789 times
User avatar
Supermanfan77
Posts: 110
Joined: Thu Jun 05, 2014 4:17 pm

Re: No Sound Playing some mp4 files

Post by Supermanfan77 »

Wish I knew what the log files mean lol. But in the mean time till you hear from a Dev. switch FFmpeg to MEncoder in the transcode settings. PS3 Media server uses MEncoder as its default encoder and UMS uses FFmpeg as the default, for some reason the audio on the mp4's you can't hear audio on are encoded differently from some of the others. Another alternative would be to uncheck the "Hide the Transcode folder if you have it checked off and use MEncoder from there.
User avatar
SubJunk
Lead Developer
Posts: 3800
Joined: Sun May 27, 2012 4:12 pm

Re: No Sound Playing some mp4 files

Post by SubJunk »

Can you upload the video file somewhere or send me a link to it so I can test it?
giskard
Posts: 6
Joined: Sat Mar 12, 2016 8:53 am

Re: No Sound Playing some mp4 files

Post by giskard »

Here is a link to a file I have trouble playing.


http://veehd.com/video/4829461_Doctor-W ... Part-3-MP4
User avatar
SubJunk
Lead Developer
Posts: 3800
Joined: Sun May 27, 2012 4:12 pm

Re: No Sound Playing some mp4 files

Post by SubJunk »

I just tested that file and found it worked with every engine except tsMuxeR, and you seem to have the setting "Remux videos with tsMuxeR" enabled in the FFmpeg settings. Disabling that might help with that video.
giskard
Posts: 6
Joined: Sat Mar 12, 2016 8:53 am

Re: No Sound Playing some mp4 files

Post by giskard »

I tried disabling "Remux videos with tsMuxeR" in the FFmpeg settings. That did not help. Still no sound with that video.
User avatar
SubJunk
Lead Developer
Posts: 3800
Joined: Sun May 27, 2012 4:12 pm

Re: No Sound Playing some mp4 files

Post by SubJunk »

Can you please make a debug log where you play that video?
giskard
Posts: 6
Joined: Sat Mar 12, 2016 8:53 am

Re: No Sound Playing some mp4 files

Post by giskard »

Here is a new debug file playing the video.
Attachments
ums_dbg.zip
(79.8 KiB) Downloaded 724 times
User avatar
SubJunk
Lead Developer
Posts: 3800
Joined: Sun May 27, 2012 4:12 pm

Re: No Sound Playing some mp4 files

Post by SubJunk »

There doesn't seem to be anything wrong with the output. Here's the code being passed to FFmpeg for the record:

Code: Select all

ffmpeg -y -loglevel info -i input.mp4 -bufsize 1835000 -maxrate 499000000 -g 5 -q:v 1 -qmin 2 -qmax 3 -ab 448k -c:a ac3 -c:v mpeg2video -f vob output.mpeg
Some renderers have problems playing files with such low resolutions so I wonder if that is the issue. Here are new renderer profiles for you to try, just unzip them and replace your current one in C:\Program Files (x86)\Universal Media Server\renderers\Sony-BraviaEX.conf with them one at a time to see if any of them improves it.
Attachments
Sony-BraviaEX-3.zip
(1.31 KiB) Downloaded 673 times
Sony-BraviaEX-2.zip
(1.31 KiB) Downloaded 668 times
Sony-BraviaEX-1.zip
(1.29 KiB) Downloaded 655 times
giskard
Posts: 6
Joined: Sat Mar 12, 2016 8:53 am

Re: No Sound Playing some mp4 files

Post by giskard »

I tried the three renderer profiles but they did not help. But you may be right about low resolution. I noticed that all the files with no sound show an audio sample rate of 22kHz. All files with an audio sample rate of 44kHz or above play with sound.
Post Reply