Page 1 of 3
Re: Samsung TV A-Series Serviio 0.4.2 vs 0.5.0

Posted:
Mon Mar 07, 2011 11:31 am
by laraqui
I used Handbrake to get a Fomat that is Compatible with Samsung TV A-Series and then Serviio 0.4.2 to watch on my Samsung TV. my 53 Home Video files plays correctly.
I upgraded Serviio to version 0.5.0 and select Samsung TV A-Series in rendered profile. Only two of the 53 video files play correctly , for the rest I am getting "Not Supported Video Codec " error.
I have then decided to swap the "profiles.xml" file and use Serviio 0.5.0 with that of 0.4.2. THIS DID NOT HELP
If I downgrade Serviio to the 0.4.2 version, the 53 video files work just fine.
PLease advise
Re: Samsung TV A-Series Serviio 0.4.2 vs 0.5.0

Posted:
Thu Mar 10, 2011 9:17 pm
by marcjero
Hello,
same problem here but I think I found a nice workaround. Just ask serviio to transcode mp4 and mkv to mpegts WITHOUT requesting any video codec but using ac3 codec for audio. This way serviio keeps the H264 stream as si so transcoding doesn't require a lot of cpu and quality is good. (cpu is close to 0% load during streaming)
Problems :
the A-series don't support aspect ratio for DLNA streams so many video are stretched...
sometimes the ac3 sound is jerky. I think it's a muxing issue with H264
Would like to fix the audio issue because this is the best way I found to play mkv files on this tv.
Re: Samsung TV A-Series Serviio 0.4.2 vs 0.5.0

Posted:
Thu Mar 10, 2011 9:37 pm
by zip
If you provide a working profile I can include it in 0.5.1
Re: Samsung TV A-Series Serviio 0.4.2 vs 0.5.0

Posted:
Fri Mar 11, 2011 7:16 pm
by marcjero
Hi,
as I said this is a workaround and I would prefered to stream mp4 files to tv without any transcoding. The workaround is great to play MKV on the TV.
Do you think it's possible to enable MP4 streaming again ?
I discovered 2 other issues :
-Library autorefresh doesn't seem to work for me. I don't know if the problem is on TV side or serviio side. This was working with PS3MediaServer
-Fast forward or rewind doesn't work. Was working with PMS also.
Let me know what I can do to help ?
Re: Samsung TV A-Series Serviio 0.4.2 vs 0.5.0

Posted:
Sun Mar 13, 2011 10:51 am
by marcjero
Here is my profile :
<Profile id="5" name="Samsung TV (A-series)" extendsProfileId="2">
<Detection>
<HttpHeaders>
<User-Agent>.*SamsungWiselinkPro/1.0.*</User-Agent>
</HttpHeaders>
</Detection>
<MediaFormatProfiles>
<MediaFormatProfile mime-type="video/divx">AVI</MediaFormatProfile>
</MediaFormatProfiles>
<Transcoding>
<!-- For dvr-ms files force mpeg2video transcoding to fix monotone timestamps problems -->
<Video targetContainer="mpegts" targetACodec="ac3" forceVTranscoding="true">
<Matches container="asf" vCodec="mpeg2video" />
</Video>
<!-- First remux all h264 video and ac3 audio on MPEG-TS stream -->
<Video targetContainer="mpegts">
<Matches container="mp4" vCodec="h264" aCodec="ac3"/>
<Matches container="matroska" vCodec="h264" aCodec="ac3"/>
</Video>
<!-- if audio different to ac3, must be transcoded as well -->
<Video targetContainer="mpegts" targetACodec="ac3" aBitrate="384">
<Matches container="matroska" vCodec="h264"/>
</Video>
<!-- All Others video/audio codec will be transcoded into mpeg2ts, mpeg2video and ac3 audio -->
<Video targetContainer="mpegts" targetACodec="ac3" aBitrate="384" targetVCodec="mpeg2video">
<Matches container="matroska" />
<Matches container="asf" />
</Video>
</Transcoding>
</Profile>
mkv and mp4 work great. The TV isn't detected automatically. What to do to get a good detection pattern ?
Re: Samsung TV A-Series Serviio 0.4.2 vs 0.5.0

