FAQ  •  Register  •  Login

Need Help Transcoding Hulu on Sony NSZ-GT1

<<

jd1pek

Serviio newbie

Posts: 3

Joined: Wed Feb 08, 2012 2:28 am

Post Wed Feb 08, 2012 4:58 am

Need Help Transcoding Hulu on Sony NSZ-GT1

Device: Sony NSZ-GT1 (GoogleTV Android XX)
Version: Serviio 0.6.2
OS: Archlinux

I am trying to transcode Hulu content. My OnlineTranscoding tag:
  Code:
   <OnlineTranscoding>
     <Video targetContainer="mpegts" targetVCodec="mpeg2video" targetACodec="ac3">
       <Matches container="flv" />
     </Video>


The file transcodes but won't play on the device:
  Code:
2012-02-06 23:18:24,809 DEBUG [ResourceTransportRequestHandler] Resource request accepted. Using client 'IPAddress=/192.168.CLIENT.IP, Profile=Sony Internet TV'
2012-02-06 23:18:24,809 DEBUG [ResourceTransportRequestHandler] Request for resource 1000000000010001 and type 'MEDIA_ITEM' received
2012-02-06 23:18:24,810 DEBUG [MediaResourceRetrievalStrategy] Getting information about media item 1000000000010001 (online)
2012-02-06 23:18:24,810 DEBUG [OnlineRepositoryDAOImpl] Reading an OnlineRepository (id = 1)
2012-02-06 23:18:24,812 DEBUG [OnlineRepositoryDAOImpl] Reading an OnlineRepository (id = 1)
2012-02-06 23:18:24,814 DEBUG [VideoDeliveryEngine] Delivering item '1000000000010001' for client 'IPAddress=/192.168.CLIENT.IP, Profile=Sony Internet TV'
2012-02-06 23:18:24,814 DEBUG [VideoDeliveryEngine] Delivering file 'rtmpe://cp39466.edgefcs.net/ondemand?auth=daEaVbydoaGcKaXcec9bfaDbedAdVapc.bF-bpmtih-c0-3oJEvCp0Gxv&aifp=sll02152008&sl
ist=hulu25/999/60022999;.international=false&hgt=OZU7Pvs7j27-nhteNno7wk0huyXL7Bb54Vyy84aEwi2uieRp4y4KOVO3C8yEXpvB7ZgnkiNaYnwp1vvp0jj1GQuJrbqUWyBQjIxoRldtuZbEpiwkngpfotAlApZAeXT4DWZHFCmPW7D
XyugfgC9g-5K_j8yB0jEo3ujdMCqU8BAWzsURk4QXXuWKBFKeUUt8pwlQJuyERp0X-swk_OV1ao4I_Gnu-uA4frvaP0uhIMSs62IfKOUcGSh8jgNU-6VL&hgt_ver=331370278 app=ondemand?auth=daEaVbydoaGcKaXcec9bfaDbedAdVapc.b
F-bpmtih-c0-3oJEvCp0Gxv&aifp=sll02152008&slist=hulu25/999/60022999;.international=false&hgt=OZU7Pvs7j27-nhteNno7wk0huyXL7Bb54Vyy84aEwi2uieRp4y4KOVO3C8yEXpvB7ZgnkiNaYnwp1vvp0jj1GQuJrbqUWyBQ
jIxoRldtuZbEpiwkngpfotAlApZAeXT4DWZHFCmPW7DXyugfgC9g-5K_j8yB0jEo3ujdMCqU8BAWzsURk4QXXuWKBFKeUUt8pwlQJuyERp0X-swk_OV1ao4I_Gnu-uA4frvaP0uhIMSs62IfKOUcGSh8jgNU-6VL&hgt_ver=331370278 playpath=mp4:hulu25/999/60022999/agave50247364_8746861_H264_650.mp4 swfUrl=http://www.hulu.com/player.swf swfVfy=1' using transcoding
2012-02-06 23:18:24,815 DEBUG [AbstractTranscodingDeliveryEngine] A suitable transcoding job already exists, re-use it for client 'IPAddress=/192.168.CLIENT.IP, Profile=Sony Internet TV'
2012-02-06 23:18:24,815 DEBUG [FileBasedTranscodingDeliveryStrategy] Sending transcoding stream
2012-02-06 23:18:24,816 DEBUG [VideoDeliveryEngine] Found Format profile for transcoded file rtmpe://cp39466.edgefcs.net/ondemand?auth=daEaVbydoaGcKaXcec9bfaDbedAdVapc.bF-bpmtih-c0-3oJEvCp0Gxv&aifp=sll02152008&slist=hulu25/999/60022999;.international=false&hgt=OZU7Pvs7j27-nhteNno7wk0huyXL7Bb54Vyy84aEwi2uieRp4y4KOVO3C8yEXpvB7ZgnkiNaYnwp1vvp0jj1GQuJrbqUWyBQjIxoRldtuZbEpiwkngpfotAlApZAeXT4DWZHFCmPW7DXyugfgC9g-5K_j8yB0jEo3ujdMCqU8BAWzsURk4QXXuWKBFKeUUt8pwlQJuyERp0X-swk_OV1ao4I_Gnu-uA4frvaP0uhIMSs62IfKOUcGSh8jgNU-6VL&hgt_ver=331370278 app=ondemand?auth=daEaVbydoaGcKaXcec9bfaDbedAdVapc.bF-bpmtih-c0-3oJEvCp0Gxv&aifp=sll02152008&slist=hulu25/999/60022999;.international=false&hgt=OZU7Pvs7j27-nhteNno7wk0huyXL7Bb54Vyy84aEwi2uieRp4y4KOVO3C8yEXpvB7ZgnkiNaYnwp1vvp0jj1GQuJrbqUWyBQjIxoRldtuZbEpiwkngpfotAlApZAeXT4DWZHFCmPW7DXyugfgC9g-5K_j8yB0jEo3ujdMCqU8BAWzsURk4QXXuWKBFKeUUt8pwlQJuyERp0X-swk_OV1ao4I_Gnu-uA4frvaP0uhIMSs62IfKOUcGSh8jgNU-6VL&hgt_ver=331370278 playpath=mp4:hulu25/999/60022999/agave50247364_8746861_H264_650.mp4 swfUrl=http://www.hulu.com/player.swf swfVfy=1: MPEG_TS_SD_EU_ISO
2012-02-06 23:18:24,816 DEBUG [VideoDeliveryEngine] Found Format profile for transcoded file rtmpe://cp39466.edgefcs.net/ondemand?auth=daEaVbydoaGcKaXcec9bfaDbedAdVapc.bF-bpmtih-c0-3oJEvCp0Gxv&aifp=sll02152008&slist=hulu25/999/60022999;.international=false&hgt=OZU7Pvs7j27-nhteNno7wk0huyXL7Bb54Vyy84aEwi2uieRp4y4KOVO3C8yEXpvB7ZgnkiNaYnwp1vvp0jj1GQuJrbqUWyBQjIxoRldtuZbEpiwkngpfotAlApZAeXT4DWZHFCmPW7DXyugfgC9g-5K_j8yB0jEo3ujdMCqU8BAWzsURk4QXXuWKBFKeUUt8pwlQJuyERp0X-swk_OV1ao4I_Gnu-uA4frvaP0uhIMSs62IfKOUcGSh8jgNU-6VL&hgt_ver=331370278 app=ondemand?auth=daEaVbydoaGcKaXcec9bfaDbedAdVapc.bF-bpmtih-c0-3oJEvCp0Gxv&aifp=sll02152008&slist=hulu25/999/60022999;.international=false&hgt=OZU7Pvs7j27-nhteNno7wk0huyXL7Bb54Vyy84aEwi2uieRp4y4KOVO3C8yEXpvB7ZgnkiNaYnwp1vvp0jj1GQuJrbqUWyBQjIxoRldtuZbEpiwkngpfotAlApZAeXT4DWZHFCmPW7DXyugfgC9g-5K_j8yB0jEo3ujdMCqU8BAWzsURk4QXXuWKBFKeUUt8pwlQJuyERp0X-swk_OV1ao4I_Gnu-uA4frvaP0uhIMSs62IfKOUcGSh8jgNU-6VL&hgt_ver=331370278 playpath=mp4:hulu25/999/60022999/agave50247364_8746861_H264_650.mp4 swfUrl=http://www.hulu.com/player.swf swfVfy=1: MPEG_TS_SD_NA_ISO
2012-02-06 23:18:24,816 DEBUG [VideoDeliveryEngine] Found Format profile for transcoded file rtmpe://cp39466.edgefcs.net/ondemand?auth=daEaVbydoaGcKaXcec9bfaDbedAdVapc.bF-bpmtih-c0-3oJEvCp0Gxv&aifp=sll02152008&slist=hulu25/999/60022999;.international=false&hgt=OZU7Pvs7j27-nhteNno7wk0huyXL7Bb54Vyy84aEwi2uieRp4y4KOVO3C8yEXpvB7ZgnkiNaYnwp1vvp0jj1GQuJrbqUWyBQjIxoRldtuZbEpiwkngpfotAlApZAeXT4DWZHFCmPW7DXyugfgC9g-5K_j8yB0jEo3ujdMCqU8BAWzsURk4QXXuWKBFKeUUt8pwlQJuyERp0X-swk_OV1ao4I_Gnu-uA4frvaP0uhIMSs62IfKOUcGSh8jgNU-6VL&hgt_ver=331370278 app=ondemand?auth=daEaVbydoaGcKaXcec9bfaDbedAdVapc.bF-bpmtih-c0-3oJEvCp0Gxv&aifp=sll02152008&slist=hulu25/999/60022999;.international=false&hgt=OZU7Pvs7j27-nhteNno7wk0huyXL7Bb54Vyy84aEwi2uieRp4y4KOVO3C8yEXpvB7ZgnkiNaYnwp1vvp0jj1GQuJrbqUWyBQjIxoRldtuZbEpiwkngpfotAlApZAeXT4DWZHFCmPW7DXyugfgC9g-5K_j8yB0jEo3ujdMCqU8BAWzsURk4QXXuWKBFKeUUt8pwlQJuyERp0X-swk_OV1ao4I_Gnu-uA4frvaP0uhIMSs62IfKOUcGSh8jgNU-6VL&hgt_ver=331370278 playpath=mp4:hulu25/999/60022999/agave50247364_8746861_H264_650.mp4 swfUrl=http://www.hulu.com/player.swf swfVfy=1: MPEG_TS_SD_KO_ISO
2012-02-06 23:18:24,816 DEBUG [ResourceTransportRequestHandler] Unsupported range request, sending back 406
2012-02-06 23:18:24,816 DEBUG [ResourceTransportRequestHandler] HTTP/1.1 406 Not Acceptable, headers = [[Content-Type: video/mpeg]]



