Page 1 of 1

HP TouchPad

PostPosted: Mon Aug 22, 2011 1:05 am
by stoicblitzer
Hello,

I just recently got my hands on an HP TouchPad(TP) after the price dropped significantly. I got the Bhome app and tried to stream from my desktop to my TP. It didn't work using WMP12 media sharing so I went looking for solutions. I found Serviio while I was looking for mediatomb alternatives in WIndows. This is a great little UPnP server.

I added a HP TouchPad profile to the profiles.xml file and then realized that Serviio doesn't transcode .xxx INTO MPEG4 which is the only video format supported by the TP. I was wondering if this could be added somehow?

With the recent flood of TPs entering the wild, it would be great if Serviio could get ahead of the pack.

Here is the profile I created below. I would LOVE to change the targetVCodec attribute to "mpeg4video" if possible. :D

  Code:
<Profile id="14" name="HP TouchPad" extendsProfileId="1">
      <Transcoding>         
         <Video targetContainer="mpegts" targetVCodec="mpeg2video" targetACodec="aac">
            <Matches container="asf" />
            <Matches container="avi" />
            <Matches container="mp4" />
            <Matches container="matroska" />
            <Matches container="flv" />
            <Matches container="wtv" />
         </Video>
         <Audio targetContainer="mp3"> 
            <Matches container="mp4" />
            <Matches container="asf" />
            <Matches container="lpcm" />
            <Matches container="flac" />
            <Matches container="ogg" />
         </Audio>
      </Transcoding>   
   </Profile>

Re: HP TouchPad

PostPosted: Mon Aug 22, 2011 2:55 am
by Cerberus
MP4 is not stream friendly so it nto a case of just adding it. So until FFmpeg find a way to sport it serviio wont have it.

out of intrest what OS is the HP running??

Re: HP TouchPad

PostPosted: Mon Aug 22, 2011 9:51 am
by zip
does it support mp4 container or mpeg4 video codec (divx, avc)

Re: HP TouchPad