Posted:
Sun Mar 13, 2011 12:44 pm
by Cerberus
Turn
detailed logging on and then remove all renderers and then restart serviio and post teh
detailed log then we will be able to get the detection pattern

Re: Samsung TV A-Series Serviio 0.4.2 vs 0.5.0

Posted:
Sun Mar 13, 2011 1:01 pm
by marcjero
I updated the profile : now MP4 files are never transcoded except if they contain ac3 audio track. TV is detected automatically.
Is it possible to enable direct streaming of MP4 H264 AC3 ?
I got this messge in log file :
- Code:
DEBUG [VideoDeliveryEngine] Retrieving resource information for item 17 and profile Samsung TV (A-series)
2011-03-13 16:13:41,672 WARN [VideoDeliveryEngine] Cannot resolve DLNA format profile of the original file: test.mp4. Message: MP4 video file test.mp4 does not match any supported DLNA profile
I noticed that fast forward doesn't work with transcoded files. Is it normal ?
Re: Samsung TV A-Series Serviio 0.4.2 vs 0.5.0

Posted:
Sun Mar 13, 2011 5:54 pm
by zip
post result of ffmpeg -i test.mp4
Re: Samsung TV A-Series Serviio 0.4.2 vs 0.5.0

Posted:
Sun Mar 13, 2011 6:36 pm
by marcjero
- Code:
FFmpeg version 0.6-4:0.6-2ubuntu6, Copyright (c) 2000-2010 the FFmpeg developers
built on Oct 5 2010 22:36:53 with gcc 4.4.5
configuration: --extra-version=4:0.6-2ubuntu6 --prefix=/usr --enable-avfilter --enable-avfilter-lavf --enable-vdpau --enable-bzlib --enable-libgsm --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-vaapi --enable-pthreads --enable-zlib --enable-libvpx --disable-stripping --enable-runtime-cpudetect --enable-gpl --enable-postproc --enable-x11grab --enable-libdc1394 --enable-shared --disable-static
WARNING: library configuration mismatch
libavutil configuration: --extra-version=4:0.6-2ubuntu3+medibuntu1 --prefix=/usr --enable-avfilter --enable-avfilter-lavf --enable-vdpau --enable-bzlib --enable-libdirac --enable-libgsm --enable-libopenjpeg --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-vaapi --enable-pthreads --enable-zlib --enable-libvpx --disable-stripping --enable-runtime-cpudetect --enable-libmp3lame --enable-libfaac --enable-nonfree --enable-gpl --enable-postproc --enable-x11grab --enable-libfaad --enable-libxvid --enable-libx264 --enable-librtmp --enable-libopencore-amrnb --enable-version3 --enable-libopencore-amrwb --enable-version3 --enable-libdc1394 --enable-shared --disable-static
libavcodec configuration: --extra-version=4:0.6-2ubuntu3+medibuntu1 --prefix=/usr --enable-avfilter --enable-avfilter-lavf --enable-vdpau --enable-bzlib --enable-libdirac --enable-libgsm --enable-libopenjpeg --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-vaapi --enable-pthreads --enable-zlib --enable-libvpx --disable-stripping --enable-runtime-cpudetect --enable-libmp3lame --enable-libfaac --enable-nonfree --enable-gpl --enable-postproc --enable-x11grab --enable-libfaad --enable-libxvid --enable-libx264 --enable-librtmp --enable-libopencore-amrnb --enable-version3 --enable-libopencore-amrwb --enable-version3 --enable-libdc1394 --enable-shared --disable-static
libavutil 50.15. 1 / 50.15. 1
libavcodec 52.72. 2 / 52.72. 2
libavformat 52.64. 2 / 52.64. 2
libavdevice 52. 2. 0 / 52. 2. 0
libavfilter 1.19. 0 / 1.19. 0
libswscale 0.11. 0 / 0.11. 0
libpostproc 51. 2. 0 / 51. 2. 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1648640]max_analyze_duration reached
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'test.mp4':
Metadata:
major_brand : mp42
minor_version : 0
compatible_brands: mp42isom
encoder : HandBrake 2009051101
Duration: 01:24:48.19, start: 0.000000, bitrate: 2251 kb/s
Chapter #0.0: start -0.080042, end 192.520000
Metadata:
title : Chapter 1
Chapter #0.1: start 192.520000, end 352.600000
Metadata:
title : Chapter 2
Chapter #0.2: start 352.600000, end 476.240000
Metadata:
title : Chapter 3
Chapter #0.3: start 476.240000, end 633.600000
Metadata:
title : Chapter 4
Chapter #0.4: start 633.600000, end 727.000000
Metadata:
title : Chapter 5
Chapter #0.5: start 727.000000, end 824.280000
Metadata:
title : Chapter 6
Chapter #0.6: start 824.280000, end 964.280000
Metadata:
title : Chapter 7
Chapter #0.7: start 964.280000, end 1037.240000
Metadata:
title : Chapter 8
Chapter #0.8: start 1037.240000, end 1092.120000
Metadata:
title : Chapter 9
Chapter #0.9: start 1092.120000, end 1188.600000
Metadata:
title : Chapter 10
Chapter #0.10: start 1188.600000, end 1303.960000
Metadata:
title : Chapter 11
Chapter #0.11: start 1303.960000, end 1464.320000
Metadata:
title : Chapter 12
Chapter #0.12: start 1464.320000, end 1515.840000
Metadata:
title : Chapter 13
Chapter #0.13: start 1515.840000, end 1765.280000
Metadata:
title : Chapter 14
Chapter #0.14: start 1765.280000, end 1945.920000
Metadata:
title : Chapter 15
Chapter #0.15: start 1945.920000, end 2004.800000
Metadata:
title : Chapter 16
Chapter #0.16: start 2004.800000, end 2155.800000
Metadata:
title : Chapter 17
Chapter #0.17: start 2155.800000, end 2391.800000
Metadata:
title : Chapter 18
Chapter #0.18: start 2391.800000, end 2626.200000
Metadata:
title : Chapter 19
Chapter #0.19: start 2626.200000, end 2692.920000
Metadata:
title : Chapter 20
Chapter #0.20: start 2692.920000, end 2794.200000
Metadata:
title : Chapter 21
Chapter #0.21: start 2794.200000, end 2890.960000
Metadata:
title : Chapter 22
Chapter #0.22: start 2890.960000, end 3115.520000
Metadata:
title : Chapter 23
Chapter #0.23: start 3115.520000, end 3272.280000
Metadata:
title : Chapter 24
Chapter #0.24: start 3272.280000, end 3330.960000
Metadata:
title : Chapter 25
Chapter #0.25: start 3330.960000, end 3539.000000
Metadata:
title : Chapter 26
Chapter #0.26: start 3539.000000, end 3647.640000
Metadata:
title : Chapter 27
Chapter #0.27: start 3647.640000, end 3868.800000
Metadata:
title : Chapter 28
Chapter #0.28: start 3868.800000, end 3989.400000
Metadata:
title : Chapter 29
Chapter #0.29: start 3989.400000, end 4125.920000
Metadata:
title : Chapter 30
Chapter #0.30: start 4125.920000, end 4311.360000
Metadata:
title : Chapter 31
Chapter #0.31: start 4311.360000, end 4409.240000
Metadata:
title : Chapter 32
Chapter #0.32: start 4409.240000, end 4553.600000
Metadata:
title : Chapter 33
Chapter #0.33: start 4553.600000, end 4690.240000
Metadata:
title : Chapter 34
Chapter #0.34: start 4690.240000, end 4742.840000
Metadata:
title : Chapter 35
Chapter #0.35: start 4742.840000, end 5087.320042
Metadata:
title : Chapter 36
Stream #0.0(eng): Video: h264, yuv420p, 1024x576, 1864 kb/s, 25 fps, 25 tbr, 48k tbn, 50 tbc
Stream #0.1(fra): Audio: ac3, 48000 Hz, 2 channels, s16, 384 kb/s
Stream #0.2(eng): Subtitle: text / 0x74786574, 0 kb/s
At least one output file must be specified
Re: Samsung TV A-Series Serviio 0.4.2 vs 0.5.0

