FAQ  •  Register  •  Login

Samsung TV C/D/E Series -Buffers when transcoding

<<

ialomia

Serviio newbie

Posts: 9

Joined: Sat Sep 01, 2012 6:12 am

Post Fri Oct 12, 2012 8:02 am

Samsung TV C/D/E Series -Buffers when transcoding

With the standard configuration, buffering occurs when transcoding.

change from:

<Matches container="mp4" vCodec="mpeg4" aCodec="lpcm" />
</Video>
<!-- transcode H264 MP4 files with LPCM audio -->
<Video targetContainer="mpegts" targetACodec="ac3">
<Matches container="mpegts" aCodec="mp2" />
<Matches container="mp4" aCodec="lpcm" />
<Matches container="flv" vCodec="h264" />
<Matches container="matroska" vCodec="h264" aCodec="flac" />
<Matches container="matroska" vCodec="h264" aCodec="vorbis" />
<Matches container="matroska" vCodec="h264" aCodec="truehd" />
<Matches container="matroska" vCodec="vc1" />
<Matches container="ogg" vCodec="mpeg4" />
<Matches container="3gp" aCodec="amrnb" />
</Video>

Changing the configuration to the following, buffering does not occur. However play time and file size information does not appear.

Change to:

<Matches container="mp4" vCodec="mpeg4" aCodec="aac" />
</Video>
<!-- transcode H264 MP4 files with AAC audio -->
<Video targetContainer="mpegts" targetACodec="ac3">
<Matches container="mpegts" aCodec="mp2" />
<Matches container="mp4" aCodec="aac" />
<Matches container="flv" vCodec="h264" />
<Matches container="matroska" vCodec="h264" aCodec="flac" />
<Matches container="matroska" vCodec="h264" aCodec="vorbis" />
<Matches container="matroska" vCodec="h264" aCodec="truehd" />
<Matches container="matroska" vCodec="vc1" />
<Matches container="ogg" vCodec="mpeg4" />
<Matches container="3gp" aCodec="amrnb" />
</Video>

What needs to be changed or added for the play time and file size information to appear.
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Tue Oct 16, 2012 8:36 pm

Re: Samsung TV C/D/E Series -Buffers when transcoding

That makes no sense. You are transcoding all mp4 files with aac audio, which should play natively and were most likely not transcoded. You lost file size because the file is now transcoded.
<<

ialomia

Serviio newbie

Posts: 9

Joined: Sat Sep 01, 2012 6:12 am

Post Tue Oct 16, 2012 9:37 pm

Re: Samsung TV C/D/E Series -Buffers when transcoding

Okay, the original configuration with lpcm buffering occurs. When I change the configuration to aac buffering does not occur play time and file size indicates not available.
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Tue Oct 23, 2012 4:38 pm

Re: Samsung TV C/D/E Series -Buffers when transcoding

Can you post ffmpeg -i of the file?
<<

ialomia

Serviio newbie

Posts: 9

Joined: Sat Sep 01, 2012 6:12 am

Post Sat Oct 27, 2012 1:18 am

Re: Samsung TV C/D/E Series -Buffers when transcoding

Microsoft Windows [Version 5.2.3790]
(C) Copyright 1985-2003 Microsoft Corp.


C:\Documents and Settings\unreal.VIDEOSERVER>cd \

C:\>cd C:\Program Files\Serviio\lib

C:\Program Files\Serviio\lib>ffmpeg.exe -i D:\shares\Videos\2012
ffmpeg version N-42368-gbf53863 Copyright (c) 2000-2012 the FFmpeg developers
built on Jul 10 2012 03:40:45 with gcc 4.6.3
configuration: --enable-static --disable-shared --disable-ffplay --disable-ffs
erver --enable-memalign-hack --enable-libmp3lame --enable-librtmp --extra-libs='
-lrtmp -lpolarssl -lws2_32 -lwinmm' --arch=x86 --enable-runtime-cpudetect --enab
le-pthreads --target-os=mingw32 --cross-prefix=i686-w64-mingw32- --pkg-config=pk
g-config
libavutil 51. 64.100 / 51. 64.100
libavcodec 54. 33.100 / 54. 33.100
libavformat 54. 15.102 / 54. 15.102
libavdevice 54. 1.100 / 54. 1.100
libavfilter 3. 1.100 / 3. 1.100
libswscale 2. 1.100 / 2. 1.100
libswresample 0. 15.100 / 0. 15.100
D:\shares\Videos\2012: Permission denied

