FAQ  •  Register  •  Login

Samsung TV A-Series Serviio 0.4.2 vs 0.5.0

<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Mon Mar 14, 2011 11:37 am

Re: Samsung TV A-Series Serviio 0.4.2 vs 0.5.0

It stores some of the stream information (atoms) at the end of the file. I think it can be hacked (a guy at worked managed to do that) so that it stores them all at the beginning, but I doubt FFmpeg has this option.
<<

marcjero

Streaming enthusiast

Posts: 31

Joined: Sat Mar 05, 2011 5:13 pm

Post Mon Mar 14, 2011 6:57 pm

Re: Samsung TV A-Series Serviio 0.4.2 vs 0.5.0

Yes I think handbrake is relocating the metadata at the begining of the file with the http streaming option. So far no problem streaming MP4 using a 100mb network. Without the streaming option playback throught DLNA is very jerky.

Anyway MP4 is the only interesting format supported on the A-Series. MPEGTS works but has aspect ratio issues (samygo fixed that but for mpeg2 streams only). AVI works also but it's a little bit outdated format.

Is it possible to enable mp4 target container for ffmpeg transcoding ? I would like to test this. Could fix the aspect ratio issue.
<<

Cerberus

User avatar

DLNA master

Posts: 4114

Joined: Sun Jan 02, 2011 5:20 pm

Location: Reading, UK

Post Mon Mar 14, 2011 8:15 pm

Re: Samsung TV A-Series Serviio 0.4.2 vs 0.5.0

marcjero wrote:Yes I think handbrake is relocating the metadata at the begining of the file with the http streaming option. So far no problem streaming MP4 using a 100mb network. Without the streaming option playback throught DLNA is very jerky.

Anyway MP4 is the only interesting format supported on the A-Series. MPEGTS works but has aspect ratio issues (samygo fixed that but for mpeg2 streams only). AVI works also but it's a little bit outdated format.

Is it possible to enable mp4 target container for ffmpeg transcoding ? I would like to test this. Could fix the aspect ratio issue.


mp4 is not a working streamable container for DLNA it not a case of just enabling it cause it not there at all..
Phil Bennett
Beta Tester Group
Wiki | FAQ

Samsung LE40C750 LCD | Samsung BD-C5900 | Sony PS3 | Windows 7 |
HowTo: Provide supported formats of a device HowTo: Record a new ticket on Bitbucket
HowTo: Provide details of a video file that doesn't play HowTo: Turn on detailed logging
<<

marcjero

Streaming enthusiast

Posts: 31

Joined: Sat Mar 05, 2011 5:13 pm

Post Mon Mar 14, 2011 8:28 pm

Re: Samsung TV A-Series Serviio 0.4.2 vs 0.5.0

mp4 is not a working streamable container for DLNA it not a case of just enabling it cause it not there at all..


I don't understand the point. MP4 H264 AAC files are working fine with servioo (and other servers) without transcoding. I suppose you mean MP4 AC3 right ?
<<

Cerberus

User avatar

DLNA master

Posts: 4114

Joined: Sun Jan 02, 2011 5:20 pm

Location: Reading, UK

Post Mon Mar 14, 2011 8:34 pm

Re: Samsung TV A-Series Serviio 0.4.2 vs 0.5.0

marcjero wrote:
mp4 is not a working streamable container for DLNA it not a case of just enabling it cause it not there at all..


I don't understand the point. MP4 H264 AAC files are working fine with servioo (and other servers) without transcoding. I suppose you mean MP4 AC3 right ?


mp4 has to be transcoded before it can be streamed as it is not a streamable container.
Phil Bennett
Beta Tester Group
Wiki | FAQ

Samsung LE40C750 LCD | Samsung BD-C5900 | Sony PS3 | Windows 7 |
HowTo: Provide supported formats of a device HowTo: Record a new ticket on Bitbucket
HowTo: Provide details of a video file that doesn't play HowTo: Turn on detailed logging
<<

