Page 1 of 2

Chapter function

PostPosted: Wed Nov 02, 2011 4:56 pm
by Illico
Did someone has already use the Chapter function on there renderer?
I know that Samsung with "All Share Software" and "Mezzmo" support it.
I don't know if Sony devices supports that.

Re: Chapter function

PostPosted: Wed Nov 02, 2011 5:06 pm
by zip
AFAIK it's Samsung only (C and above) and requires additional non-standard implementation. They basically split a video into 5 chunks, generate a thumbnail for it (CPU load?) and then present this metadata to the TV in a specific manner.

Re: Chapter function

PostPosted: Wed Nov 02, 2011 6:54 pm
by Illico
OK,
But on Sony Bravia "Option" menu, during dlna streaming, I could select "Next Chapiter" or "Previous Chapiter". When pressed the next/previous movie started.
Is there something on movie source to check?

Re: Chapter function

PostPosted: Thu Nov 03, 2011 10:10 am
by zip
Not sure. Maybe in MKV files. You can capture packets sent from the TV (if any) when you click that.

Re: Chapter function

PostPosted: Fri Nov 04, 2011 6:33 pm
by Cerberus
i found that the C series could cope with chapters by pressing the up and down arrow buttons on the remote but, AFAIK this only works on MKV file that contain the chapter information, otherwise as ILLICO sees on the sony it just jumps to the next/previous availible file.

Re: Chapter function

PostPosted: Fri Nov 04, 2011 11:34 pm
by zip
you can see how it works by installing All Share server

Re: Chapter function

PostPosted: Sat Nov 05, 2011 7:52 am
by Cerberus
i never managed to get all share to even work at all that why i came to serviio ;)

Re: Chapter function

PostPosted: Sat Nov 05, 2011 10:23 am
by Xmantium
Ive noticed this on my Bravia, would be good to have this function

How can you tell if an mkv video file have chapters or do all mkv come with chapters?

Re: Chapter function

PostPosted: Sat Nov 05, 2011 2:59 pm
by Cerberus
Xmantium wrote:Ive noticed this on my Bravia, would be good to have this function

How can you tell if an mkv video file have chapters or do all mkv come with chapters?


ffmpeg -i on the file if it contains chapter they will show :)

Re: Chapter function

PostPosted: Sat Nov 05, 2011 7:15 pm
by Illico
Sony Bravia device only support mpeg2 program stream or transport stream (vob, ts, m2ts). (not mkv)
I did not found such format with embedded chapter information, so ...

EDIT: it seems that m2ts could implement chapters : http://en.wikipedia.org/wiki/Comparison ... _supported

Re: Chapter function

PostPosted: Thu Nov 10, 2011 1:09 pm
by Illico
After googling it seems that m2ts container is not the solution for chapter.

But I read that with DLNA MPEG_PS_NTSC and MPEG_PS_PAL profile, the server could provide IFO file in resources. And I know that IFO file implements PCR timestamp information but also chapter informations.
Zip, do you have informations about IFO file support?



EDIT: In fact it seems that server could detect a DVD structure folder then provide stream files (VTS_xxxx) and IFO file in <res>

For example a Twonky example :
  Code:
object.container:
    <container id="0$3$32$46$47" parentID="0$3$32$46" restricted="1" childCount="9" searchable="1">
    <dc:title>09</dc:title>
    <upnp:genre>Unknown</upnp:genre>
    <pv:modificationTime>1316588594</pv:modificationTime>
    <upnp:class>object.container</upnp:class>
    </container>

