- edited description
Samsung C/D Series On-line Transcoding Profile
This request is to update the Samsung C/D series profile to correctly support Online Transcoding.
The existing 1.6 profile should have the following added to it. The video addition is explained in ticket #425 change #10 https://bitbucket.org/xnejp03/serviio/issue/425/samsung-d-series-tv-will-not-play-online
The audio addition is just a generic profile carry over and may not be required.
{{{ #!python
<OnlineTranscoding> <Video targetContainer="mpegts" targetACodec="ac3" aBitrate="384"> <Matches container="mp4"/> </Video> <Audio targetContainer="mp3"> <Matches container="flv"/> </Audio> </OnlineTranscoding> }}}
Note that the video addition for mp4 is only required to override the B profile online transcoding rule which will otherwise convert mp4 files to mpeg2.ts. I really question why this B rule exists since no such conversion is specified for local .mp4 files unless their avc level > 4.1 and then the conversion is to mpeg.ts which implies that the B series is capable of playing the ts muxed .mp4 files defined in the generic profile. If the B rule is removed then no Online Transcoding section is required in the C/D profile since the inherited generic profile will suffice.
Comments (10)
-
Account Deleted -
repo owner -
repo owner - edited description
-
Account Deleted - edited description
-
Account Deleted Here is a further revision to address online nasa feeds. See http://forum.serviio.org/viewtopic.php?f=23&t=3729&p=24969#p24969
<OnlineTranscoding> <Video targetContainer="mpegts" targetVCodec="mpeg2video" targetACodec="ac3" aBitrate="384" maxVBitrate=30000 > <!-- jhb50 max vbr so TV will play it --> <Matches container="mp4" vCodec="mpeg4" /> <!-- jhb50 for Nasa MPEG4/AAC streams --> </Video> <Video targetContainer="mpegts" targetACodec="ac3" aBitrate="384"> <Matches container="mp4"/> <!-- jhb50 to overide B profile mp4 rule --> </Video> <Audio targetContainer="mp3"> <Matches container="flv"/> </Audio> </OnlineTranscoding>
-
repo owner fixed as a part of
#425, haven't added the last addition for now. -
Account Deleted This last addition remains a bug in beta 2 per the following:
I have an rss that atom that specifies a media:content .mp4 url.
FFMPEG reports that link as an mpeg-4/aac.mp4 file.
#1belowDownloading with FFMPEG however yields an AVC/AAC.mp4 file according to mediainfo, #2 below
With beta 1 it transcodes correctly to mpeg2video/ac3 due to the online transcoding rule for .mp4 inherited from profile 2 and plays correctly. see mediainfo for transcoded file
#3belowWith beta 2 it just copies the video per the profile 1 .mp4 rule (as mpeg-4 which it really is not) and encodes the audio to ac3 and fails on "Video data not suported" see transcoded file ffmpeg
#4& mediainfo#5below.So 2 bugs I guess. 1. Mal detect of avc stream as mpeg4 by FFMPEG and erroneous transcode of that file by FFMPEG.
2. Need for mpeg-4 transcode rule as previously reported to transcode to mpeg2video
1.
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'http://funkwarehouse.com/jcpods/john_cl eese_podcast_34.mp4': Metadata: major_brand : mp42 minor_version : 1 compatible_brands: isommp41avc1 creation_time : 2008-10-01 14:14:24 Duration: 00:02:58.16, start: 0.000000, bitrate: 830 kb/s Stream #0:0(eng): Video: mpeg4 (Simple Profile) (mp4v / 0x7634706D), yuv420p , 480x360 [SAR 1:1 DAR 4:3], 700 kb/s, 29.97 fps, 29.97 tbr, 2997 tbn, 30k tbc Metadata: creation_time : 2008-10-01 14:14:24 Stream #0:1(eng): Audio: aac (mp4a / 0x6134706D), 44100 Hz, stereo, s16, 128 kb/s Metadata: creation_time : 2008-10-01 14:14:24 Stream #0:2(eng): Data: none (mp4s / 0x7334706D) Metadata: creation_time : 2008-10-01 14:14:24 Stream #0:3(eng): Data: none (mp4s / 0x7334706D) Metadata: creation_time : 2008-10-01 14:14:24
2.
Complete name : D:\Azureus Active Downloads\cleese.mp4 Format : MPEG-4 Format profile : Base Media Codec ID : isom File size : 6.38 MiB Duration : 2mn 58s Overall bit rate : 300 Kbps Writing application : Lavf53.15.0 Video ID : 1 Format : AVC Format/Info : Advanced Video Codec Format profile : High@L3.0 Format settings, CABAC : Yes Format settings, ReFrames : 4 frames Format settings, GOP : M=4, N=18 Codec ID : avc1 Codec ID/Info : Advanced Video Coding Duration : 2mn 58s Bit rate mode : Variable Bit rate : 166 Kbps Width : 480 pixels Height : 360 pixels Display aspect ratio : 4:3 Frame rate mode : Constant Frame rate : 29.970 fps Color space : YUV Chroma subsampling : 4:2:0 Bit depth : 8 bits Scan type : Progressive Bits/(Pixel*Frame) : 0.032 Stream size : 3.52 MiB (55%) Writing library : x264 core 118 r2085 8a62835 Encoding settings : cabac=1 / ref=3 / deblock=1:0:0 / analyse=0x3:0x113 / me=hex / subme=7 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=12 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=3 / b_pyramid=2 / b_adapt=1 / b_bias=0 / direct=1 / weightb=1 / open_gop=0 / weightp=2 / keyint=250 / keyint_min=25 / scenecut=40 / intra_refresh=0 / rc_lookahead=40 / rc=crf / mbtree=1 / crf=23.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / ip_ratio=1.40 / aq=1:1.00 Language : English Audio ID : 2 Format : AAC Format/Info : Advanced Audio Codec Format profile : LC Codec ID : 40 Duration : 2mn 58s Bit rate mode : Constant Bit rate : 128 Kbps Channel(s) : 2 channels Channel positions : Front: L R Sampling rate : 44.1 KHz Compression mode : Lossy Stream size : 2.72 MiB (43%) Language : English
3.
General Complete name : C:\Users\John\AppData\Local\Temp\Serviio\transcoding-temp-1000000000030001-MPEG2PS.mpg Format : MPEG-PS File size : 34.8 MiB Duration : 2mn 57s Overall bit rate : 1 639 Kbps Video ID : 224 (0xE0) Format : MPEG Video Format version : Version 2 Format profile : Main@Main Format settings, BVOP : No Format settings, Matrix : Default Format settings, GOP : M=1, N=15 Duration : 2mn 57s Bit rate mode : Variable Bit rate : 1 223 Kbps Width : 480 pixels Height : 360 pixels Display aspect ratio : 4:3 Frame rate : 29.970 fps Color space : YUV Chroma subsampling : 4:2:0 Bit depth : 8 bits Scan type : Progressive Compression mode : Lossy Bits/(Pixel*Frame) : 0.236 Stream size : 25.9 MiB (75%) Audio ID : 189 (0xBD)-128 (0x80) Format : AC-3 Format/Info : Audio Coding 3 Mode extension : CM (complete main) Muxing mode : DVD-Video Duration : 2mn 57s Bit rate mode : Constant Bit rate : 384 Kbps Channel(s) : 2 channels Channel positions : Front: L R Sampling rate : 44.1 KHz Bit depth : 16 bits Compression mode : Lossy Stream size : 8.11 MiB (23%)
4.
mpeg4 @ 03DEA640] [IMGUTILS @ 0028F534] Picture size 0x0 is invalid [mpeg4 @ 03DEA640] get_buffer() failed (-1 0 0 00000000) [mpeg4 @ 03DEA640] [IMGUTILS @ 0028F534] Picture size 0x0 is invalid [mpeg4 @ 03DEA640] get_buffer() failed (-1 0 0 00000000) [mpeg4 @ 03DEA640] [IMGUTILS @ 0028F534] Picture size 0x0 is invalid [mpeg4 @ 03DEA640] get_buffer() failed (-1 0 0 00000000) [mpegts @ 01BE8660] max_analyze_duration 5000000 reached at 5014400 [NULL @ 03DEA640] start time is not set in estimate_timings_from_pts Input #0, mpegts, from 'C:\Windows\Temp\Serviio\transcoding-temp-100000000005000 1-MPEG2TS.mpg': Duration: 00:01:42.88, start: 1.400000, bitrate: 1268 kb/s Program 1 Metadata: service_name : Service01 service_provider: FFmpeg Stream #0:0[0x100]: Video: mpeg4 ([16][0][0][0] / 0x0010), yuv420p, 90k tbr, 90k tbn, 90k tbc Stream #0:1[0x101](eng): Audio: ac3 ([129][0][0][0] / 0x0081), 44100 Hz, ste reo, s16, 384 kb/s
5.
General ID : 1 (0x1) Complete name : C:\Windows\Temp\Serviio\transcoding-temp-1000000000050001-MPEG2TS.mpg Format : MPEG-TS File size : 15.6 MiB Duration : 1mn 39s Overall bit rate : 1 266 Kbps Video ID : 256 (0x100) Menu ID : 1 (0x1) Format : MPEG-4 Visual Codec ID : 16 Duration : 1mn 42s Bit rate : 815 Kbps Compression mode : Lossy Stream size : 10.0 MiB (64%) Audio ID : 257 (0x101) Menu ID : 1 (0x1) Format : AC-3 Format/Info : Audio Coding 3 Mode extension : CM (complete main) Codec ID : 129 Duration : 1mn 42s Bit rate mode : Constant Bit rate : 384 Kbps Channel(s) : 2 channels Channel positions : Front: L R Sampling rate : 44.1 KHz Bit depth : 16 bits Compression mode : Lossy Stream size : 4.71 MiB (30%) Language : English Menu ID : 4096 (0x1000) Menu ID : 1 (0x1) Duration : 1mn 39s List : 256 (0x100) (MPEG-4 Visual) / 257 (0x101) (AC-3, English) Language : / English Service name : Service01 Service provider : FFmpeg Service type : digital television
-
repo owner ad 1) cannot do anything about it
ad 2) should be fixed in beta 3 -
Account Deleted - changed status to new
Beta3 transcodes Mpeg4.mp4 to mpegps. This is not correct. It needs to be transcoded to mpegts. See also 470. Fixed with : <OnlineTranscoding> <Video targetContainer="mpegts" targetVCodec="mpeg2video" targetACodec="ac3" aBitrate="384" maxVBitrate="30000"> <!-- jhb50 max vbr so TV will play it
-->> <Matches container="mp4" vCodec="mpeg4"/> <!-- jhb50 for Nasa & Cleese MPEG4/AAC streams --> <Matches container="asf" /> <!-- jhb50 for Greek TV wmv3/wma to overide default transcode to ps --> </Video> </OnlineTranscoding>
-
repo owner - changed status to resolved
- Log in to comment