Page 1 of 1

[SOLVED] No audio when steaming DVD MPGs to Blu Ray player

PostPosted: Thu Nov 14, 2013 12:23 pm
by flobiwan
I am using Serviio to stream videos to my Sony Blu ray player and have a problem. I took a lot of my DVDs and ripped them to DVD MPGs on my PC. They stream via Serviio to my Bu Ray player but whenever i play most of them, there is no audio. I found out that if i hit the "fast forward" button on my Blu Ray remote and then Play immediately afterward, the audio comes on but i miss the first 30 seconds or so of the video by doing that. After that, it's fine until i play a new file and then i have the same problem. Can this be fixed or is it just a limitation of Serviio?

Re: No audio when steaming DVD MPGs to Blu Ray player

PostPosted: Fri Nov 15, 2013 2:30 pm
by zip
can you post ffmpeg -i of the file?
and what profile are you using?

Re: No audio when steaming DVD MPGs to Blu Ray player

PostPosted: Tue Nov 19, 2013 11:56 am
by flobiwan
I'm sorry, i don't know what an ffpmeg -1 is. Can you be more specific and tell me how to get that? I'm also not sure what you mean by profile. Forgive me but i'm a bit of a noob when it comes to this.

Re: No audio when steaming DVD MPGs to Blu Ray player

PostPosted: Tue Nov 19, 2013 1:20 pm
by atc98092
flobiwan wrote:I'm sorry, i don't know what an ffpmeg -1 is. Can you be more specific and tell me how to get that? I'm also not sure what you mean by profile. Forgive me but i'm a bit of a noob when it comes to this.


ffmpeg -i (not -1) is a command line string to see what is actually contained in the video file. You generally run it by typing
  Code:
ffmpeg -i and the full path to your video file
. An example might be ffmpeg -i f:\videos\star wars (1977).mkv. You may also need to type the full path to ffmpeg if your computer does not recognize it.

The profile is code that tells Serviio what your Blu Ray player is and how to handle different types of video and audio. It is usually selected automatically based on information the player sends to Serviio over your network. However, sometimes the profile it selects is not the best fit. You will find them on the Status tab, in the grid in the center of the panel. You will see the device IP address, the Device Name (as Serviio recognizes it) and the selected profile. Like I said, for some players there are more than one option available. For example for Sony devices there are a number of different profiles.

Also, don't forget to tell us the brand and model of your Blu Ray player. Need to know that to assist with selecting the correct profile. :D

Re: No audio when steaming DVD MPGs to Blu Ray player

PostPosted: Tue Nov 19, 2013 10:22 pm
by flobiwan
The Blu Ray player is a Sony BDP-S390. The profile in Serviio I THINK is Sony BDP-Sx70/SMP-N100 (2010). I say I think because i have two Sony Blu ray wifi players and Serviio streams to both of them but there is only one "Blu-Ray disc Player" in the profiles, however there are a lot of "unrecognized device" in the list. serviio must be picking up a lot of stuff in my house Anyway, i'm farily certain the profile above is the player i'm referring to. Here is the ffmpeg info one of the DVD mpg files:


C:\Program Files\Serviio\lib>ffmpeg -i davesworld.mpg
ffmpeg version 1.1.1 Copyright (c) 2000-2013 the FFmpeg developers
built on Feb 5 2013 21:59:54 with gcc 4.7.2 (GCC)
configuration: --enable-static --disable-shared --disable-ffplay --disable-ffs
erver --enable-memalign-hack --enable-libmp3lame --enable-libass --enable-librtm
p --enable-fontconfig --enable-libfreetype --enable-zlib --extra-libs='-lrtmp -l
polarssl -lws2_32 -lwinmm -lexpat -lfreetype -lfribidi -lz' --arch=x86 --enable-
runtime-cpudetect --enable-pthreads --target-os=mingw32 --cross-prefix=i686-w64-
mingw32- --pkg-config=pkg-config
libavutil 52. 13.100 / 52. 13.100
libavcodec 54. 86.100 / 54. 86.100
libavformat 54. 59.106 / 54. 59.106
libavdevice 54. 3.102 / 54. 3.102
libavfilter 3. 32.100 / 3. 32.100
libswscale 2. 1.103 / 2. 1.103
libswresample 0. 17.102 / 0. 17.102
[mpeg @ 00031100] max_analyze_duration 5000000 reached at 5005000
Input #0, mpeg, from 'davesworld.mpg':
Duration: 00:44:20.70, start: 1.228411, bitrate: 5422 kb/s
Stream #0:0[0x1e0]: Video: mpeg2video (Main), yuv420p, 720x480 [SAR 8:9 DAR
4:3], 29.97 fps, 29.97 tbr, 90k tbn, 59.94 tbc
Stream #0:1[0x80]: Audio: ac3, 48000 Hz, stereo, fltp, 192 kb/s
At least one output file must be specified

C:\Program Files\Serviio\lib>

Re: No audio when steaming DVD MPGs to Blu Ray player

PostPosted: Wed Nov 20, 2013 11:20 am
by Illico
This media type should be delivered in native format from serviio server to your BDP player. From my point of view, its not a serviio issue.
This is the device that make a request to the server.
I suppose that you check with VLC player that you have the first 30 seconds of the ripped audio track.
Whats append if you don't press "FF" button on remote ? Does audio appears after 30 seconds or never ?

Re: No audio when steaming DVD MPGs to Blu Ray player

PostPosted: Wed Nov 20, 2013 12:39 pm
by flobiwan
I tried playing three files without hitting FF. On one the audio started after 20 secs or so but started from the beginning so it was way out of sync (this is the one i gave the info for above). On another, the video froze after 20 secs and the audio started from the beginning so i had audio with a still picture (the video did not start back up when the audio caught up to it). On the third, the picture just froze and the audio never came on. I should mention that I rip the mpgs from DVDs using TMPGEnc DVD Author. Also, all the files play just fine on my PC.

I did just try something else. I took the three files i just mentioned and remuxed them using VideoReDo. The three remuxed files all played just fine via Serviio so maybe you're right. Maybe TMPGENC DVD Author is messing up the files somehow when it rips the MPGs??

Re: No audio when steaming DVD MPGs to Blu Ray player

PostPosted: Wed Nov 20, 2013 7:37 pm
by Illico
flobiwan wrote:...
I did just try something else. I took the three files i just mentioned and remuxed them using VideoReDo. The three remuxed files all played just fine via Serviio so maybe you're right. Maybe TMPGENC DVD Author is messing up the files somehow when it rips the MPGs??

So problem comes from the mpeg container. I close this topic.
You can also remux file with this tool developed by a serviio user 'DenyAll' : viewtopic.php?f=17&t=12136
With the "Remux" menu, select "Remux to same container type" action and drag&drop your file, then GO button. (this tools use the same ffmpeg encoder than serviio)