Ticket #505 (closed defect: fixed)

Opened 2 years ago

Last modified 22 months ago

"afspeel"support, pdf viewer

Reported by: peter Owned by: forgacs
Priority: major Milestone: MediaMosa 3.0
Component: Support for PDF issue Version:
Keywords: Cc:
MoSCoW: Should Have Estimated time after impact analysis:
Related to project: none Tested: no
Accepted: no Estimated Hours: 8

Description

(Dutch text)

MediaMosa ondersteunt afspelen van Media door resultaten van de
analyse te koppelen aan een (html)object definitie. Momenteel is dit
op basis van de containerinformatie van ffmpeg en is dus gericht op
audio en video.

Voor het Archipel project is het wenselijk om een afspeelobject voor
pdf's en TIFF te kunnen vaststellen. Wij stellen voor dat dit op basis
van mimetype wordt gekozen, hetgeen al reeds in het analyseproces is
gerealiseerd. Er dient in MediaMosa een mogelijkheid te komen om het
afspeelobject per mimetype te kunnen definieren. Dit biedt een
flexible structuur voor het weergeven van pdf en is onafhankelijk van
de uiteindelijk gekozen oplossing.

Change History

Changed 2 years ago by peter

  • milestone changed from MediaMosa X.X to Support for PDF

Changed 2 years ago by forgacs

  • owner set to forgacs
  • status changed from new to assigned

Changed 2 years ago by forgacs

  • status changed from assigned to closed
  • resolution set to fixed

Development:
* Server configuration page with mime type field.

Container OR mime type field is required.

* Tool modules: PDF / TIFF

New hook: "mediamosa_tool_analyse". If mime type is theirs, then they response TRUE.
New REST calls for transcoding PDF and TIFF files: /internal/job/$job_id/exec/pdf and tiff.

* Play proxy development.

Response is depend on mime type too, not just container type.

* After upload MediaMosa starts an analyse process. Now it triggers the new hook: "mediamosa_tool_analyse".

If one of the module response TRUE, then it starts a transcode job.

* Job server calls the /internal/job/$job_id/exec/pdf and tiff call, if the transcode is "tool transcode".

The REST calls do the following:

  • Make a subdir under transcode directory for the temporary files.
  • Start the command.
  • Wait till the end of command.
  • Create a transcoded mediafile.
  • Remove the temporary files and directory.

Necessary MediaMosa settings:
* Job server / Tools (admin/mediamosa/config/server):

ANALYSE|ffmpeg|STILL|pdf|tiff

* New streaming server definitions:

Server name: JPG / PNG / GIF
Description: General image server for JPG, PNG and GIF.
URI: http://mediamosa_23/ticket/{TICKET}
Mime types: image/jpeg|image/png|image/gif
Object code:
<img src="{TICKET_URI}" width="{WIDTH}" height="{HEIGHT}">
Server name: SWF
Description: SWF object server.
URI: http://mediamosa_23/ticket/{TICKET}
Mime types: application/x-shockwave-flash
Object code:
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
        width="{WIDTH}"
        height="{HEIGHT}"
        codebase="http://active.macromedia.com/flash5/cabs/swflash.cab#version=8,0,0,0"> 
        <param name="MOVIE" value="{TICKET_URI}"> 
        <param name="PLAY" value="true"> 
        <param name="LOOP" value="true"> 
        <param name="QUALITY" value="high"> 
        <param name="FLASHVARS" value="zoomtype=1"> 
          <embed src="{TICKET_URI}" width="{WIDTH}" height="{HEIGHT}"
                 play="true" ALIGN="" loop="true" quality="high"
                 type="application/x-shockwave-flash"
                 flashvars="zoomtype=1"
                 pluginspage="http://www.macromedia.com/go/getflashplayer"> 
          </embed> 
</object>

Changed 22 months ago by Frans

  • component changed from Core to Support for PDF issue
  • milestone changed from Support for PDF to MediaMosa 3.0

Changed 22 months ago by forgacs

App_id = 1

/asset/zibV9VfHbJNokZbpmbavEoIu

Note: See TracTickets for help on using tickets.