object.item.videoItem.movie:
    <item id="0$3$32$46$47R2315" refID="0$3$28I2315" parentID="0$3$32$46$47" restricted="1">
    <dc:title>VTS_01_0</dc:title>
    <dc:date>2011-09-20</dc:date>
    <upnp:genre>Unknown</upnp:genre>
    <upnp:album>VIDEO_TS</upnp:album>
    <upnp:albumArtURI dlna:profileID="JPEG_TN">http://192.168.1.15:9000/disk/defaultalbumart/nocover_video.jpg/O0$3$28I2315.jpg?scale=160x160</upnp:albumArtURI>
    <pv:extension>VOB</pv:extension>
    <pv:lastPlayedTime>2011-09-21T15:31:10</pv:lastPlayedTime>
    <pv:playcount>12</pv:playcount>
    <pv:modificationTime>1316534256</pv:modificationTime>
    <pv:addedTime>1316588594</pv:addedTime>
    <pv:lastUpdated>1316534256</pv:lastUpdated>
    <res duration="0:00:02.882" size="974848" resolution="720x576"
     dlna:ifoFileURI="http://192.168.1.15:9000/disk/O0$3$32$46$47R2315.ifo"
     protocolInfo="http-get:*:video/mpeg:DLNA.ORG_PN=MPEG_PS_PAL;DLNA.ORG_OP=11;DLNA.ORG_FLAGS=01700000000000000000000000000000"
     pv:timeseekinfo="http://192.168.1.15:9000/disk/O0$3$32$46$47R2315.seek">http://192.168.1.15:9000/disk/DLNA-PNMPEG_PS_PAL-OP11-FLAGS01700000/O0$3$28I2315.VOB</res>
    <upnp:class>object.item.videoItem.movie</upnp:class>
    </item>

object.container.storageFolder:
    <container id="0$3$35" parentID="0$3" restricted="0" childCount="1" searchable="1">
    <dc:title>By Folder</dc:title>
    <pv:modificationTime>0</pv:modificationTime>
    <upnp:class>object.container.storageFolder</upnp:class>
    </container>

Re: Chapter function

PostPosted: Thu Nov 10, 2011 1:55 pm
by zip
Does it then play the whole DVD in one go?

Re: Chapter function

PostPosted: Thu Nov 10, 2011 2:13 pm
by Illico
Sorry I did not have Twonky installed, its just a google copy/past ! :!:

Re: Chapter function

PostPosted: Thu Nov 10, 2011 2:31 pm
by zip
ticket #301 is open for that.

Re: Chapter function

PostPosted: Thu Jan 12, 2012 11:17 pm
by Krater
Does this mean you are going to implement a chaptering function? Would this work for any file type or just for DVDs?
Is there anywhere to review open tickets?

Re: Chapter function

PostPosted: Fri Jan 13, 2012 7:26 am
by Cerberus
Krater wrote:Does this mean you are going to implement a chaptering function? Would this work for any file type or just for DVDs?
Is there anywhere to review open tickets?


in a future release yes hopefully,no will be only for ceratin file types ( not sure on what ones yet ) to view open ticket go to : http://bitbucket.org/xnejp03/serviio/issues/

Re: Chapter function

PostPosted: Fri Jan 13, 2012 8:57 am
by Illico

Re: Chapter function

PostPosted: Fri Jan 13, 2012 12:54 pm
by Krater
Hi
Thanks for the replies.
So, would it be possible to implement chaptering for Samsung TVs?
Samsung's AllShare generates .mta files which are XMLs with five chapters and JPEG screenshots encoded in base64, and then offers them as
<sec:MetaFileInfo sec:type="mta">http://192.168.0.4:17679/FileProvider/108</sec:MetaFileInfo>
in directory listings and item info petitions. The TV requests the resource later if needed.
You have all the info about the file spec here:
http://forum.conceiva.com/showthread.ph ... -series-TV
http://forum.conceiva.com/showthread.ph ... amsung-TVs
I have made a Wireshark capture switching on the TV, browsing a folder, starting a video, and then going to a chapter with AllShare, and attached the data sent within each TCP stream as text, hope it helps.
It would be great to have support for these .mta files. Even if Serviio doesn't generate them, we could start AllShare and have it generate them, or even another tool could be written for that.
Please, consider it. A lot of people have Samsung TVs where FF/RW don't work.
Thanks,

Krater

Re: Chapter function

PostPosted: Fri Jan 13, 2012 12:56 pm
by Illico
Krater wrote:Samsung's AllShare generates .mta files which are XMLs with five chapters and JPEG screenshots encoded in base64, and then offers them as ...


It's not DLNA compliant, but Zip had already made some custom feature, so ...

Re: Chapter function

PostPosted: Fri Jan 13, 2012 2:38 pm
by zip
I was thinking about this before. I would be easy to implement but there is one thing to consider: CPU and indexing speed. If we have to generate 6 thumbnails for each video instead of 1 many people would not be happy. It could be a turn off/on feature but then a lot of people would miss on it. I wonder it it works without the images.