FAQ  •  Register  •  Login

ASF container with H264 Video on Samsung D Series TV

<<

pergamum

Serviio newbie

Posts: 4

Joined: Thu Oct 18, 2012 12:35 pm

Post Thu Oct 18, 2012 1:17 pm

ASF container with H264 Video on Samsung D Series TV

I've been using Serviio for a couple of months now and it has really done a great job for me. Recently, I've been trying different formats on my Samsung D-series TV and ran into an issue I'm hoping someone can help me with. According to my TV's manual, it can natively play Divx, Xvid, H.264 (BP/MP/HP), and MPEG4 (SP/ASP) in an ASF container. To test this I took a short FLV file with H264 HP video and AAC audio and remuxed it with FFMPEG to an ASF container with the following command:
  Code:
ffmpeg.exe -i test.flv -vcodec copy -acodec ac3 -o test_ac3.asf

Then running ffmpeg.exe -i again on the resulting file to make sure things went correctly, I get:
  Code:
Input #0, asf, from 'test_ac3.asf':
  Metadata:
    moovPosition    : 36
    avcprofile      : 100
    avclevel        : 30
    aacaot          : 2
    videoframerate  : 30
    audiochannels   : 2
    encoder         : Lavf54.31.100
  Duration: 00:00:52.21, start: 0.000000, bitrate: 515 kb/s
    Stream #0:0: Video: h264 (High) (H264 / 0x34363248), yuv420p, 480x360 [SAR 1
:1 DAR 4:3], 30.33 fps, 29.97 tbr, 1k tbn, 59.94 tbc
    Stream #0:1: Audio: ac3 ([0] [0][0] / 0x2000), 44100 Hz, stereo, s16, 192 kb/s


I also made sure the new file played correctly with VLC player on my computer. Now my Serviio testing began. After modifying my default profile to not transcode FLV files, I can play the original FLV file natively on the TV just fine. But, I cannot play the remuxed ASF file natively. I get an Unsupported Format message on the TV. I have my logging set to DEBUG as per zip's signature, but I cannot seem to find an error or warning about why the file failed to play yet. I have the added Library filtering on to try and cut down on the size of the log messages so I'll try to remove that and see if I get more information.

In the meantime, could this be an issue with the mime-type for ASF files? I'm not really sure how the mime-types work or the format for adding one if I needed to. I have noticed on the Serviio Wiki (http://wiki.serviio.org/doku.php?id=devices_format_support) that the D-series TV Sink field includes "http-get:*:video/x-ms-asf:*" yet there is nothing similar to this in the Serviio profile. There are no x-ms-asf types declared in the D-series section and in the generic profile section there is only:
    mime-type="video/x-ms-asf">VC1_ASF_AP_L1_WMA
    mime-type="video/x-ms-asf">VC1_ASF_AP_L2_WMA
    mime-type="video/x-ms-asf">VC1_ASF_AP_L3_WMA
Can I add a type for H264 in an ASF container? And if so, how would I format that entry?
Thanks for any insight into this...
pergamum

Samsung UN46D6000 | LN40D550 | NAS4Free | Kubuntu
<<

Illico

User avatar

DLNA master

Posts: 4646

Joined: Fri Jul 23, 2010 8:08 am

Location: France

Post Thu Oct 18, 2012 4:18 pm

Re: ASF container with H264 Video on Samsung D Series TV

DLNA standard containers I see for AVC/h264 video codec are
- MPEG2-TS_ISO, MPEG2-TS_T, MPEG2-TS (Transport Stream) => for example AVC_TS_MP_HD_AC3
- MPEG-2 PS => for example AVC_PS_HD_DTS
- MP4 => for example AVC_MP4_MP_SD_AC3
- 3GP => for exampl AVC_3GPP_BL_QCIF15_AAC

Never see asf container in DLNA for AVC (MPEG4part10)

But that could be some new standard, could you point me to the TV manual documentation ?
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
<<

pergamum

Serviio newbie

Posts: 4

Joined: Thu Oct 18, 2012 12:35 pm

Post Thu Oct 18, 2012 5:44 pm

Re: ASF container with H264 Video on Samsung D Series TV

The link for the manual to the TV (UN46D6000) is below. See page 219 for the supported video formats.
"http://downloadcenter.samsung.com/content/UM/201103/20110324091218633/[ENG_US]GSATSCA-1017.pdf"

The original file was a FLV container and it plays natively on the TV with Serviio, but it wasn't in the list you mentioned (or in the TV manual either). I do see a FLV entry in the generic <MediaFormatProfiles> section:
  Code:
<MediaFormatProfile mime-type="video/x-flv">FLV</MediaFormatProfile>


Once I get home, maybe I can try the following entry:
  Code:
<MediaFormatProfile mime-type="video/x-ms-asf">ASF</MediaFormatProfile>
pergamum

Samsung UN46D6000 | LN40D550 | NAS4Free | Kubuntu
<<

pergamum

Serviio newbie

Posts: 4

Joined: Thu Oct 18, 2012 12:35 pm

Post Fri Oct 19, 2012 2:38 pm

Re: ASF container with H264 Video on Samsung D Series TV

Could not find any <MediaFormatProfile> tags that would allow the .asf file with H264 video to be presented to the TV correctly through Serviio. I kept getting the Not Supported Format on the TV. I did try playing the file from a USB stick in the TV and that worked well. I guess the supported format list in the TV manual doesn't specify what will work through USB and what will work through DLNA. Going a step further, I tried to play the file through the AllShare program and that failed as well.

Interestingly, I tried to play the original test.flv file through AllShare and it failed too. This same file plays without transcoding through Serviio.
pergamum

Samsung UN46D6000 | LN40D550 | NAS4Free | Kubuntu
<<

Illico

User avatar

DLNA master

Posts: 4646

Joined: Fri Jul 23, 2010 8:08 am

Location: France

Post Mon Oct 22, 2012 7:34 am

Re: ASF container with H264 Video on Samsung D Series TV

Do you try this ?
<MediaFormatProfile mime-type="video/x-ms-asf" name="">VC1_ASF_AP_L1_WMA</MediaFormatProfile>
<MediaFormatProfile mime-type="video/x-ms-asf" name="">VC1_ASF_AP_L2_WMA</MediaFormatProfile>
<MediaFormatProfile mime-type="video/x-ms-asf" name="">VC1_ASF_AP_L3_WMA</MediaFormatProfile>

"video/x-ms-asf VC1_ASF_*" will be change to "video/x-ms-asf"
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
<<

pergamum

Serviio newbie

Posts: 4

Joined: Thu Oct 18, 2012 12:35 pm

Post Tue Oct 23, 2012 5:34 pm

Re: ASF container with H264 Video on Samsung D Series TV

I tried your suggestion but to no avail. I don't have the log with me at work, but it basically says it can't identify the proper format for the remuxed ASF file produced by ffmpeg. There may not be a Format Profile that accounts for H264 in an ASF container.
pergamum

Samsung UN46D6000 | LN40D550 | NAS4Free | Kubuntu

Return to Samsung

Who is online

Users browsing this forum: No registered users and 18 guests

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