1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Overcoming the 4GB streaming bug...

Discussion in 'HD/HDR-FOX T2 Customised Firmware' started by suarez, Feb 6, 2012.

  1. suarez

    suarez New Member

    You all know Humax takes forever to release firmware, and whether they are looking into this bug is another question...

    So how about some custom script/prog to break up a recording in to less than 4GB chunks so that it can be watched on a client?
     
  2. Ezra Pound

    Ezra Pound Well-Known Member

    It is possible to Edit 'On The Box' both SD and Hi-def content See the WiKi page HERE
     
  3. af123

    af123 Administrator Staff Member

    That's a great idea and it should be simple enough to put a wrapper round Drutt's nicesplice package to achieve that.
     
  4. af123

    af123 Administrator Staff Member

    I've had a go at this..

    [​IMG]

    but nicesplice isn't working as I expect... time to talk to Drutt I think.
     
  5. af123

    af123 Administrator Staff Member

    If you're interested in this feature, try upgrading webif to 0.9.1-2; it's a new option in the OPT+ menu that's visible for any file over 4GB.
    At present, it creates a two minute overlap between segments.
    After splitting, you'll need to wait for the DLNA server to index the new parts before you can stream them but it doesn't seem to take too long.
     
    Drutt likes this.
  6. Ezra Pound

    Ezra Pound Well-Known Member

    Added Split to WiKi HERE
     
    af123 likes this.
  7. af123

    af123 Administrator Staff Member

    Thanks Ezra. I just pushed up an update that also labels the segments appropriately in the media browser, e.g.

    1/3. E.T. The Extra-Terrestrial
    2/3. E.T. The Extra-Terrestrial
    3/3. E.T. The Extra-Terrestrial
     
  8. 4291

    4291 Well-Known Member

    Tried it on a 6.87 GiB locked recording with this result. It managed Part 1 but then stalled.


    Split recording into 45 minute segments
    File: /media/drive1/Video/Tosca from the Royal Opera House_20111224_1435.ts
    Length: 02:10:03
    Size: 6.87 GiB (HD)
    Time: Splitting will take around 00:13:00
    Part 1
    NaN %NaN %
    extracting...
    Part 2
    0 %0 %
    waiting...
    Part 3
    0 %0 %
    waiting...

    Part 1 got up to 111% before showing NaN%

    Will try now with the recording unlocked.
     
  9. 4291

    4291 Well-Known Member

    I am seeing the same result as before. Part 1 is in the /video list (2.64 GiB) as well as the original.
     
  10. Black Hole

    Black Hole Felinos Guru

    How does nicesplice work? I thought it might rely on the DLNA server, but it can't do if it runs on the HD-FOX.
     
  11. 4291

    4291 Well-Known Member

    I have no intention to stream even if it is possible. I just like trying out the new features.
    The recording I chose is close to the 45 x 3 limit so I expected it to lose a bit off the end.
     
  12. Black Hole

    Black Hole Felinos Guru

    I know that, but some of the custom facilities (WebIF download, decrypt, unencrypt) rely on the DLNA service to work at all - and the HD-FOX can't do that even in HDR-mode. I now realise I have no idea how nicesplice (the core utility that is being used for split) works, because you have played with it on the HD-FOX.
     
  13. af123

    af123 Administrator Staff Member

    It isn't actually that uncommon for the progress bar to go slightly above 100% - it's an estimate only and difficult to get right because the bit rate can change throughout a recording.

    I haven't tried on a HD model but have successfully split several long high definition films on my HDR.

    I wonder if it could be related to you using an iPad to access the interface? I'll do some more testing this evening.
     
  14. af123

    af123 Administrator Staff Member

    It works directly on the files that make up a recording. The .ts file contains the raw frames which may or may not be encrypted (the frame headers aren't encrypted in either case) and the .nts is an index, it trims both the .ts and the .nts in concert then adjusts the meta information in the .hmt as necessary.
     
  15. Black Hole

    Black Hole Felinos Guru

    Oh I see. I had not envisaged the .ts being only selectively encrypted - I expected it would be encrypted en bloc. So nicesplice reads and parses the unencrypted parts of the file.
     
  16. suarez

    suarez New Member

    Nice one guys... Time for me to install the custom firmware then? ;)
     
  17. af123

    af123 Administrator Staff Member

    http://en.wikipedia.org/wiki/MPEG_transport_stream is a fairly accurate description of the format used on the Humax. It's only the payload that is encrypted.
     
  18. 4291

    4291 Well-Known Member

    I have tried it using Firefox on my Netbook and it works as I would expect.
    I now have Part 1 (2.64 GiB) Part 2 (2.42 GiB) and Part 3 (2.02 Gib) plus the original. Time taken was about right.
    Why should using the iPad be different? My box auto - updated this morning. Once the split is triggered shouldn't the box just get on with it.
    I am going to rename Parts 1,2, & 3 and try again using my iPad.
     
  19. 4291

    4291 Well-Known Member

    It does Part 1 OK, so it must be the iPad/Safari. Three out of three tries with the same result!
     
  20. af123

    af123 Administrator Staff Member

    I'll do some testing with my iPad tonight.. The stages are triggered by browser-side javascript so different browsers may have different problems with it..