FAQ  •  Register  •  Login

AVC_TS_MP_HD_AC3 vs. MPEG_TS_HD_NA

<<

Fig

Streaming enthusiast

Posts: 42

Joined: Wed Jul 21, 2010 1:25 pm

Post Tue Sep 21, 2010 8:50 pm

AVC_TS_MP_HD_AC3 vs. MPEG_TS_HD_NA

I have noticed that this year's Bravia TV support the AVC HD profile. My 2009 Bravia does not support it, but may support the MPEG_TS_HD_NA profile. Can you explain the differences between them? Is the AVC profile MPEG-4 video and audio in an MP4 container? I am wondering if I can transcode all my Mpeg-4 HD content to MPEG-2 HD and have it play. As it is now, I think FFMPEG is trancoding to SD. Sorry in advance is this question is odd, I know just enough about MPEG to ask goofy questions... :?
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17212

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Tue Sep 21, 2010 9:17 pm

Re: AVC_TS_MP_HD_AC3 vs. MPEG_TS_HD_NA

MPEG_TS_HD_NA is Mpeg2 video in a Mpeg2TS container
AVC_TS_MP_HD_AC3 is H264 video in a Mepg2TS container (with ac3 audio)

FFmpeg is rewrapping/transcoding to the same resolution as the original
<<

Fig

Streaming enthusiast

Posts: 42

Joined: Wed Jul 21, 2010 1:25 pm

Post Wed Sep 22, 2010 12:12 am

Re: AVC_TS_MP_HD_AC3 vs. MPEG_TS_HD_NA

OK thanks. That makes sense. so is the H.264 to MPEG2 conversion part of the generic profile or should it be added to my TV's profile?
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17212

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Wed Sep 22, 2010 8:52 am

Re: AVC_TS_MP_HD_AC3 vs. MPEG_TS_HD_NA

Generic profile has no transcoding. There is transcoding set up for Bravia's (at least the 2010 models) which uses Bravia's _50 profiles instead. There is a thread here somewhere, talk to Illico for help.
<<

Illico

User avatar

DLNA master

Posts: 4646

Joined: Fri Jul 23, 2010 8:08 am

Location: France

Post Wed Sep 22, 2010 1:26 pm

Re: AVC_TS_MP_HD_AC3 vs. MPEG_TS_HD_NA

zip wrote:... There is a thread here somewhere, talk to Illico for help.

Have a look on this viewtopic.php?f=5&t=425&p=3350#p3350
Illico
Sony 2010 KDL-46EX501 | BDP-S373 | SMP-N100 | Windows 8-i7 | Network DD HD-CE1.5TLU2 | Livebox2-UHD86 | ServiiDroid | ServiiGo | BubbleUPnP
Serviio beta tester - Moderator
<<

Fig

Streaming enthusiast

Posts: 42

Joined: Wed Jul 21, 2010 1:25 pm

Post Wed Sep 22, 2010 1:46 pm

Re: AVC_TS_MP_HD_AC3 vs. MPEG_TS_HD_NA

Thanks Illico. the part where I'm getting stuck is here:

"First remux all h264 video from avi/mp4/matroska
on MPEG-TS stream with ac3 audio transcoding using AVC_TS_MP_HD_AC3_ISO or AVC_TS_MP_SD_AC3_ISO profile
and renamed AVC_TS_HD_50_AC3_ISO for Sony Bravia TV
if audio different to ac3 (aac/mp3/dca), must be transcoded to ac3"

I know my Bravia does not understand AVC_<anything>. It might understand MPEG_TS_HD_NA. So what I'd want to do is remux onto an MPEG2TS (not AVC which is MPEG-4). I think to do this I have to include the medaiformatprofile of <MPEG_TS_HD_NA> and transcode using it?
<<

Illico

User avatar

DLNA master

Posts: 4646

Joined: Fri Jul 23, 2010 8:08 am

Location: France

Post Wed Sep 22, 2010 2:13 pm

Re: AVC_TS_MP_HD_AC3 vs. MPEG_TS_HD_NA

