Page 1 of 1

Selecting optimus profile

PostPosted: Mon Apr 27, 2015 7:03 pm
by Pablotski
Hi. I'm using Serviio to stream live content (rtmp, flv stream, etc.) to my tv from my laptop (windows 8.1). The problem is that I can't find the profile...actually I found it, and I lost it...I was able to watch a streaming with a BD configuration despite my TV is not a BD, not even from known brands in the market, but now it's gone and idk why...now it cannot stream, it says audio/video decoder not supported or file not supported...the tv system runs opera tv store. All the info I have is that it supports the following formats: AAC, MP3, WMA, MP4, MKV, GIF, PNG, JPG, TS, M2TS.

I only remember that the TV was showing smooth streaming in MP4, all attempts to do it from .tts files have failed. Now here's the url of the stream which is active and correctly from Serviio Console (v1.5):
http://live-edge01.telecentro.net.ar:19 ... ylist.m3u8?


Here's what ffmpeg -i command shows (I have no idea what it means):


C:\Users\Pableeeto>ffmpeg -i http://live-edge01.telecentro.net.ar:1935/live/13hd
-360/playlist.m3u8?
ffmpeg version N-71727-g46778ab Copyright (c) 2000-2015 the FFmpeg developers
built with gcc 4.9.2 (GCC)
configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-av
isynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enab
le-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --
enable-libdcadec --enable-libfreetype --enable-libgme --enable-libgsm --enable-l
ibilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enab
le-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --en
able-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --ena
ble-libtwolame --enable-libvidstab --enable-libvo-aacenc --enable-libvo-amrwbenc
--enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enabl
e-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-lzma --ena
ble-decklink --enable-zlib
libavutil 54. 23.101 / 54. 23.101
libavcodec 56. 35.101 / 56. 35.101
libavformat 56. 31.100 / 56. 31.100
libavdevice 56. 4.100 / 56. 4.100
libavfilter 5. 14.100 / 5. 14.100
libswscale 3. 1.101 / 3. 1.101
libswresample 1. 1.100 / 1. 1.100
libpostproc 53. 3.100 / 53. 3.100
Using network protocols without global network initialization. Please use avform
at_network_init(), this will become mandatory later.
Last message repeated 5 times
Input #0, hls,applehttp, from 'http://live-edge01.telecentro.net.ar:1935/live/13
hd-360/playlist.m3u8?':
Duration: N/A, start: 34930.102856, bitrate: N/A
Program 0
Metadata:
variant_bitrate : 1233089
Stream #0:0: Data: timed_id3 (ID3 / 0x20334449)
Metadata:
variant_bitrate : 1233089
Stream #0:1: Video: h264 (Constrained Baseline) ([27][0][0][0] / 0x001B), yu
v420p, 640x360 [SAR 1:1 DAR 16:9], 30 fps, 30 tbr, 90k tbn, 60 tbc
Metadata:
variant_bitrate : 1233089
Stream #0:2: Audio: aac (LC) ([15][0][0][0] / 0x000F), 44100 Hz, stereo, flt
p, 63 kb/s
Metadata:
variant_bitrate : 1233089
At least one output file must be specified



I think it's not a hardware problem from the DLNA server, it's an i5 3230, 8Gb RAM, Serviio Console is using the Nvidia GPU.




I hope you can help me...thanks

Re: Selecting optimus profile

PostPosted: Mon Apr 27, 2015 11:41 pm
by atc98092
And what is your TV?

Re: Selecting optimus profile

PostPosted: Tue Apr 28, 2015 1:49 am
by Pablotski
atc98092 wrote:And what is your TV?



That's the problem...it's not a known branded TV, it's called BGH Smart TV, 3D function, opera tv store, hdmi...etc.
I need a profile to transcode everything to .mp4 or .mkv and relationed codecs and folders...it has mkv support natively. I've tried all profiles in list, with transcoding and no transconding, can't read .tts for rtmp streaming, or video with most .mpg containers because only gets the audio. I've tried a livestream using direct tv profile and it streamed incredibles 4 seconds then stopped.