Posted:
Sun Mar 13, 2011 7:32 pm
by zip
you get the error because the file doesn't match any DLNA profile (silly, I know), the only HD video in MOV must have AAC audio. You could set up remuxing it into mpegts (which will make a supported combination of container/codecs):
- Code:
<Video targetContainer="mpegts">
<Matches container="mp4" aCodec="ac3" />
</Video>
Re: Samsung TV A-Series Serviio 0.4.2 vs 0.5.0

Posted:
Sun Mar 13, 2011 7:52 pm
by marcjero
Yes I know that but there are other non DLNA compliant fomats like MKV and AVI and they are working fine. Moreover mp4 h264 with AC3 are widely used.
Re: Samsung TV A-Series Serviio 0.4.2 vs 0.5.0

Posted:
Sun Mar 13, 2011 8:36 pm
by zip
not that widely (more used with divx) and if then probably usually SD
Re: Samsung TV A-Series Serviio 0.4.2 vs 0.5.0

Posted:
Sun Mar 13, 2011 9:09 pm
by marcjero
You can find many (HD) movies encoded using this format. Apple uses it also (it's called M4V).
I was using PS3Media Server until now and PMS was allowing me to stream these files. Anyway if you don't want to extend media support it's your choice.
Re: Samsung TV A-Series Serviio 0.4.2 vs 0.5.0

Posted:
Sun Mar 13, 2011 9:28 pm
by Cerberus
marcjero wrote:You can find many (HD) movies encoded using this format. Apple uses it also (it's called M4V).
I was using PS3Media Server until now and PMS was allowing me to stream these files. Anyway if you don't want to extend media support it's your choice.
wow rude much..
Re: Samsung TV A-Series Serviio 0.4.2 vs 0.5.0

Posted:
Sun Mar 13, 2011 9:34 pm
by marcjero
I don't think I'm rude. If my sentences seem rude I'm sorry. serviio is much better than PMS else I won't be trying to make it work with my TV.
Re: Samsung TV A-Series Serviio 0.4.2 vs 0.5.0

Posted:
Mon Mar 14, 2011 12:13 am
by zip
And the above transcode config doesn't help?
Re: Samsung TV A-Series Serviio 0.4.2 vs 0.5.0

Posted:
Mon Mar 14, 2011 12:42 am
by marcjero
Yes the profile works but I noticed some audio/video sync issues in some cases.
Moreover fast forward / rewind doesn't work with transcoding.
This is the reason I would prefer to stream my mp4 files directly and use remux only to get additional mkv support. You see A series only support MP4 (and AVI) containers for H264. It is also supporting (not officially) MP4 with AC3 so I just kept the existing AC3 track in most of my movies. I suppose I can convert them to AAC but it will take a long time.
Re: Samsung TV A-Series Serviio 0.4.2 vs 0.5.0

Posted:
Mon Mar 14, 2011 1:09 am
by Cerberus
mp4 isnt a valid container for streaming.
Re: Samsung TV A-Series Serviio 0.4.2 vs 0.5.0

Posted:
Mon Mar 14, 2011 8:47 am
by marcjero
Would like to know why MP4 isn't good for streaming. MP4 can be optimized for HTTP streaming, there are options for that in encoding tools like handbrake.
Re: Samsung TV A-Series Serviio 0.4.2 vs 0.5.0

Posted:
Mon Mar 14, 2011 10:07 am
by Cerberus
so would we all liek to know but sadly it isnt so not alot can be done till it is or by trancoding it liek we do now..