PostPosted: Mon Aug 22, 2011 12:22 pm
by stoicblitzer
:(

Cerberus wrote:out of intrest what OS is the HP running??

The TouchPad runs WebOS 3.0+.

zip wrote:does it support mp4 container or mpeg4 video codec (divx, avc)

I am not sure, I think mpeg4 video. These are the formats supported by WebOS. http://h18004.www1.hp.com/products/quickspecs/14077_na/14077_na.pdf

Audio: DRM-free MP3, AAC, AAC+, eAAC+, AMR, QCELP, WAV
Video: MPEG-4, H.263, H.264
Images: JPEG, PNG, BMP, GIF

Re: HP TouchPad

PostPosted: Mon Aug 22, 2011 12:33 pm
by zip
so those are video codecs. Not sure what containers it plays. can you find at least some videos you can play without transcoding?

Re: HP TouchPad

PostPosted: Mon Aug 22, 2011 6:50 pm
by Cerberus
from a quick read on the net ( hehe im suposwed to be working ) it seem that you are in teh same boat as apple devices and only an MP4 container is supported by teh device and sadly this will not currently work with FFmpeg ( system serviio uses to transcode files ). :(

Re: HP TouchPad

PostPosted: Mon Aug 22, 2011 11:59 pm
by stoicblitzer
that makes me sad. :(

On my old iPad, there was an app called Air VIdeo which let you stream from your PC to an iOS device as long as you installed their Air VIdeo Server on your PC. I wonder how they do it.

thanks guys anyway for your help. i'll continue to use serviio for audio, at least. :)

EDIT: I was looking around and they used a custom build of FFmpeg linked with libX264. hmmm... ;)

Re: HP TouchPad

PostPosted: Tue Aug 23, 2011 12:11 am
by Cerberus
stoicblitzer wrote:that makes me sad. :(

On my old iPad, there was an app called Air VIdeo which let you stream from your PC to an iOS device as long as you installed their Air VIdeo Server on your PC. I wonder how they do it.

thanks guys anyway for your help. i'll continue to use serviio for audio, at least. :)

EDIT: I was looking around and they used a custom build of FFmpeg linked with libX264. hmmm... ;)


still wont work as has to be in a MP4 container

Re: HP TouchPad

PostPosted: Sat Sep 17, 2011 6:16 pm
by kenth32
I have some native mp4 files that stream wonderfully through serviio to my HP Touchpad. However 99% of my videos are divx avi or wmv files and I can't stream them to my Touchpad without transcoding.

There is another program that does transcode and stream unsupported videos containers to the touchpad, but the program lacks configuration control and limits the bit rate so badly the videos look like crap. That is why I decided to try serviio.

Re: HP TouchPad

PostPosted: Wed Sep 28, 2011 6:36 pm
by bobsta22
Well - this one is odd for me.

Running serviio and mythtv both doing their jobs, I can view 'Finding_Nemo.mp4' from my Tocuhpad running 'BHome-UPnP' from the mythtvs inbuilt server fine. Servio (on the defaul generic profile) isnt doing it, so it has to be possible. anyway - mediainfo on the file is thus (I used Handbrake to squish it) and I never expected it to run on the touchpad at all - target was actually android! Not sure what myth is doing to it, there is no re-encoding, so I'm optimistic you can get this to work.

Nb. Serviio is the kind of code I would love to be able to write - excellent stuff. One 'want' would be the ability to add 'ffmpeg' options as an extra to let me tweak stuff to get widescreen out of my Panny BDT210 blu ray.

  Code:
General
Complete name                    : /mnt/compressed/Converted/Finding_Nemo.mp4
Format                           : MPEG-4
Format profile                   : Base Media / Version 2
Codec ID                         : mp42
File size                        : 851 MiB
Duration                         : 1h 30mn
Overall bit rate                 : 1 312 Kbps
Encoded date                     : UTC 2011-08-26 14:01:44
Tagged date                      : UTC 2011-08-26 14:21:40
Writing application              : HandBrake rev3736 2011082699

Video
ID                               : 1
Format                           : AVC
Format/Info                      : Advanced Video Codec
Format profile                   : Baseline@L3.0
Format settings, CABAC           : No
Format settings, ReFrames        : 1 frame
Codec ID                         : avc1
Codec ID/Info                    : Advanced Video Coding
Duration                         : 1h 30mn
Bit rate mode                    : Variable
Bit rate                         : 1 150 Kbps
Width                            : 716 pixels
Height                           : 576 pixels
Display aspect ratio             : 16:9
Frame rate mode                  : Constant
Frame rate                       : 25.000 fps
Color space                      : YUV
Chroma subsampling               : 4:2:0
Bit depth                        : 8 bits
Scan type                        : Progressive
Bits/(Pixel*Frame)               : 0.111
Stream size                      : 746 MiB (88%)
Writing library                  : x264 core 112
Encoding settings                : cabac=0 / ref=1 / deblock=1:0:0 / analyse=0x1:0x131 / me=umh / subme=9 / psy=1 / psy_rd=0.00:0.00 / mixed_ref=0 / me_range=16 / chroma_me=1 / trellis=0 / 8x8dct=0 / cqm=0 / deadzone=21,11 / fast_pskip=0 / chroma_qp_offset=0 / threads=9 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / constrained_intra=0 / bframes=0 / weightp=0 / keyint=250 / keyint_min=25 / scenecut=40 / intra_refresh=0 / rc_lookahead=40 / rc=crf / mbtree=1 / crf=23.0 / qcomp=0.60 / qpmin=3 / qpmax=51 / qpstep=4 / vbv_maxrate=1500 / vbv_bufsize=2000 / crf_max=0.0 / ip_ratio=1.40 / aq=1:1.00 / nal_hrd=none
Encoded date                     : UTC 2011-08-26 14:01:44
Tagged date                      : UTC 2011-08-26 14:21:40
Color primaries                  : BT.601-6 525, BT.1358 525, BT.1700 NTSC, SMPTE 170M
Transfer characteristics         : BT.709-5, BT.1361
Matrix coefficients              : BT.601-6 525, BT.1358 525, BT.1700 NTSC, SMPTE 170M

Audio
ID                               : 2
Format                           : AAC
Format/Info                      : Advanced Audio Codec
Format profile                   : LC
Codec ID                         : 40
Duration                         : 1h 30mn
Bit rate mode                    : Variable
Bit rate                         : 160 Kbps
Maximum bit rate                 : 202 Kbps
Channel(s)                       : 2 channels
Channel positions                : Front: L R
Sampling rate                    : 48.0 KHz
Compression mode                 : Lossy
Stream size                      : 104 MiB (12%)
Encoded date                     : UTC 2011-08-26 14:01:44
Tagged date                      : UTC 2011-08-26 14:21:39

Re: HP TouchPad

PostPosted: Wed Sep 28, 2011 10:18 pm
by bobsta22
Ok - an update on this. And quite strange. It appears servio will send all my 'mp4' files happily to be played on the touchpad ONLY when I browse to them via Folder view in the client. the file above was done using handbrake, but most were done using vlc on the commandline. Thus, another that works:

  Code:
mediainfo The_Incredibles.mp4
General
Complete name                    : The_Incredibles.mp4
Format                           : MPEG-4
Format profile                   : Base Media
Codec ID                         : isom
File size                        : 579 MiB
Duration                         : 1h 49mn
Overall bit rate                 : 737 Kbps
Encoded date                     : UTC 2011-04-09 13:47:55
Tagged date                      : UTC 2011-04-09 13:47:55
Writing application              : vlc 1.1.8 stream output
Comment                          : QuickTime 6.0 or greater

Video
ID                               : 2
Format                           : AVC
Format/Info                      : Advanced Video Codec
Format profile                   : High@L5.0
Format settings, CABAC           : Yes
Format settings, ReFrames        : 3 frames
Codec ID                         : avc1
Codec ID/Info                    : Advanced Video Coding
Duration                         : 1h 49mn
Bit rate mode                    : Variable
Bit rate                         : 636 Kbps
Width                            : 720 pixels
Height                           : 576 pixels
Display aspect ratio             : 16:9
Frame rate                       : 25.000 fps
Standard                         : PAL
Color space                      : YUV
Chroma subsampling               : 4:2:0
Bit depth                        : 8 bits
Scan type                        : Progressive
Bits/(Pixel*Frame)               : 0.061
Stream size                      : 500 MiB (86%)
Language                         : English
Encoded date                     : UTC 2011-04-09 13:47:55
Tagged date                      : UTC 2011-04-09 13:47:55

Audio
ID                               : 1
Format                           : AAC
Format/Info                      : Advanced Audio Codec
Format profile                   : LC
Codec ID                         : 40
Duration                         : 1h 49mn
Bit rate mode                    : Variable
Bit rate                         : 96.0 Kbps
Maximum bit rate                 : 168 Kbps
Channel(s)                       : 2 channels
Channel positions                : Front: L R
Sampling rate                    : 48.0 KHz
Compression mode                 : Lossy
Stream size                      : 75.5 MiB (13%)
Language                         : English
Encoded date                     : UTC 2011-04-09 13:47:55
Tagged date                      : UTC 2011-04-09 13:47:55

Re: HP TouchPad

PostPosted: Wed Sep 28, 2011 10:52 pm
by Cerberus
yes that correct mp4 in native format ( not trancoded ) will work fine but that not what the OP was asking , as that would mean all your files had to be in mp4 format as we CAN NOT transcode to mp4 container as its not supported by ffmpeg.

for andorid download skifta and rockplayer lite ( both free ) from market place and ALL files will work with the generic profile.

Re: HP TouchPad

PostPosted: Sun Nov 06, 2011 1:51 am
by Coastie
I was also here hoping Serviio could transcode to my HP Touchpad.

Re: HP TouchPad

PostPosted: Sun Nov 06, 2011 7:42 am
by Cerberus
Coastie wrote:I was also here hoping Serviio could transcode to my HP Touchpad.


coastie please read my above post, as it explain the issue and give a fix. :)

Re: HP TouchPad

PostPosted: Sun Nov 06, 2011 5:28 pm
by Coastie
I'm confused, the solution is to install andriod apps 'skifta and rockplayer' and install in WebOS to fix?

Re: HP TouchPad

PostPosted: Mon Nov 07, 2011 4:05 pm
by Cerberus
Coastie wrote:I'm confused, the solution is to install andriod apps 'skifta and rockplayer' and install in WebOS to fix?


no read my first sentance if your running webOS

yes that correct mp4 in native format ( not trancoded ) will work fine but that not what the OP was asking , as that would mean all your files had to be in mp4 format as we CAN NOT transcode to mp4 container as its not supported by ffmpeg.


but if your touchpad is running android then you can use the adroid apps i mentioned

Re: HP TouchPad

PostPosted: Wed Dec 07, 2011 5:36 pm
by levinite
From my experience with mediatomb, the touchpad can play mov containers as well as mp4 containers which use the h264 codec, though it is a bit more particular with the sound codec used. It will also play mov or mp4 files created by ffmpeg if qt-fastart is used on the resulting file. That is, if the codec used in your video is h264, a change of container and possibly sound transcoding is all that is needed. This is a fast operation since there is no need to transcode the video. I use this method with mediatomb and UPnP AV player to play my videos although the 3.04 update causes problems. It would be great if the same method would work with serviio. If serviio can perform a multi-command transcode similar to the following it should work:

  Code:
PATH1="/media/tempStorage"
ffmpeg -i "$1" -vcodec copy -acodec pcm_s16le -ac 2 -y -f mov "$PATH1"/TVID.mov && (qt-faststart "$PATH1"/TVID.mov "$PATH1"/MP4VID.mov & (sleep 1;cat "$PATH1"/MP4VID.mov > "$2"))


For more info see my post here http://forums.precentral.net/hp-touchpad/302824-tp-mediatomb-streaming.html