If I change the extension of the transcoded file it plays fine:
  Code:
2012-02-06 23:52:59,804 DEBUG [MediaItemDAOImpl] Reading a MediaItem (id = 25)
2012-02-06 23:52:59,806 DEBUG [VideoDAOImpl] Reading a Video (id = 25)
2012-02-06 23:52:59,808 DEBUG [VideoDeliveryEngine] Delivering item '25' for client 'IPAddress=/192.168.CLIENT.IP, Profile=Sony Internet TV'
2012-02-06 23:52:59,808 DEBUG [VideoDeliveryEngine] Delivering file 'transcoding-temp-1000000000010005-MPEG2TS.mp4' in native format
2012-02-06 23:52:59,808 DEBUG [MediaItemDAOImpl] Getting file of media item 25
2012-02-06 23:52:59,812 DEBUG [MediaItemDAOImpl] Marking MediaItem (id = 25) as read
2012-02-06 23:52:59,854 DEBUG [LocalContentCacheDecorator] Cleared cache (local_resetafterplay)
2012-02-06 23:52:59,855 DEBUG [ResourceTransportRequestHandler] Creating stream entity with length: 646617540
2012-02-06 23:52:59,855 DEBUG [ResourceTransportRequestHandler] Sending file back
2012-02-06 23:52:59,855 DEBUG [ResourceTransportRequestHandler] HTTP/1.1 206 Partial Content, headers = [[Content-Type: video/mpeg,Content-Range: bytes 0-646617539/646617540,Content-Length: 646617540,Date: Tue, 07 Feb 2012 07:52:59 GMT,Server: Linux, UPnP/1.0 DLNADOC/1.50, Serviio/0.6.2,Cache-control: no-cache,transferMode.dlna.org: Streaming]]
2012-02-06 23:52:59,856 DEBUG [WebServer] I/O error: Connection reset
2012-02-06 23:53:00,039 DEBUG [WebServer] Incoming connection from /192.168.CLIENT.IP:37748
2012-02-06 23:53:00,040 DEBUG [ResourceTransportRequestHandler] GET /resource/25/MEDIA_ITEM/MPEG_TS_SD_NA_ISO*0 HTTP/1.1, headers = [User-Agent: Lavf52.64.2,Accept: */*,Range: bytes=646367540-,Host: 192.168.SERVER.IP:8895,Connection: close]]
2012-02-06 23:53:00,040 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.CLIENT.IP
2012-02-06 23:53:00,042 DEBUG [ResourceTransportRequestHandler] Resource request accepted. Using client 'IPAddress=/192.168.CLIENT.IP, Profile=Sony Internet TV'
2012-02-06 23:53:00,042 DEBUG [ResourceTransportRequestHandler] Request for resource 25 and type 'MEDIA_ITEM' received
2012-02-06 23:53:00,043 DEBUG [MediaResourceRetrievalStrategy] Getting information about media item 25 (local)
2012-02-06 23:53:00,043 DEBUG [MediaItemDAOImpl] Reading a MediaItem (id = 25)
2012-02-06 23:53:00,045 DEBUG [VideoDAOImpl] Reading a Video (id = 25)
2012-02-06 23:53:00,047 DEBUG [VideoDeliveryEngine] Delivering item '25' for client 'IPAddress=/192.168.CLIENT.IP, Profile=Sony Internet TV'
2012-02-06 23:53:00,047 DEBUG [VideoDeliveryEngine] Delivering file 'transcoding-temp-1000000000010005-MPEG2TS.mp4' in native format
2012-02-06 23:53:00,048 DEBUG [MediaItemDAOImpl] Getting file of media item 25
2012-02-06 23:53:00,060 DEBUG [ResourceTransportRequestHandler] Creating stream entity with length: 250000
2012-02-06 23:53:00,068 DEBUG [ResourceTransportRequestHandler] Sending file back
2012-02-06 23:53:00,069 DEBUG [ResourceTransportRequestHandler] HTTP/1.1 206 Partial Content, headers = [[Content-Type: video/mpeg,Content-Range: bytes 646367540-646617539/646617540,Content-Length: 250000,Date: Tue, 07 Feb 2012 07:53:00 GMT,Server: Linux, UPnP/1.0 DLNADOC/1.50, Serviio/0.6.2,Cache-control: no-cache,transferMode.dlna.org: Streaming]]



I have tried various transcoding settings and haven't had any luck.

I have tried to determine what my device supports the following ways:
  • Sony's Website: http://store.sony.com/webapp/wcs/stores ... ifications
    Media Player Supported File Format
    AAC/MPEG4-AAC : Yes; GIF : Yes; H.264/MPEG-4 AVC : Yes; JPEG : Yes; MP3 (MPEG-1 Audio Layer) : Yes; PNG : Yes
  • Device Spy - viewtopic.php?f=5&t=19 - Unfortunately my device never shows up in the list, nor does it appear on the DLNA Product Search site.
  • Many other Google TV posts

This is what the file looks like:
  Code:
serviio-0.6.2 # ffmpeg -i /tmp/Serviio/transcoding-temp-1000000000010005-MPEG2TS.stf
ffmpeg version N-36713-gbc11580 Copyright (c) 2000-2012 the FFmpeg developers
  built on Jan 11 2012 22:43:11 with gcc 4.6.2 20111223 (prerelease)
  configuration: --prefix=/usr --enable-libmp3lame --enable-libvorbis --enable-libxvid --enable-libx264 --enable-libvpx --enable-libtheora --enable-libgsm --enable-libspeex --enable-postproc --enable-shared --enable-x11grab --enable-libopencore_amrnb --enable-libopencore_amrwb --enable-libschroedinger --enable-libopenjpeg --enable-librtmp --enable-libpulse --enable-gpl --enable-version3 --enable-runtime-cpudetect --disable-debug --disable-static
  libavutil      51. 34.100 / 51. 34.100
  libavcodec     53. 54.100 / 53. 54.100
  libavformat    53. 29.100 / 53. 29.100
  libavdevice    53.  4.100 / 53.  4.100
  libavfilter     2. 58.100 /  2. 58.100
  libswscale      2.  1.100 /  2.  1.100
  libswresample   0.  6.100 /  0.  6.100
  libpostproc    51.  2.100 / 51.  2.100
[mpegts @ 0x24353a0] max_analyze_duration 5000000 reached at 5005000
Input #0, mpegts, from '/tmp/Serviio/transcoding-temp-1000000000010005-MPEG2TS.stf':
  Duration: 00:21:46.22, start: 1.400000, bitrate: 3960 kb/s
  Program 1
    Metadata:
      service_name    : Service01
      service_provider: FFmpeg
    Stream #0:0[0x100]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002), yuv420p, 640x360 [SAR 1:1 DAR 16:9], 104857 kb/s, 29.97 fps, 29.97 tbr, 90k tbn, 59.94 tbc
    Stream #0:1[0x101]: Audio: ac3 ([129][0][0][0] / 0x0081), 44100 Hz, stereo, s16, 192 kb/s



Any help / pointers are appreciated.
<<

Cerberus

User avatar

DLNA master

Posts: 4114

Joined: Sun Jan 02, 2011 5:20 pm

Location: Reading, UK

Post Wed Feb 08, 2012 5:20 am

Re: Need Help Transcoding Hulu on Sony NSZ-GT1

if its running android just use skifta and rockplayer lite ;)
Phil Bennett
Beta Tester Group
Wiki | FAQ

Samsung LE40C750 LCD | Samsung BD-C5900 | Sony PS3 | Windows 7 |
HowTo: Provide supported formats of a device HowTo: Record a new ticket on Bitbucket
HowTo: Provide details of a video file that doesn't play HowTo: Turn on detailed logging
<<

jd1pek

Serviio newbie

Posts: 3

Joined: Wed Feb 08, 2012 2:28 am

Post Wed Feb 08, 2012 6:54 am

Re: Need Help Transcoding Hulu on Sony NSZ-GT1

Thanks for the quick reply.

I did see the thread on that viewtopic.php?f=17&t=3465

That seemed like it was more intended for telephones. Skifta and rockplayer light don't work on the the sony blu-ray player.

My other file types are working fine on serviio as they did on mediatomb, I was just trying to see if anyone was able to assist with getting the transcoding working. The transcoded file seems to be compatible once I change the extension so I was hoping there would be an easy fix to make this work.

Let me know if any other details can be of assistance.

Thanks.
<<

Cerberus

User avatar

DLNA master

Posts: 4114

Joined: Sun Jan 02, 2011 5:20 pm

Location: Reading, UK

Post Wed Feb 08, 2012 8:03 am

Re: Need Help Transcoding Hulu on Sony NSZ-GT1

you cant transcode for this device as it only supports mp4 and you cant transcode to mp4.
Phil Bennett
Beta Tester Group
Wiki | FAQ

Samsung LE40C750 LCD | Samsung BD-C5900 | Sony PS3 | Windows 7 |
HowTo: Provide supported formats of a device HowTo: Record a new ticket on Bitbucket
HowTo: Provide details of a video file that doesn't play HowTo: Turn on detailed logging
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Thu Feb 09, 2012 10:10 am

Re: Need Help Transcoding Hulu on Sony NSZ-GT1

Can you play any other transcoded files?

It's probably due to this message:

  Code:
 DEBUG [ResourceTransportRequestHandler] Unsupported range request, sending back 406


It means the renderer is asking for a byte range which is not right or supported. I'd need more from the log (happened before the point you posted).
<<

jd1pek

Serviio newbie

Posts: 3

Joined: Wed Feb 08, 2012 2:28 am

Post Fri Feb 10, 2012 2:36 am

Re: Need Help Transcoding Hulu on Sony NSZ-GT1

Thanks. I have attached a longer log.

Maybe I am wrong but it seems that since I am able to play the transcoded file if I change the extension shouldn't it be compatible? (I don't know a lot about transcoding)

Thanks again.
Attachments
serviio.log
(62.93 KiB) Downloaded 520 times
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Fri Feb 10, 2012 11:41 am

Re: Need Help Transcoding Hulu on Sony NSZ-GT1

OK, it's asking for a byte range which Serviio specifically says it doesn't support for this file. Thus the device doesn't support this kind of transfer.
<<

serviio022012

Serviio newbie

Posts: 2

Joined: Sun Feb 12, 2012 6:13 am

Post Sun Feb 12, 2012 6:27 am

Re: Need Help Transcoding Hulu on Sony NSZ-GT1

Hi zip,
I have the exact same problem.

Now that we know the cause, any suggestions how this can be solved?
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Sun Feb 12, 2012 12:32 pm

Re: Need Help Transcoding Hulu on Sony NSZ-GT1

It can't on my side. You'd have to ask Sony to fix the player not to ask Serviio for things it doesn't do.
<<

serviio022012

Serviio newbie

Posts: 2

Joined: Sun Feb 12, 2012 6:13 am

Post Sun Feb 12, 2012 9:25 pm

Re: Need Help Transcoding Hulu on Sony NSZ-GT1

Sony?? They will never fix that -- I will anyway never buy a Sony product again. But now I have it and since there are many folks out there with Sony Google TV products, please allow me to log this as a feature request for a future serviio release. Maybe there is a workaround to give the Sony player what it asks for w/o too much development effort.

Anyway thanks for this wonderful application - I love serviio.

Regards.

Return to Sony

Who is online

Users browsing this forum: No registered users and 9 guests

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