C:\Program Files\Serviio\lib>ffmpeg.exe -i D:\shares\Videos\A Perfect Getaway
ffmpeg version N-42368-gbf53863 Copyright (c) 2000-2012 the FFmpeg developers
built on Jul 10 2012 03:40:45 with gcc 4.6.3
configuration: --enable-static --disable-shared --disable-ffplay --disable-ffs
erver --enable-memalign-hack --enable-libmp3lame --enable-librtmp --extra-libs='
-lrtmp -lpolarssl -lws2_32 -lwinmm' --arch=x86 --enable-runtime-cpudetect --enab
le-pthreads --target-os=mingw32 --cross-prefix=i686-w64-mingw32- --pkg-config=pk
g-config
libavutil 51. 64.100 / 51. 64.100
libavcodec 54. 33.100 / 54. 33.100
libavformat 54. 15.102 / 54. 15.102
libavdevice 54. 1.100 / 54. 1.100
libavfilter 3. 1.100 / 3. 1.100
libswscale 2. 1.100 / 2. 1.100
libswresample 0. 15.100 / 0. 15.100
D:\shares\Videos\A: No such file or directory

C:\Program Files\Serviio\lib>ffmpeg.exe -i D:\shares\Videos\300
ffmpeg version N-42368-gbf53863 Copyright (c) 2000-2012 the FFmpeg developers
built on Jul 10 2012 03:40:45 with gcc 4.6.3
configuration: --enable-static --disable-shared --disable-ffplay --disable-ffs
erver --enable-memalign-hack --enable-libmp3lame --enable-librtmp --extra-libs='
-lrtmp -lpolarssl -lws2_32 -lwinmm' --arch=x86 --enable-runtime-cpudetect --enab
le-pthreads --target-os=mingw32 --cross-prefix=i686-w64-mingw32- --pkg-config=pk
g-config
libavutil 51. 64.100 / 51. 64.100
libavcodec 54. 33.100 / 54. 33.100
libavformat 54. 15.102 / 54. 15.102
libavdevice 54. 1.100 / 54. 1.100
libavfilter 3. 1.100 / 3. 1.100
libswscale 2. 1.100 / 2. 1.100
libswresample 0. 15.100 / 0. 15.100
D:\shares\Videos\300: Permission denied

C:\Program Files\Serviio\lib>
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Sat Oct 27, 2012 12:21 pm

Re: Samsung TV C/D/E Series -Buffers when transcoding

you have to provide the full file path (incl. the file name), not just the folder path after the -i parameter.

Are you on wifi or wired connection?
<<

ialomia

Serviio newbie

Posts: 9

Joined: Sat Sep 01, 2012 6:12 am

Post Sun Oct 28, 2012 3:21 am

Re: Samsung TV C/D/E Series -Buffers when transcoding

My network wired and I am using the "C:\Program Files\Serviio\lib>ffmpeg.exe -i C:\Sanctum\Sanctum" command. Can you tell the correct command line to use?

C:\Program Files\Serviio\lib>ffmpeg.exe -i C:\Sanctum\Sanctum
ffmpeg version N-42368-gbf53863 Copyright (c) 2000-2012 the FFmpeg developers
built on Jul 10 2012 03:40:45 with gcc 4.6.3
configuration: --enable-static --disable-shared --disable-ffplay --disable-ffs
erver --enable-memalign-hack --enable-libmp3lame --enable-librtmp --extra-libs='
-lrtmp -lpolarssl -lws2_32 -lwinmm' --arch=x86 --enable-runtime-cpudetect --enab
le-pthreads --target-os=mingw32 --cross-prefix=i686-w64-mingw32- --pkg-config=pk
g-config
libavutil 51. 64.100 / 51. 64.100
libavcodec 54. 33.100 / 54. 33.100
libavformat 54. 15.102 / 54. 15.102
libavdevice 54. 1.100 / 54. 1.100
libavfilter 3. 1.100 / 3. 1.100
libswscale 2. 1.100 / 2. 1.100
libswresample 0. 15.100 / 0. 15.100
C:\Sanctum\Sanctum: No such file or directory
<<

ialomia

Serviio newbie

Posts: 9

Joined: Sat Sep 01, 2012 6:12 am

Post Sun Oct 28, 2012 12:57 pm

Re: Samsung TV C/D/E Series -Buffers when transcoding