Fig, if you confirm that your Bravia KDL-52XBR9 doesn't support AVC(h264) video, so I suggest you to modify and try the "Sony Bravia TV" profile like this:
  Code:
   <Profile id="9" name="Sony Bravia TV" extendsProfileId="1">
      <Detection>
         <X-AV-Client-Info>.*BRAVIA.*</X-AV-Client-Info>
      </Detection>
      <Transcoding>
         <!-- All video/audio codec will be transcoded into mpeg2ts, mpeg2video and ac3 audio (MPEG_TS_SD_EU/NA/KO). -->
         <Video targetContainer="mpegts" targetVCodec="mpeg2video" targetACodec="ac3">
            <Matches container="asf" />
            <Matches container="avi" />
            <Matches container="mp4" />
            <Matches container="matroska" />
            <Matches container="mpegts" aCodec="aac" />
            <Matches container="mpegts" aCodec="mp3" />
            <Matches container="mpegts" aCodec="dca" />               
         </Video>
      </Transcoding>
      <AutomaticImageRotation>true</AutomaticImageRotation>
   </Profile>
Illico
Sony 2010 KDL-46EX501 | BDP-S373 | SMP-N100 | Windows 8-i7 | Network DD HD-CE1.5TLU2 | Livebox2-UHD86 | ServiiDroid | ServiiGo | BubbleUPnP
Serviio beta tester - Moderator
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17212

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Wed Sep 22, 2010 2:16 pm

Re: AVC_TS_MP_HD_AC3 vs. MPEG_TS_HD_NA

The 2009 Bravia's do have AVC_ profiles, at least the ProtocolInfo's I have seen (viewtopic.php?f=5&t=429)
<<

Illico

User avatar

DLNA master

Posts: 4646

Joined: Fri Jul 23, 2010 8:08 am

Location: France

Post Wed Sep 22, 2010 2:22 pm

Re: AVC_TS_MP_HD_AC3 vs. MPEG_TS_HD_NA

zip wrote:The 2009 Bravia's do have AVC_ profiles, at least the ProtocolInfo's I have seen (viewtopic.php?f=5&t=429)

Yes, I'm also disappointed, but Fig could not provide a ProtocolInfo of his Bravia KDL-52XBR9 TV...
EDIT: Do you try this
Illico
Sony 2010 KDL-46EX501 | BDP-S373 | SMP-N100 | Windows 8-i7 | Network DD HD-CE1.5TLU2 | Livebox2-UHD86 | ServiiDroid | ServiiGo | BubbleUPnP
Serviio beta tester - Moderator
<<

Fig

Streaming enthusiast

Posts: 42

Joined: Wed Jul 21, 2010 1:25 pm

Post Wed Sep 22, 2010 2:39 pm

Re: AVC_TS_MP_HD_AC3 vs. MPEG_TS_HD_NA

That is true for european models. Here is the DLNA certificate for my model. I wish I could generate a sink file, but the tool doesn't find my TV.
Attachments
REG32675558_Page_2.jpg
DLNA cert
REG32675558_Page_2.jpg (241.9 KiB) Viewed 13956 times
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17212

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Wed Sep 22, 2010 2:43 pm

Re: AVC_TS_MP_HD_AC3 vs. MPEG_TS_HD_NA

Ahh, damn. In that case the profile that Illico provided should be working.
<<

Fig

Streaming enthusiast

Posts: 42

Joined: Wed Jul 21, 2010 1:25 pm

Post Wed Sep 22, 2010 3:17 pm

Re: AVC_TS_MP_HD_AC3 vs. MPEG_TS_HD_NA

Let me work on this tonight and get specifics on what files aren't working.
<<

Fig

Streaming enthusiast

Posts: 42

Joined: Wed Jul 21, 2010 1:25 pm

Post Thu Sep 23, 2010 12:46 pm

Re: AVC_TS_MP_HD_AC3 vs. MPEG_TS_HD_NA