Editing------------------------------------------

I did some research around the web, and I'm pretty sure this system has a HbbTv level in its, also I found that it uses the following codecs to receive streams from air, so I think via dlna or anyviewshare can use same decoding MPEG-2 system:

Option 1: H.264HP@L4.0/MPEG-4 HE-AAC@L4
Option 2: H.264BP@L1.3/MPEG-4 HE-AAC@L3


So, basically I need to stream these live contents transcoded to these admitted file formats and codecs.
However I can try to use the HbbTv base broadcast decoding system:

1.Container TS, AVC HD 25, HE AAC, mime type video/mpeg
2.Container MP4, AVC HD 25, HE AAC, mime type video/mpeg



Any suggestion how to create my own profile forcing transcoding to match this info? Thanks!!!

Re: Selecting optimus profile

PostPosted: Tue Apr 28, 2015 11:35 am
by DenyAll
Try this: viewtopic.php?f=5&t=19 to discover what protocols your TV supports.

Its not possible to transcode to MKV or MP4 containers on-the-fly.
If you cannot get protocol information from the above , you could try the Telenet Yelo TV profile. Try it on local files first, get that right, and then move on to online sources. This profile transcodes online sources to a ts container with mpeg2 video and aac audio.

Re: Selecting optimus profile

PostPosted: Tue Apr 28, 2015 7:41 pm
by Pablotski
DenyAll wrote:Try this: viewtopic.php?f=5&t=19 to discover what protocols your TV supports.

Its not possible to transcode to MKV or MP4 containers on-the-fly.
If you cannot get protocol information from the above , you could try the Telenet Yelo TV profile. Try it on local files first, get that right, and then move on to online sources. This profile transcodes online sources to a ts container with mpeg2 video and aac audio.



Done, here's the results:

http-get:*:audio/mpeg:DLNA.ORG_PN=MP3;DLNA.ORG_FLAGS=8D100000000000000000000000000000,
http-get:*:audio/x-ms-wma:DLNA.ORG_PN=WMABASE;DLNA.ORG_FLAGS=8D100000000000000000000000000000,
http-get:*:audio/x-ms-wma:DLNA.ORG_PN=WMAFULL;DLNA.ORG_FLAGS=8D100000000000000000000000000000,
http-get:*:audio/vnd.dlna.adts:DLNA.ORG_PN=AAC_ADTS_320;DLNA.ORG_FLAGS=8D100000000000000000000000000000,
http-get:*:image/jpeg:DLNA.ORG_PN=JPEG_TN;DLNA.ORG_FLAGS=8C900000000000000000000000000000,
http-get:*:image/jpeg:DLNA.ORG_PN=JPEG_SM;DLNA.ORG_FLAGS=8C900000000000000000000000000000,
http-get:*:image/jpeg:DLNA.ORG_PN=JPEG_MED;DLNA.ORG_FLAGS=8C900000000000000000000000000000,
http-get:*:image/jpeg:DLNA.ORG_PN=JPEG_LRG;DLNA.ORG_FLAGS=8C900000000000000000000000000000,
http-get:*:image/gif:*,
http-get:*:image/bmp:*,
http-get:*:video/mpeg:DLNA.ORG_PN=MPEG_PS_PAL;DLNA.ORG_FLAGS=8D100000000000000000000000000000,
http-get:*:video/mpeg:DLNA.ORG_PN=MPEG_PS_NTSC;DLNA.ORG_FLAGS=8D100000000000000000000000000000,
http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=MPEG_TS_SD_NA;DLNA.ORG_FLAGS=8D100000000000000000000000000000,
http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=MPEG_TS_SD_NA_T;DLNA.ORG_FLAGS=8D100000000000000000000000000000,
http-get:*:video/mpeg:DLNA.ORG_PN=MPEG_TS_SD_NA_ISO;DLNA.ORG_FLAGS=8D100000000000000000000000000000,
http-get:*:video/mpeg:DLNA.ORG_PN=MPEG_TS_HD_NA_ISO;DLNA.ORG_FLAGS=8D100000000000000000000000000000,
http-get:*:video/mpeg:DLNA.ORG_PN=MPEG_TS_SD_EU_ISO;DLNA.ORG_FLAGS=8D100000000000000000000000000000,
http-get:*:video/mpeg:DLNA.ORG_PN=MPEG_TS_SD_KO_ISO;DLNA.ORG_FLAGS=8D100000000000000000000000000000,
http-get:*:video/x-ms-wmv:DLNA.ORG_PN=WMVHIGH_FULL;DLNA.ORG_FLAGS=8D100000000000000000000000000000,
http-get:*:video/x-ms-wmv:DLNA.ORG_PN=WMVHIGH_PRO;DLNA.ORG_FLAGS=8D100000000000000000000000000000,
http-get:*:video/x-ms-wmv:DLNA.ORG_PN=WMVMED_FULL;DLNA.ORG_FLAGS=8D100000000000000000000000000000,
http-get:*:video/x-ms-wmv:DLNA.ORG_PN=WMVMED_BASE;DLNA.ORG_FLAGS=8D100000000000000000000000000000,
http-get:*:video/x-ms-wmv:DLNA.ORG_PN=WMVMED_PRO;DLNA.ORG_FLAGS=8D100000000000000000000000000000,
http-get:*:video/MP4V-ES:*,
http-get:*:video/quicktime:*,
http-get:*:video/x-msvideo:*,
http-get:*:video/x-matroska:*,
http-get:*:video/x-ms-asf:DLNA.ORG_PN=WMVSPML_BASE;DLNA.ORG_FLAGS=8D100000000000000000000000000000,
http-get:*:video/mp4:DLNA.ORG_PN=AVC_MP4_BL_CIF15_AAC_520;DLNA.ORG_FLAGS=8D100000000000000000000000000000,
http-get:*:audio/mp4:DLNA.ORG_PN=AAC_ISO_320;DLNA.ORG_FLAGS=8D100000000000000000000000000000,
http-get:*:audio/3gpp:DLNA.ORG_PN=AAC_ISO_320;DLNA.ORG_FLAGS=8D100000000000000000000000000000,
http-get:*:image/png:DLNA.ORG_PN=PNG_TN;DLNA.ORG_FLAGS=8C900000000000000000000000000000,
http-get:*:image/png:DLNA.ORG_PN=PNG_SM_ICO;DLNA.ORG_FLAGS=8C900000000000000000000000000000,
http-get:*:image/png:DLNA.ORG_PN=PNG_LRG_ICO;DLNA.ORG_FLAGS=8C900000000000000000000000000000,
http-get:*:image/png:DLNA.ORG_PN=PNG_LRG;DLNA.ORG_FLAGS=8C900000000000000000000000000000,
http-get:*:audio/wav;rate=44100;channels=2:*,
http-get:*:audio/wav;rate=48000;channels=2:*,
http-get:*:audio/wav;rate=44100;channels=1:*,
http-get:*:audio/wav;rate=48000;channels=1:*,
http-get:*:audio/x-wav;rate=44100;channels=2:*,
http-get:*:audio/x-wav;rate=48000;channels=2:*,
http-get:*:audio/x-wav;rate=44100;channels=1:*,
http-get:*:audio/x-wav;rate=48000;channels=1:*,
http-get:*:audio/x-wav:*,
http-get:*:audio/wav:*,
http-get:*:audio/wave:*,
http-get:*:audio/avi:*,
http-get:*:video/3gpp:*,
http-get:*:video/flv:*,
http-get:*:video/x-flv:*,
http-get:*:audio/aac:*,
http-get:*:audio/x-aac:*,
http-get:*:audio/x-ac3:*,