marcjero

Streaming enthusiast

Posts: 31

Joined: Sat Mar 05, 2011 5:13 pm

Post Mon Mar 14, 2011 9:25 pm

Re: Samsung TV A-Series Serviio 0.4.2 vs 0.5.0

How do you explain that I have about 40 MP4 files (between 1 and 2gb size each) that I can play on the TV from server and without any transcoding ?
The player starts displaying the movie after about maybe 10sec max so it doesn't download the full file before I guess.
<<

Cerberus

User avatar

DLNA master

Posts: 4114

Joined: Sun Jan 02, 2011 5:20 pm

Location: Reading, UK

Post Mon Mar 14, 2011 9:59 pm

Re: Samsung TV A-Series Serviio 0.4.2 vs 0.5.0

yer real time transcoding (on the fly) :)
Phil Bennett
Beta Tester Group
Wiki | FAQ

Samsung LE40C750 LCD | Samsung BD-C5900 | Sony PS3 | Windows 7 |
HowTo: Provide supported formats of a device HowTo: Record a new ticket on Bitbucket
HowTo: Provide details of a video file that doesn't play HowTo: Turn on detailed logging
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Mon Mar 14, 2011 10:11 pm

Re: Samsung TV A-Series Serviio 0.4.2 vs 0.5.0

NP4 files have to be fully transcoded before you attempt playing then, as they save some information needed for the playback at the end of the file
<<

marcjero

Streaming enthusiast

Posts: 31

Joined: Sat Mar 05, 2011 5:13 pm

Post Mon Mar 14, 2011 11:06 pm

Re: Samsung TV A-Series Serviio 0.4.2 vs 0.5.0

Ok I see what you mean. Even when MP4 is optimized for streaming, player still requests some parts located at the end of the file so these data can be unavailable because ffmpeg didn't transcode the whole file yet. So muxing to MP4 isn't possible.
<<

marcjero

Streaming enthusiast

Posts: 31

Joined: Sat Mar 05, 2011 5:13 pm

Post Sun Mar 20, 2011 11:00 am

Re: Samsung TV A-Series Serviio 0.4.2 vs 0.5.0

Hello,

isn't it possible to use the MP4 H264 AAC DLNA profile to stream MP4 H264 AC3 ? I think this should work for most receivers supporting this format. (It seems that PS3 does as well)
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Sun Mar 20, 2011 11:19 am

Re: Samsung TV A-Series Serviio 0.4.2 vs 0.5.0

marcjero wrote:Hello,

isn't it possible to use the MP4 H264 AAC DLNA profile to stream MP4 H264 AC3 ? I think this should work for most receivers supporting this format. (It seems that PS3 does as well)

Is that supported by the TV?
<<

marcjero

Streaming enthusiast

Posts: 31

Joined: Sat Mar 05, 2011 5:13 pm

Post Sun Mar 20, 2011 8:10 pm

Re: Samsung TV A-Series Serviio 0.4.2 vs 0.5.0

Yes
<<

PeterAS

User avatar

Serviio newbie

Posts: 6

Joined: Mon Mar 28, 2011 8:42 pm

Location: Denmark

Post Tue Mar 29, 2011 8:21 am

Re: Samsung TV A-Series Serviio 0.4.2 vs 0.5.0

I am New to SerViiO and I uses MediaPortal TV Server for recording.
Lately I have switched to Win7, and therfore can't use Samsung PC Share Manager 1.5.3 no more.

I have tried a few other DLNA servers before I tried SerViiO and i must say SerViiO is the most attractive one :-) :D !

But not all my *.ts files are reconized by SerViiO, and I have used VLC player to find the difference, and here it is:

Working okay:
Video Codec: MPEG-1/2 Video (mpgv)
Audio Codec: MPEG Audio layer 1/2/3 (mpga)