OK, so I have some good news. Using the Bravia profile in 0.42, I was able to play a 1080p mp4 file (H.264 video, AAC-LC audio) on the TV. Either the TV or Serviio wasn't recognizing the container type (.mov). So I used FFMPEG to change the container to mp4. Then it was recognized and played fine, full widescreen. So I guess the TV does understand AVC, even though it doesn't publish it.

So my final question is can I add the .mov container type to the profile so I don't have to pre-containerize them?

Thanks for all the help

Fig
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17212

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Thu Sep 23, 2010 1:11 pm

Re: AVC_TS_MP_HD_AC3 vs. MPEG_TS_HD_NA

No, transcoding into mp4 container is not supported -AFAIK it is not even a suitable container for realtime transcoding, as it writes some file header at the end of the stream. It's weird it cannot play TS files though. Maybe a changed mime-type/profile name would fix this?
<<

Illico

User avatar

DLNA master

Posts: 4646

Joined: Fri Jul 23, 2010 8:08 am

Location: France

Post Thu Sep 23, 2010 1:12 pm

Re: AVC_TS_MP_HD_AC3 vs. MPEG_TS_HD_NA

Fig wrote:...Using the Bravia profile in 0.42, I was able to play a 1080p mp4 file (H.264 video, AAC-LC audio) on the TV.

The only profile that use H.264 video and AAC audio on 2010 Sony Bravia TV Protocolinfo is AVC_TS_JP_AAC_T,
and MPEG_TS_JP_T for Mpeg2video.

Fig wrote:Either the TV or Serviio wasn't recognizing the container type (.mov). So I used FFMPEG to change the container to mp4.Then it was recognized and played fine, full widescreen.

How do you use FFMPEG to change the container to mp4.
Because 2010 Sony Bravia TV doesn't support MPEG-4 Part 2 Profile (MP4)

Fig wrote:So I guess the TV does understand AVC, even though it doesn't publish it.

Not necessarily
AVC or h264 is MPEG-4 Part 10 profile.
MP4 is MPEG-4 Part2 profile.
Illico
Sony 2010 KDL-46EX501 | BDP-S373 | SMP-N100 | Windows 8-i7 | Network DD HD-CE1.5TLU2 | Livebox2-UHD86 | ServiiDroid | ServiiGo | BubbleUPnP
Serviio beta tester - Moderator
<<

Fig

Streaming enthusiast

Posts: 42

Joined: Wed Jul 21, 2010 1:25 pm

Post Thu Sep 23, 2010 1:17 pm

Re: AVC_TS_MP_HD_AC3 vs. MPEG_TS_HD_NA

So I can tell you what I did with FFMPEG: FFMPEG -i 100_0046.mov -f mp4 test.mp4

FFMPEG generated an MP4 file which was playable. I went on the FFMPEG website and it says MOV and MP$ are very similar containers.

So maybe the profile for the Bravia transcoded the MP4 file into MPEG2TS, video, and audio?
<<

Illico

User avatar

DLNA master

Posts: 4646

Joined: Fri Jul 23, 2010 8:08 am

Location: France

Post Thu Sep 23, 2010 1:41 pm

Re: AVC_TS_MP_HD_AC3 vs. MPEG_TS_HD_NA

I'll try to be precise (sorry for my poor english)

I download Big Buck Bunny Trailer in mov file : here
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'trailer_1080p.mov':
Metadata:
major_brand : qt
minor_version : 537199360
compatible_brands: qt
Duration: 00:00:33.00, start: 0.000000, bitrate: 7484 kb/s
Stream #0.0(eng): Video: h264, yuv420p, 1920x1080, 7162 kb/s, 25 fps, 25 tbr, 600 tbn, 1200 tbc
Stream #0.1(eng): Audio: aac, 48000 Hz, 5.1, s16, 428 kb/s