I'm trying to create a profile with this new info...but I'm stucked at 'resourcetransportprotocolhandler' and 'contentdirectorydefinitionfilter'...what should I write here?



--------------------------------------------
Edit. I still don't know what to do with "ResourceTransportProtocolHandler" and "ContentDirectoryDefinitionFilter". Anyway I continue to create my own profile...

How can I force transcoding with h.264 to use level 4.0 always?


Here's a Roku's line but it doesn't specify which level is considered high...

<!-- Transcode if H.264 level is too high -->
<Video targetContainer="mpegts" targetVCodec="h264" maxVBitrate="12000" forceVTranscoding="true" targetACodec="ac3" aBitrate="320">

Re: Selecting optimus profile

PostPosted: Tue Apr 28, 2015 11:44 pm
by Pablotski
Testing new profile

Re: Selecting optimus profile

PostPosted: Wed Apr 29, 2015 5:57 am
by DenyAll
Let us know how it goes.

How can I force transcoding with h.264 to use level 4.0 always?
You can't as far as I know - but why would you want this?

Don't worry about "ResourceTransportProtocolHandler" and "ContentDirectoryDefinitionFilter" at this stage.

Do you really need to transcode to h264? Your device (according to the sink) should support mpeg2 video, plus transcoding to h264 requires a lot of processor grunt. You could try <Video targetContainer="mpegts" targetVCodec="mpeg2video" maxVBitrate="12000" targetACodec="ac3" aBitrate="320"> which will transcode to a mpeg2 video codec. Did you try Telenet Yelo TV profile?

Re: Selecting optimus profile

PostPosted: Wed Apr 29, 2015 1:00 pm
by Pablotski
DenyAll wrote:Let us know how it goes.

How can I force transcoding with h.264 to use level 4.0 always?
You can't as far as I know - but why would you want this?

Don't worry about "ResourceTransportProtocolHandler" and "ContentDirectoryDefinitionFilter" at this stage.

Do you really need to transcode to h264? Your device (according to the sink) should support mpeg2 video, plus transcoding to h264 requires a lot of processor grunt. You could try <Video targetContainer="mpegts" targetVCodec="mpeg2video" maxVBitrate="12000" targetACodec="ac3" aBitrate="320"> which will transcode to a mpeg2 video codec. Did you try Telenet Yelo TV profile?



Ok. I can play with Toshiba regza profile (I thought I've tested them all, but no huh!). No file or decoding errors appears...but video stutters every 3 seconds with a pause of 1 sec (I counted it). Ofc it's not good...and I don't know what is causing this, I already tried setting bitrate with maxvbitrate to 15360, 12000, 10000, 7000, 4000, and stutters continues...
I guess the transcoding is giving too much quality I really don't need, I can live with 480p or 720p, but I need that container, codec, etc. The tv is conected over WiFi, I can watch youtube videos in 720p with no problems in native app...
If I uncheck the "produce the best video quality", tv won't play at all...WEIRD
A buffer problem? Net is not sending the files at needed speed, outgoing speed is ~3Mbps max through LAN connection to the router.
And I can't play some channels:
http://200.76.77.237/LIVE/H01/CANAL435/PROFILE03.m3u8? plays ok, but stutters always.
http://200.76.77.237/LIVE/H01/CANAL482/PROFILE03.m3u8? doesn't play at all (video/audio decoder not supported by tv).

Any suggestion?

...................
Edit

I give up...can't make it work properly...

Re: Selecting optimus profile

PostPosted: Wed May 06, 2015 1:15 am
by Pablotski
In case anyone came here looking for this issues on Hisense and BGH TVs... I'm running Universal Media Server with no optimal profile, but streaming is awesome and works good for all the online sources except rtmp. I hope some day this software become friendly with average users, meanwhile UMS solved my problem. Thanks.