Not Working - but worked okay with winXP and Samung PC Share Manger "No transcoding" I assume.
Video Codec: H264 - MPEG-4 AVC (part 10) (h264)
Audio Codec: MPEG AAC Audio (mp4a)
How it dosn't work -
These files will not appear when browsing from the TV.
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Tue Mar 29, 2011 9:11 am

Re: Samsung TV A-Series Serviio 0.4.2 vs 0.5.0

Did you give enough time for them to be added to the library? Can you check the log to see if the files have been added?
<<

PeterAS

User avatar

Serviio newbie

Posts: 6

Joined: Mon Mar 28, 2011 8:42 pm

Location: Denmark

Post Tue Mar 29, 2011 9:44 am

Re: Samsung TV A-Series Serviio 0.4.2 vs 0.5.0

I have tried SerViiO for some days and have just check the log, a lots of "Added file" statements but all for the channels with ok codec.

PS: Here are what ffmpeg says about the two type of files, The first is okay, the later not shown at TV :
D:\Program Files (x86)\Serviio\lib>ffmpeg.exe -i "d:\My Recordings\Filmperler Sideways_DR2_2011-03-28_20-30.ts"
FFmpeg version UNKNOWN, Copyright (c) 2000-2011 the FFmpeg developers
built on Jan 10 2011 21:46:22 with gcc 4.4.2
configuration: --enable-static --disable-shared --disable-shared --disable-ffplay --disable-ffserver --enable-memalign
-hack --enable-libmp3lame --arch=x86 --enable-runtime-cpudetect --enable-w32threads --target-os=mingw32 --cross-prefix=i
686-mingw32-
libavutil 50.36. 0 / 50.36. 0
libavcore 0.16. 0 / 0.16. 0
libavcodec 52.108. 0 / 52.108. 0
libavformat 52.92. 0 / 52.92. 0
libavdevice 52. 2. 3 / 52. 2. 3
libavfilter 1.72. 0 / 1.72. 0
libswscale 0.12. 0 / 0.12. 0
[mpeg2video @ 031480b0] mpeg_decode_postinit() failure
Last message repeated 2 times
[mpegts @ 0120bcb0] max_analyze_duration reached
Input #0, mpegts, from 'd:\My Recordings\Filmperler Sideways_DR2_2011-03-28_20-30.ts':
Duration: 02:06:37.57, start: 0.112267, bitrate: 4949 kb/s
Program 137
Stream #0.0[0x30]: Video: mpeg2video, yuv420p, 704x576 [PAR 16:11 DAR 16:9], 15000 kb/s, 25.20 fps, 25 tbr, 90k tbn,
50 tbc
Stream #0.1[0x40](dan): Audio: mp2, 48000 Hz, 2 channels, s16, 256 kb/s
Stream #0.2[0x60](dan): Subtitle: [6][0][0][0] / 0x0006
At least one output file must be specified