I make a mp4 file with your ffmpeg command ffmpeg -i trailer_1080p.mov -f mp4 test.mp4
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'test.mp4':
Metadata:
major_brand : isom
minor_version : 512
compatible_brands: isomiso2mp41
encoder : Lavf52.62.0
Duration: 00:00:33.00, start: 0.000000, bitrate: 1736 kb/s
Stream #0.0(eng): Video: mpeg4, yuv420p, 1920x1080 [PAR 1:1 DAR 16:9], 1697kb/s, 25 fps, 25 tbr, 25 tbn, 25 tbc
Stream #0.1(eng): Audio: aac, 48000 Hz, 5.1, s16, 65 kb/s


Could you use Serviio 0.4.2 with Sony Bravia profile and test these two files, please?

EDIT:
Normally, the following file
trailer_1080p.mov has to be remuxed with following profile
http-get:*:video/mpeg:DLNA.ORG_PN=AVC_TS_HD_50_AC3_ISO;DLNA.ORG_OP=10;DLNA.ORG_CI=1;DLNA.ORG_FLAGS=01500000000000000000000000000000

test.mp4 has to be transcoded with following profiles
http-get:*:video/mpeg:DLNA.ORG_PN=MPEG_TS_SD_EU_ISO;DLNA.ORG_OP=10;DLNA.ORG_CI=1;DLNA.ORG_FLAGS=01500000000000000000000000000000
http-get:*:video/mpeg:DLNA.ORG_PN=MPEG_TS_SD_NA_ISO;DLNA.ORG_OP=10;DLNA.ORG_CI=1;DLNA.ORG_FLAGS=01500000000000000000000000000000
http-get:*:video/mpeg:DLNA.ORG_PN=MPEG_TS_SD_KO_ISO;DLNA.ORG_OP=10;DLNA.ORG_CI=1;DLNA.ORG_FLAGS=01500000000000000000000000000000


If you see the first one, your TV supports AVC,
If you see the second, your TV supports MPEG_TS
Last edited by Illico on Thu Sep 23, 2010 1:57 pm, edited 2 times in total.
Illico
Sony 2010 KDL-46EX501 | BDP-S373 | SMP-N100 | Windows 8-i7 | Network DD HD-CE1.5TLU2 | Livebox2-UHD86 | ServiiDroid | ServiiGo | BubbleUPnP
Serviio beta tester - Moderator
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17212

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Thu Sep 23, 2010 1:53 pm

Re: AVC_TS_MP_HD_AC3 vs. MPEG_TS_HD_NA

Illico wrote:AVC or h264 is MPEG-4 Part 10 profile.
MP4 is MPEG-4 Part2 profile.


Not really, AVC you got correct, but MPEG4-Part 2 is also a codec (DivX style), not container.

http://en.wikipedia.org/wiki/MPEG-4_Part_2
http://en.wikipedia.org/wiki/MPEG-4_Part_14
<<

Fig

Streaming enthusiast

Posts: 42

Joined: Wed Jul 21, 2010 1:25 pm

Post Thu Sep 23, 2010 2:19 pm

Re: AVC_TS_MP_HD_AC3 vs. MPEG_TS_HD_NA

I am 99% sure that my configuration will not recognize the .mov file.
Link to test.mp4 file?

Will try them tonight.
<<

Illico

User avatar

DLNA master

Posts: 4646

Joined: Fri Jul 23, 2010 8:08 am

Location: France

Post Thu Sep 23, 2010 2:27 pm

Re: AVC_TS_MP_HD_AC3 vs. MPEG_TS_HD_NA

Fig wrote:Link to test.mp4 file?

This is the result of command: ffmpeg -i trailer_1080p.mov -f mp4 test.mp4
I use ffmpeg SVN-r23012 embedded with Serviio 0.4.2 installation
Illico
Sony 2010 KDL-46EX501 | BDP-S373 | SMP-N100 | Windows 8-i7 | Network DD HD-CE1.5TLU2 | Livebox2-UHD86 | ServiiDroid | ServiiGo | BubbleUPnP
Serviio beta tester - Moderator
Next

Return to Transcoding

Who is online

Users browsing this forum: No registered users and 13 guests

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