Page 2 of 3

Re: Help creating a profile for Panasonic BD player DMP-BD85

PostPosted: Fri Jan 07, 2011 1:27 pm
by zip
It'll include the latest ffmpeg so we'll see if it helps at all

Re: Help creating a profile for Panasonic BD player DMP-BD85

PostPosted: Fri Jan 07, 2011 2:34 pm
by spectre73
I just replaced the ffmpeg.exe with the one that comes with the latest airvideo server and restarted the serviio service and there were no changes in the aspect ratio
and the pause and fast forward are not available so the problem lies in the code of your server

Re: Help creating a profile for Panasonic BD player DMP-BD85

PostPosted: Fri Jan 07, 2011 2:47 pm
by zip
regarding aspect ratio, AFAIK FFmpeg should be intelligent enough to work out the ratio itself. You say yourself that the transcoded file plays correctly on the PC, so it seems that FFmpeg did the job right.

Serviio doesn't do anything to tell the player what ratio to use, it just sends the file, so if it displays correctly on the PC and not correctly on the TV, it seems like an issue with the player (or the way FFmpeg does the transcode).

Can you post result of: ffmpeg -i <your mkv file>

Re: Help creating a profile for Panasonic BD player DMP-BD85

PostPosted: Fri Jan 07, 2011 3:00 pm
by spectre73
C:\Program Files (x86)\Serviio\lib>ffmpeg.exe -i C:\FILMS\The.Polar.Express.2004
.1080p.BluRay.x264-TiMELORDS\tl-polar\tl-polar.mkv
FFmpeg version UNKNOWN, Copyright (c) 2000-2010 Fabrice Bellard, et al.
built on Feb 7 2010 20:00:41 with gcc 4.4.0
configuration: --enable-memalign-hack --prefix=/mingw --target-os=mingw32 --ar
ch=i686 --cpu=i686 --enable-gpl --enable-libx264 --enable-static --disable-share
d --enable-pthreads --enable-libmp3lame --enable-libfaad --disable-decoder=aac
libavutil 50. 8. 0 / 50. 8. 0
libavcodec 52.52. 0 / 52.52. 0
libavformat 52.50. 0 / 52.50. 0
libavdevice 52. 2. 0 / 52. 2. 0
libswscale 0.10. 0 / 0.10. 0
[matroska @ 0x39bae0]max_analyze_duration reached
[matroska @ 0x39bae0]Estimating duration from bitrate, this may be inaccurate

Seems stream 0 codec frame rate differs from container frame rate: 47.95 (500000
0/104271) -> 23.98 (24000/1001)
Input #0, matroska, from 'C:\FILMS\The.Polar.Express.2004.1080p.BluRay.x264-TiME
LORDS\tl-polar\tl-polar.mkv':
Duration: 01:39:56.54, start: 0.000000, bitrate: N/A
Stream #0.0: Video: h264, yuv420p, 1920x800, PAR 1:1 DAR 12:5, 24.39 fps, 23
.98 tbr, 1k tbn, 47.95 tbc
Stream #0.1(eng): Audio: ac3, 48000 Hz, 6 channels, s16
Stream #0.2(eng): Subtitle: 0x0000
Stream #0.3(fre): Subtitle: 0x0000
Stream #0.4(ger): Subtitle: 0x0000
Stream #0.5(ita): Subtitle: 0x0000
Stream #0.6(spa): Subtitle: 0x0000
Stream #0.7(dut): Subtitle: 0x0000
Stream #0.8(dan): Subtitle: 0x0000
Stream #0.9(fin): Subtitle: 0x0000
Stream #0.10(nor): Subtitle: 0x0000
Stream #0.11(por): Subtitle: 0x0000
Stream #0.12(swe): Subtitle: 0x0000
At least one output file must be specified

Re: Help creating a profile for Panasonic BD player DMP-BD85

PostPosted: Fri Jan 07, 2011 3:23 pm
by Illico
Which profile did you select for your test?
You said some mkv files stutters, is it on video or audio?

spectre73 wrote:C:\Program Files (x86)\Serviio\lib>ffmpeg.exe -i C:\FILMS\The.Polar.Express.2004.1080p.BluRay.x264-TiMELORDS\tl-polar\tl-polar.mkv
Input #0, matroska, from 'C:\FILMS\The.Polar.Express.2004.1080p.BluRay.x264-TiMELORDS\tl-polar\tl-polar.mkv':
Duration: 01:39:56.54, start: 0.000000, bitrate: N/A
Stream #0.0: Video: h264, yuv420p, 1920x800, PAR 1:1 DAR 12:5, 24.39 fps, 23.98 tbr, 1k tbn, 47.95 tbc
Stream #0.1(eng): Audio: ac3, 48000 Hz, 6 channels, s16


For aspect ration you could try to change the ffmpeg output resolution with -s 1920x1080 option for example.
You can remove the audio option -ac 2, the source is 6 channels, keep it
I think mpeg2ts is better than vob for output format and
Do not change bitrate, remove options and keep same quality with -sameq option

Could you try this and add the result to your library to see how your device read this...
C:\Program Files (x86)\Serviio\bin\\..\lib/ffmpeg.exe -threads 1 -i C:\FILMS\The.Polar.Express.2004.1080p.BluRay.x264-TiMELORDS\tl-polar\tl-polar.mkv -y -vcodec mpeg2video -sameq -r 24.39 -s 1920x1080 -copyts -acodec copy -sn -f mpegts C:\file.ts

Re: Help creating a profile for Panasonic BD player DMP-BD85

PostPosted: Fri Jan 07, 2011 4:40 pm
by zip
the DAR (display aspect ratio) of the file is 12:5, I wonder what your player makes of it.