D:\Program Files (x86)\Serviio\lib>ffmpeg.exe -i "d:\My Recordings\Black Rain - DR HD - 2011-03-27 15-10.ts"
FFmpeg version UNKNOWN, Copyright (c) 2000-2011 the FFmpeg developers
built on Jan 10 2011 21:46:22 with gcc 4.4.2
configuration: --enable-static --disable-shared --disable-shared --disable-ffplay --disable-ffserver --enable-memalign
-hack --enable-libmp3lame --arch=x86 --enable-runtime-cpudetect --enable-w32threads --target-os=mingw32 --cross-prefix=i
686-mingw32-
libavutil 50.36. 0 / 50.36. 0
libavcore 0.16. 0 / 0.16. 0
libavcodec 52.108. 0 / 52.108. 0
libavformat 52.92. 0 / 52.92. 0
libavdevice 52. 2. 3 / 52. 2. 3
libavfilter 1.72. 0 / 1.72. 0
libswscale 0.12. 0 / 0.12. 0
[h264 @ 012246b0] non-existing PPS referenced
[h264 @ 012246b0] non-existing PPS 0 referenced
[h264 @ 012246b0] decode_slice_header error
[h264 @ 012246b0] no frame!
[h264 @ 012246b0] non-existing PPS referenced
[h264 @ 012246b0] non-existing PPS 0 referenced
[h264 @ 012246b0] decode_slice_header error
[h264 @ 012246b0] no frame!
[h264 @ 012246b0] number of reference frames exceeds max (probably corrupt input), discarding one
Last message repeated 1 times
[mpegts @ 0035bcb0] max_analyze_duration reached
Input #0, mpegts, from 'd:\My Recordings\Black Rain - DR HD - 2011-03-27 15-10.ts':
Duration: 17:36:39.22, start: 0.067133, bitrate: 636 kb/s
Program 137
Stream #0.0[0x84](dan): Subtitle: [6][0][0][0] / 0x0006
Stream #0.1[0x30]: Video: h264, yuv420p, 1280x720 [PAR 1:1 DAR 16:9], 50.20 fps, 50 tbr, 90k tbn, 100 tbc
Stream #0.2[0x40](dan): Audio: aac_latm, 48000 Hz, stereo, s16
Stream #0.3[0x41](dan): Audio: aac_latm, 48000 Hz, 5.1, s16
Stream #0.4[0x50](dan): Subtitle: dvbsub
Stream #0.5[0x51](dan): Subtitle: dvbsub
At least one output file must be specified

D:\Program Files (x86)\Serviio\lib>
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Tue Mar 29, 2011 9:55 am

Re: Samsung TV A-Series Serviio 0.4.2 vs 0.5.0

I suspect the audio codec is not recognized by Serviio. I'll create a ticket.
<<

PeterAS

User avatar

Serviio newbie

Posts: 6

Joined: Mon Mar 28, 2011 8:42 pm

Location: Denmark

Post Tue Mar 29, 2011 11:12 am

Re: Samsung TV A-Series Serviio 0.4.2 vs 0.5.0

Just FYI.

I have tried to provide the TV info, but Device Spy, newer showed the device info, see attachment.

PS: Only one TV is connected but SerViiO shows the IP 3 times, see attachment. I have selected profile, Samsung TV (A-series) hence my TV have the label LE55A, but profile (B) also seams to work the same...

If you need any info, test - then I am glad to provide. :D
Attachments
Serviio console DLNA Info.png
Serviio console DLNA Info.png (125.14 KiB) Viewed 15387 times
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Tue Mar 29, 2011 12:08 pm

Re: Samsung TV A-Series Serviio 0.4.2 vs 0.5.0

are you running 0.5.2?
<<

PeterAS

User avatar

Serviio newbie

Posts: 6

Joined: Mon Mar 28, 2011 8:42 pm

Location: Denmark

Post Tue Mar 29, 2011 12:28 pm

Re: Samsung TV A-Series Serviio 0.4.2 vs 0.5.0

Yes I am running latest version 0.5.2.
<<

marcjero

Streaming enthusiast

Posts: 31

Joined: Sat Mar 05, 2011 5:13 pm

Post Sat Jul 07, 2012 5:17 pm

Re: Samsung TV A-Series Serviio 0.6.2

Hello,

is it possible to include these updates for the A-Series profile ?

A-Series TV detection rule :
<Detection>
<HttpHeaders>
<User-Agent>.*SamsungWiselinkPro/1.0.*</User-Agent>
</HttpHeaders>
</Detection>

MKV remuxing rule (at position 2) :
<Video targetContainer="mpegts" targetACodec="ac3">
<Matches container="matroska" vCodec="h264"/>
</Video>

Works great for me. I recommend to install the samygo firmware to fix the annoying aspect ratio bugs of the TV player. I'm only missing the ff/rw.
PreviousNext

Return to Samsung

Who is online

Users browsing this forum: Google [Bot] and 22 guests

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.