I finally figured out the error. Below is the what you requested.


C:\Program Files\Serviio\lib>ffmpeg.exe -i "M:\Videos\Sherlock Holmes\ps3\Sherlo
ck Holmes\Sherlock Holmes.mp4"
ffmpeg version N-42368-gbf53863 Copyright (c) 2000-2012 the FFmpeg developers
built on Jul 10 2012 03:40:45 with gcc 4.6.3
configuration: --enable-static --disable-shared --disable-ffplay --disable-ffs
erver --enable-memalign-hack --enable-libmp3lame --enable-librtmp --extra-libs='
-lrtmp -lpolarssl -lws2_32 -lwinmm' --arch=x86 --enable-runtime-cpudetect --enab
le-pthreads --target-os=mingw32 --cross-prefix=i686-w64-mingw32- --pkg-config=pk
g-config
libavutil 51. 64.100 / 51. 64.100
libavcodec 54. 33.100 / 54. 33.100
libavformat 54. 15.102 / 54. 15.102
libavdevice 54. 1.100 / 54. 1.100
libavfilter 3. 1.100 / 3. 1.100
libswscale 2. 1.100 / 2. 1.100
libswresample 0. 15.100 / 0. 15.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'M:\Videos\Sherlock Holmes\ps3\Sherlock
Holmes\Sherlock Holmes.mp4':
Metadata:
major_brand : mp42
minor_version : 0
compatible_brands: mp42isom
title : Sherlock Holmes
Duration: 02:08:24.87, start: 0.000000, bitrate: 7881 kb/s
Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1920x1080
, 7430 kb/s, 23.98 fps, 24 tbr, 90k tbn, 47.95 tbc
Stream #0:1(und): Audio: aac (mp4a / 0x6134706D), 48000 Hz, 5.1, s16, 447 kb
/s
At least one output file must be specified

C:\Program Files\Serviio\lib>ffmpeg.exe -i "M:\Videos\The Hunger Games\ps3\The H
unger Games\The Hunger Games.mp4"
ffmpeg version N-42368-gbf53863 Copyright (c) 2000-2012 the FFmpeg developers
built on Jul 10 2012 03:40:45 with gcc 4.6.3
configuration: --enable-static --disable-shared --disable-ffplay --disable-ffs
erver --enable-memalign-hack --enable-libmp3lame --enable-librtmp --extra-libs='
-lrtmp -lpolarssl -lws2_32 -lwinmm' --arch=x86 --enable-runtime-cpudetect --enab
le-pthreads --target-os=mingw32 --cross-prefix=i686-w64-mingw32- --pkg-config=pk
g-config
libavutil 51. 64.100 / 51. 64.100
libavcodec 54. 33.100 / 54. 33.100
libavformat 54. 15.102 / 54. 15.102
libavdevice 54. 1.100 / 54. 1.100
libavfilter 3. 1.100 / 3. 1.100
libswscale 2. 1.100 / 2. 1.100
libswresample 0. 15.100 / 0. 15.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'M:\Videos\The Hunger Games\ps3\The Hung
er Games\The Hunger Games.mp4':
Metadata:
major_brand : mp42
minor_version : 0
compatible_brands: mp42isom
title : The Hunger Games
Duration: 02:22:33.62, start: 0.000000, bitrate: 5804 kb/s
Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1920x800,
5353 kb/s, 23.98 fps, 23.92 tbr, 90k tbn, 47.95 tbc
Stream #0:1(und): Audio: aac (mp4a / 0x6134706D), 48000 Hz, 5.1, s16, 447 kb
/s
At least one output file must be specified

C:\Program Files\Serviio\lib
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Wed Oct 31, 2012 2:07 pm

Re: Samsung TV C/D/E Series -Buffers when transcoding

It looks like the TV has problems with the AAC audio in MP4 container, at least in your case. Try to upgrade firmware. Otherwise your fix will transcode audio to ac3, causing the missing information (filesize - we don't know the file size of the future transcoded file, duration - it's a problem with Samsungs, they ignore the data Serviio sends).
<<

ialomia

Serviio newbie

Posts: 9

Joined: Sat Sep 01, 2012 6:12 am

Post Thu Nov 01, 2012 7:45 am

Re: Samsung TV C/D/E Series -Buffers when transcoding

That is what I figured and Samsung has no recent firmware upgrades. Thanks for the help.

Return to Samsung

Who is online

Users browsing this forum: No registered users and 9 guests

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