Page 1 of 1

[Solved] BR plays Online file but TV gets invalid Codec

PostPosted: Sat Oct 08, 2011 4:57 am
by jhb50
I have a Samsung D series TV and a Samsung D series BR player.
Both are recognized by Serviio and utilize the same Samsung C/D Profile.

When accessing the Earth-Touch feeds that are all .mov files that transcode, all play correctly if accessed by the BR, but if accessed by the TV I get Invalid Video Codec.

Using this feed as an example:
http://feedproxy.google.com/~r/bestofea ... _voice.mov

Here is the ffmpeg -i output:
  Code:
C:\Users\John>"C:\Program Files (x86)\Serviio\lib\ffmpeg.exe" -i http://feedprox
y.google.com/~r/bestofearthtouch-hd/~5/6MHDuu9WAFA/BOF0311_QT720_voice.mov
ffmpeg version N-31480-g8bc3a48, Copyright (c) 2000-2011 the FFmpeg developers
  built on Jul 14 2011 23:37:53 with gcc 4.4.2
  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-mingw32- --pkg-config=pkg-co
nfig
  libavutil    51. 11. 0 / 51. 11. 0
  libavcodec   53.  8. 0 / 53.  8. 0
  libavformat  53.  6. 0 / 53.  6. 0
  libavdevice  53.  2. 0 / 53.  2. 0
  libavfilter   2. 25. 0 /  2. 25. 0
  libswscale    2.  0. 0 /  2.  0. 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 003e8d80] max_analyze_duration 5000000 reached at 501
3333

Seems stream 0 codec frame rate differs from container frame rate: 5000.00 (5000
/1) -> 25.00 (25/1)
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'http://feedproxy.google.com/~r/bestofea
rthtouch-hd/~5/6MHDuu9WAFA/BOF0311_QT720_voice.mov':
  Metadata:
    major_brand     : qt
    minor_version   : 537199360
    compatible_brands: qt
    creation_time   : 2011-06-09 11:43:12
  Duration: 00:03:41.37, start: 0.000000, bitrate: 4704 kb/s
    Stream #0.0(eng): Video: h264 (Main), yuv420p, 1280x720, 4569 kb/s, 25 fps,
25 tbr, 2500 tbn, 5k tbc
    Metadata:
      creation_time   : 2011-06-09 11:43:12
    Stream #0.1(eng): Data: tmcd / 0x64636D74, 0 kb/s
    Metadata:
      creation_time   : 2011-06-09 11:43:12
    Stream #0.2(eng): Audio: aac, 48000 Hz, stereo, s16, 127 kb/s
    Metadata:
      creation_time   : 2011-06-09 11:43:12
At least one output file must be specified


And attached is the log showing the play back on the BR (:64) and failure on the TV (:65)

How do I get them to play on the TV?

Re: BR plays Online file but TV gets invalid Codec

PostPosted: Sat Oct 08, 2011 6:35 am
by Cerberus
online transcoding needs to be setup for the D series devices.

Re: BR plays Online file but TV gets invalid Codec

PostPosted: Sat Oct 08, 2011 12:23 pm
by jhb50
That's no help. The profile obviously works for the D series BR so why not the D series TV.

Re: BR plays Online file but TV gets invalid Codec

PostPosted: Sat Oct 08, 2011 6:04 pm
by Cerberus
cause the BR does not always have same support as the TV.

Re: BR plays Online file but TV gets invalid Codec

PostPosted: Sat Oct 08, 2011 6:53 pm
by jhb50
If you can't help please refrain from responding. Its obvious that the transcoding is to MPEG and to suggest that the TV cannot support MPEG is ....

Re: BR plays Online file but TV gets invalid Codec

PostPosted: Sat Oct 08, 2011 7:21 pm
by Cerberus
jhb50 wrote:If you can't help please refrain from responding. Its obvious that the transcoding is to MPEG and to suggest that the TV cannot support MPEG is ....


two types it can be transcoded to though mpegps and mpegts, both will give different results. try this.

  Code:
        <OnlineTranscoding>
         <Video targetContainer="mpegts" targetVCodec="mpeg2video" targetACodec="ac3" aBitrate="384">
            <Matches container="mp4"/>
         </Video>
         <Audio targetContainer="lpcm">
            <Matches container="flv"/>
            <Matches container="flac" />
            <Matches container="ogg" />
         </Audio>
      </OnlineTranscoding>

Re: BR plays Online file but TV gets invalid Codec

PostPosted: Sat Oct 08, 2011 8:48 pm
by jhb50
Thanks Phil. I appreciated that. I had forgotten that c/d added to b.

I tried it but the TV still gives unsupported video codec, and the BR plays the ts the same as it plays the ps.

I think I'll raise a ticket.

Re: BR plays Online file but TV gets invalid Codec

PostPosted: Sat Oct 08, 2011 8:51 pm
by Cerberus
yer im not sure how MOV files are handled by serviio. so i might have the wrong match container. someone like illico needs to take a look or as u said might be a bug in serviio to do with MOV files in online sources.

Re: BR plays Online file but TV gets invalid Codec

PostPosted: Sat Oct 08, 2011 9:18 pm
by jhb50
OK, I've raised a ticket for the fact that the transcoded .mov (.mp4) streams will not play, but I've solved the problem by eliminating the transcoding of online .mp4 streams because both the Series D BR and TV will play .mp4 natively. To do this you have to comment out the .mp4 line in both the default(1) and B series(2) profiles.

Re: [Solved] BR plays Online file but TV gets invalid Codec

PostPosted: Sun Oct 09, 2011 7:30 pm
by jhb50
The correct solution to this per zip is to add the following to the C/D profile:

<OnlineTranscoding>
<Video targetContainer="mpegts" targetACodec="ac3" aBitrate="384">
<Matches container="mp4"/>
<Matches container="flv"/>
</Video>
<Audio targetContainer="mp3">
<Matches container="flv"/>
</Audio>
</OnlineTranscoding>

This remuxes the streams into a TS container and the Series D plays the online stream correctly. Per zip the online streams must be muxed since they can fail if left in their native state.

Re: [Solved] BR plays Online file but TV gets invalid Codec

PostPosted: Mon Feb 06, 2012 5:15 pm
by james99
@jhb50 Yup I am agree with you :)