Page 1 of 1
Gulli (France)

Posted:
Sun Jan 08, 2012 7:36 pm
by Illico

For some renderer like Sony Bravia there were problem with h264 video source format, you probably have to encode to mpeg2video.
add this to your profile:
- Code:
<OnlineTranscoding>
<Video targetContainer="mpegts" targetVCodec="mpeg2video" maxVBitrate="17000" targetACodec="ac3" aBitrate="384">
<Matches container="flv" vCodec="h264"/>
</Video>
</OnlineTranscoding>
Re: Gulli (France)

Posted:
Mon Jan 09, 2012 5:27 pm
by mpi
Hi,
My 2009 Sony TV w5500 seems to loose server connection when streaming is initiated.
Gulli feed icon is displayed (actual show preview picture), but then streaming fails after a while once show is selected (error on TV screen saying connection to server is lost).
Other plugins (Pluzz, etc) work fine.
I did try with the suggested transcoding line added to TV profile (I duplicated my TV profile, adding another one with the extra line).
Thanks for any help.
Re: Gulli (France)

Posted:
Mon Jan 09, 2012 7:34 pm
by Illico
mpi wrote:My 2009 Sony TV w5500 seems to loose server connection when streaming is initiated.
Yes its the same problem with my Sony device.
its due to ffmpeg crashed when it try to remux the h264/aac to mpegts container.
So I modify the profile to encode video to mpeg2video/ac3 to mpeg2ts.
Could you edit the profiles.xml and modify the "Sony Bravia TV 2009" like this (
restart serviio service after profile modification)
- Code:
<Profile id="21" name="Sony Bravia TV 2009" extendsProfileId="9">
<!-- 2009 and earlier models need a separate profile -->
<Detection>
<UPnPSearch>
<!-- 2009 models known to support UPnPSearch -->
<FriendlyName>BRAVIA KDL-\d{2}(WE5|(E53|E55|V55|V56|W55|W57|Z55|Z57)\d0) *</FriendlyName>
</UPnPSearch>
<HttpHeaders>
<!-- 2008 models, and possibly older or different region 2009 firmwares which may not support UPnPSearch -->
<X-AV-Client-Info>.*BRAVIA KDL-\d{2}(([A-Z](1|5|E1|R1|BR45|BR9|[1357]0\d{2}|4\d{3}))|(S55|S57|W51|Z51|Z58)\d0).*</X-AV-Client-Info>
</HttpHeaders>
</Detection>
<Transcoding>
<!-- transcode DivX avi files which is not defined in parent profile -->
<!-- Transcode baseline h264 in mp4/non-isom container -->
<Video targetContainer="mpegts" targetVCodec="mpeg2video" maxVBitrate="17000" targetACodec="ac3" aBitrate="192">
<Matches container="avi" vCodec="mpeg4"/>
<Matches container="avi" vCodec="msmpeg4"/>
<Matches container="avi" vCodec="mjpeg"/>
<Matches container="mp4" vCodec="h264" profile="baseline" ftypNotIn="isom" />
</Video>
</Transcoding>
<OnlineTranscoding>
<!-- Transcode baseline h264 in mp4/non-isom container -->
<Video targetContainer="mpegts" targetVCodec="mpeg2video" maxVBitrate="17000" targetACodec="ac3" aBitrate="192">
<Matches container="mp4" vCodec="h264" profile="baseline" ftypNotIn="isom" />
<Matches container="flv" vCodec="h264"/> <!-- For Gulli online rss feeds -->
</Video>
</OnlineTranscoding>
</Profile>
Thanks for your feedback for Gulli and Pluzz plugin.
Re: Gulli (France)

Posted:
Mon Jan 09, 2012 8:25 pm
by mpi
Actually for some reason (maybe due to some Server restarts and TV restarts) it ended-up working with the first profile modification.
Without modification, some content work, some content fail: it seems consistent (same content fails repeatedly), although I probably need to make more thorough tests.
I'll also look at your second profile modification and run some tests.
It would be great if only remux (rather than re-encoding) is sufficient: indeed although I'm currently testing with a Core2duo machine, my normal setup is with an ARM-based QNAP NAS, for which transcoding is not an option.
I'm glad my TV supports AVC so that I normally don't have to transcode: if Gulli content is forcing heavy processing, this will become an issue.
Anyway, I'll do more tests and report here.
Thanks again for your very quick turnaround.
Best
Re: Gulli (France)

Posted:
Wed May 09, 2012 5:31 pm
by ayour
thas not work for me. It will be great if some one can fix it.
Re: Gulli (France)

Posted:
Wed May 09, 2012 6:47 pm
by Illico
ayour wrote:thas not work for me. It will be great if some one can fix it.
Quel est le modèle de ta TV?
C'est peut-être un problème de géolocalisation.
Peux-tu activer le log détaillé (lien signature) et poster le log ici ?
(Pour information, chez moi cela fonctionne)
Re: Gulli (France)

Posted:
Thu May 10, 2012 12:47 pm
by ayour
J'ai le boitier lg st600 smart tv upgrader. Mais je suis au Canada, donc probablement un problème de geolocalisation. Sauf que M6 fonctionne trés bien.
Re: Gulli (France)

Posted:
Sat Aug 04, 2012 11:33 pm
by marcjero
Hello,
is this plugin still working ? Doesn't find any video for me.
Re: Gulli (France)

Posted:
Sun Aug 05, 2012 8:16 am
by Illico
Re: Gulli (France)

Posted:
Sun Aug 05, 2012 8:53 am
by marcjero
I sent an email to their admin to notify their RSS feed isn't working anymore. I suppose they broke something during an update. So wait and see...
Re: Gulli (France)