Re: Help creating a profile for Panasonic BD player DMP-BD85

PostPosted: Fri Jan 07, 2011 4:49 pm
by Illico
zip wrote:the DAR (display aspect ratio) of the file is 12:5, I wonder what your player makes of it.

Its seems that TV streches verticaly the video, the DAR must be 16:9 (1920x1080).
"-s" option could be added to ffmpeg, or test with "-aspect 16:9" option.
spectre73 could you check that?

Re: Help creating a profile for Panasonic BD player DMP-BD85

PostPosted: Fri Jan 07, 2011 7:02 pm
by spectre73
I cannot play either of the 2 new files they are grayed out they are named test1.mpg and test2.mpg

I tried renaming them to .mpeg with no success and adding <Matches container="mpeg" /> does nothing even after
restarting the service and the server and doing a force refresh

Re: Help creating a profile for Panasonic BD player DMP-BD85

PostPosted: Fri Jan 07, 2011 7:41 pm
by Illico
spectre73 wrote:I cannot play either of the 2 new files they are grayed out they are named test1.mpg and test2.mpg

I tried renaming them to .mpeg with no success and adding <Matches container="mpeg" /> does nothing even after
restarting the service and the server and doing a force refresh

Do you try *.ts

Re: Help creating a profile for Panasonic BD player DMP-BD85

PostPosted: Fri Jan 07, 2011 8:43 pm
by spectre73
I added these and it worked:

<Matches container="mpegts" />
<Matches container="mpegvideo" />

The advice of illico worked the aspect ratio is better but there is still no black bars on top and bottom as it should be when I play it on my computer.

Still no pause and forward maybe it's because of a lack of indexes in the file.

Also no sound if I put my bluray player to bitstream and yes I have put the dot at keep original in the audio section

Re: Help creating a profile for Panasonic BD player DMP-BD85

PostPosted: Tue Jan 11, 2011 6:54 pm
by spectre73
When will you release a new version ?

Re: Help creating a profile for Panasonic BD player DMP-BD85

PostPosted: Sat Jan 15, 2011 7:45 pm
by Illico
spectre73 wrote:When will you release a new version ?

Probably end of month

Re: Help creating a profile for Panasonic BD player DMP-BD85

PostPosted: Sat Jan 15, 2011 9:46 pm
by spectre73
Thanks

Re: Help creating a profile for Panasonic BD player DMP-BD85

PostPosted: Tue Jan 25, 2011 2:18 pm
by spectre73
I am trying 0.5 with HD-DVR profile but no files are playable so I added a few lines and now the server does not start

<Profile id="6" name="DirecTV HD-DVR" extendsProfileId="1">
<Detection>
<User-Agent>.*DIRECTV.*</User-Agent>
</Detection>
<Transcoding>
<Video targetContainer="mpeg" targetVCodec="mpeg2video" targetACodec="ac3" maxVBitrate="8192">
<Matches container="matroska" />
<Matches container="mp4" />
<Matches container="asf" />
<Matches container="avi" />
<Matches container="mpeg" />
<Matches container="mpegts" />
<Matches container="mpegvideo" />
</Video>
</Transcoding>
</Profile>

Re: Help creating a profile for Panasonic BD player DMP-BD85

PostPosted: Tue Jan 25, 2011 2:58 pm
by zip
Detection element has changed, look at the profile shipped with 0.5 for details

Re: Help creating a profile for Panasonic BD player DMP-BD85

PostPosted: Tue Jan 25, 2011 3:55 pm
by spectre73
how come you did not include a Panasonic bluray profile ?

I am tired of tweaking your software to make it work

Re: Help creating a profile for Panasonic BD player DMP-BD85

PostPosted: Tue Jan 25, 2011 5:11 pm
by zip
how come you did not include a Panasonic bluray profile ?

There is a Panasonic Viera profile, which should be useful.

I am tired of tweaking your software to make it work

Use something else :x

Re: Help creating a profile for Panasonic BD player DMP-BD85

PostPosted: Wed Jan 26, 2011 12:41 pm
by spectre73
Tried the Panasonic Viera profile with no success

Again only the HD-DVR works and again the aspect ratio is wrong and no pause available

so we are back to square one

Re: Help creating a profile for Panasonic BD player DMP-BD85

PostPosted: Wed Jan 26, 2011 12:54 pm
by Illico
spectre73 wrote:I am trying 0.5 with HD-DVR profile but no files are playable so I added a few lines and now the server does not start


Do you try this:

  Code:
<Profile id="6" name="DirecTV HD-DVR" extendsProfileId="1">
      <Detection>
         <HttpHeaders>
            <User-Agent>.*DIRECTV.*</User-Agent>
         </HttpHeaders>
      </Detection>
      <Transcoding>
         <Video targetContainer="mpeg" targetVCodec="mpeg2video"  targetACodec="ac3" maxVBitrate="8192">
            <Matches container="matroska" />
            <Matches container="mp4" />
            <Matches container="asf" />
            <Matches container="avi" />
            <Matches container="mpeg" />
            <Matches container="mpegts" />
            <Matches container="mpegvideo" />
            <Matches container="flv" />
         </Video>
      </Transcoding>
   </Profile>

Re: Help creating a profile for Panasonic BD player DMP-BD85

PostPosted: Wed Jan 26, 2011 1:02 pm
by Illico
spectre73 wrote:Again only the HD-DVR works and again the aspect ratio is wrong

Again the aspect ratio is a part of ffmpeg responsability and input source ratio.
We (forum community) could work to find ffmpeg option to improve that, but we need your help and your motivation.

spectre73 wrote:and no pause available

Probably a Panasonic BDP issue


...Serviio is free...do not forget