Remote files

  • Would like to report one (possible) issue with Dreambox Two:


    I have installed curlftpfs (available e.g. via arch Linux ARM) and playing of remote mp4/avi files stutters while mkv runs fine. It happens even with very small mp4/avi files and the problem is not with my bandwidth or local network issues (the same files run perfectly with curlftpfs and older enigma2 boxes).

    I guess there is some different reading method implemented for different files ? It would be nice if this could be looked into. Perhaps the reading buffer is kept too small.


    Update:

    I've been doing some more digging into it and running curlftpfs in debug mode.

    For some files I end up with a log like that:


    getattr file.mp4

    unique: 270, success, outsize: 120

    read[547943895376] 8192 bytes from 3575808

    unique: 269, success, outsize: 8208

    unique: 271, opcode: READ (15), nodeid: 45, insize: 80, pid: 10231

    read[547943895376] 8192 bytes from 3584000 flags: 0x20000

    read[547943895376] 8192 bytes from 3584000

    unique: 271, success, outsize: 8208

    unique: 272, opcode: READ (15), nodeid: 45, insize: 80, pid: 10231

    read[547943895376] 8192 bytes from 3592192 flags: 0x20000

    read[547943895376] 8192 bytes from 3592192

    unique: 272, success, outsize: 8208

    unique: 273, opcode: READ (15), nodeid: 45, insize: 80, pid: 10231

    read[547943895376] 4096 bytes from 3600384 flags: 0x20000

    read[547943895376] 4096 bytes from 3600384

    unique: 273, success, outsize: 4112

    unique: 274, opcode: READ (15), nodeid: 45, insize: 80, pid: 10231

    read[547943895376] 4096 bytes from 3629056 flags: 0x20000

    unique: 275, opcode: GETATTR (3), nodeid: 45, insize: 56, pid: 465


    The thing here is that there are lots of these "getattr file.mp4" which seems to imply that the file is getting opened/closed or something all the times and only a few bytes 8k/4k are read at a time.


    For working mkv files I do not see "getattr" that much and much more data is read at once, e.g.:


    read[547809669616] 65536 bytes from 230273024 flags: 0x20000

    read[547809669616] 65536 bytes from 230273024

    unique: 4205, success, outsize: 65552

    unique: 4206, opcode: READ (15), nodeid: 17, insize: 80, pid: 11983

    read[547809669616] 53248 bytes from 230338560 flags: 0x20000

    read[547809669616] 53248 bytes from 230338560

    unique: 4206, success, outsize: 53264

    unique: 4207, opcode: READ (15), nodeid: 17, insize: 80, pid: 11983


    This file reading structure makes it impossible to play remote media files, I hope this can be fixed soon!


    Thanks!

    4 Mal editiert, zuletzt von mrabcx ()

  • mrabcx

    Hat den Titel des Themas von „Remote files and subtitles“ zu „Remote files“ geändert.
  • Can someone please attempt to fix this issue ? Do not understand how 10 old year boxes do not have any problems while the new Two can not play files via curlftpfs!