Posted:
Sun Aug 19, 2012 3:22 pm
by marcjero
Good news RSS feed seem sto be fixed. But still doesn't work for me...
Re: Gulli (France)

Posted:
Sun Aug 19, 2012 7:48 pm
by Illico
Ok for the RSS feed but video source format seems to be wrecked:
Read the first post, when h264 source is broken you can edit the profile to force mpeg2video transcoding.
For example :
- Code:
C:\Serviio\plugins>C:\Serviio\bin\\..\lib/ffmpeg.exe -fflags +genpts -i "rtmp://stream2.lgdf.yacast.net:80/gulli_replay
app=gulli_replay swfUrl=http://cdn-gulli.ladmedia.fr/extension/replay/design/replay/templates/replay/images/playerCuePoi
nt4.swf playpath=mp4:17426VOD259.mp4 swfVfy=1 buffer=100000000" -y -copyts -c:v copy -vbsf h264_mp4toannexb -c:a copy -m
ap 0:0 -map 0:1 -sn -f mpegts D:\temp\ServiioTemp\Serviio\transcoding-temp-1000000000150001-sony2010-ORIGINAL.stf
ffmpeg version N-42368-gbf53863 Copyright (c) 2000-2012 the FFmpeg developers
built on Jul 10 2012 03:40:45 with gcc 4.6.3
configuration: --enable-static --disable-shared --disable-ffplay --disable-ffserver --enable-memalign-hack --enable-li
bmp3lame --enable-librtmp --extra-libs='-lrtmp -lpolarssl -lws2_32 -lwinmm' --arch=x86 --enable-runtime-cpudetect --enab
le-pthreads --target-os=mingw32 --cross-prefix=i686-w64-mingw32- --pkg-config=pkg-config
libavutil 51. 64.100 / 51. 64.100
libavcodec 54. 33.100 / 54. 33.100
libavformat 54. 15.102 / 54. 15.102
libavdevice 54. 1.100 / 54. 1.100
libavfilter 3. 1.100 / 3. 1.100
libswscale 2. 1.100 / 2. 1.100
libswresample 0. 15.100 / 0. 15.100
Metadata:
trackinfo:
timescale 44100.00
length 114809856.00
language eng
sampledescription:
sampletype mp4a
timescale 25000.00
length 65083000.00
language eng
sampledescription:
sampletype avc1
audiochannels 2.00
audiosamplerate 44100.00
videoframerate 25.00
aacaot 2.00
avclevel 30.00
avcprofile 77.00
audiocodecid mp4a
videocodecid avc1
width 720.00
height 404.00
frameWidth 720.00
frameHeight 404.00
displayWidth 720.00
displayHeight 404.00
framerate 25.00
moovposition 32.00
duration 2603.40
Input #0, flv, from 'rtmp://stream2.lgdf.yacast.net:80/gulli_replay app=gulli_replay swfUrl=http://cdn-gulli.ladmedia.fr
/extension/replay/design/replay/templates/replay/images/playerCuePoint4.swf playpath=mp4:17426VOD259.mp4 swfVfy=1 buffer
=100000000':
Metadata:
audiochannels : 2
videoframerate : 25
aacaot : 2
avclevel : 30
avcprofile : 77
frameWidth : 720
frameHeight : 404
displayWidth : 720
displayHeight : 404
moovposition : 32
Duration: 00:43:23.39, start: 0.000000, bitrate: N/A
Stream #0:0: Video: h264 (Main), yuv420p, 720x404 [SAR 1:1 DAR 180:101], 25 tbr, 1k tbn, 50 tbc
Stream #0:1: Audio: aac, 44100 Hz, stereo, s16
[mpegts @ 01D18B20] muxrate VBR, pcr every 2 pkts, sdt every 200, pat/pmt every 40 pkts
Output #0, mpegts, to 'D:\temp\ServiioTemp\Serviio\transcoding-temp-1000000000150001-sony2010-ORIGINAL.stf':
Metadata:
audiochannels : 2
videoframerate : 25
aacaot : 2
avclevel : 30
avcprofile : 77
frameWidth : 720
frameHeight : 404
displayWidth : 720
displayHeight : 404
moovposition : 32
encoder : Lavf54.15.102
Stream #0:0: Video: h264, yuv420p, 720x404 [SAR 1:1 DAR 180:101], q=2-31, 90k tbn, 25 tbc
Stream #0:1: Audio: aac, 44100 Hz, stereo
Stream mapping:
Stream #0:0 -> #0:0 (copy)
Stream #0:1 -> #0:1 (copy)
Press [q] to stop, [?] for help
Failed to open bitstream filter h264_mp4toannexb for stream 0 with codec copy: Invalid argument
[mpegts @ 01D18B20] H.264 bitstream malformed, no startcode found, use the h264_mp4toannexb bitstream filter (-bsf h264_
mp4toannexb)
av_interleaved_write_frame(): Invalid argument
Re: Gulli (France)

Posted:
Tue Aug 21, 2012 7:25 pm
by Illico
Illico wrote: Stream #0:0: Video: h264, yuv420p, 720x404 [SAR 1:1 DAR 180:101], q=2-31, 90k tbn, 25 tbc
Stream #0:1: Audio: aac, 44100 Hz, stereo
...
Failed to open bitstream filter h264_mp4toannexb for stream 0 with codec copy: Invalid argument
[mpegts @ 01D18B20] H.264 bitstream malformed, no startcode found, use the h264_mp4toannexb bitstream filter (-bsf h264_mp4toannexb)
av_interleaved_write_frame(): Invalid argument
I think that the problem comes from h264_mp4toannexb bitstream filter.
http://ffmpeg.org/pipermail/ffmpeg-user ... 05664.html