Ticket #198 (closed enhancement: fixed)

Opened 4 years ago

Last modified 3 years ago

/asset response

Reported by: Michiel.Schok Owned by:
Priority: major Milestone: MediaMosa 2.2
Component: Core Version:
Keywords: Cc:
MoSCoW: Should Have Estimated time after impact analysis:
Related to project: none Tested: yes
Accepted: yes Estimated Hours:

Description (last modified by Michiel.Schok) (diff)

In 1.7 the still handling has been reworked. See ticket #84 for example.
One of the side effects is that the /asset call gives all information about the available stills on the asset.

Per still, the following information is displayed. I think it's wise to remove a lot of the xml. Below is a suggestion using strikeout.

<still>

<mediafile_id>WUlJpxPJp8mmM8hZUKYnRftD</mediafile_id>
<asset_id>XKqNR8naQUxVqJZ4ep1UQB4l</asset_id>
<app_id>9</app_id>
<owner_id>SURFNET.michiel</owner_id>
<group_id></group_id>
<is_original_file>FALSE</is_original_file>
<is_downloadable>FALSE</is_downloadable>
<filename></filename>
<uri></uri>
<sannas_mount_point>/mnt/naspcd1/vpx-acc</sannas_mount_point>
<transcode_profile_id></transcode_profile_id>
<tool></tool>
<command></command>
<file_extension>jpeg</file_extension>
<testtag>FALSE</testtag>

<is_protected>FALSE</is_protected>
<created>2009-11-11 11:28:32</created>
<changed>2009-11-11 11:28:32</changed>
<asset_id_root>XKqNR8naQUxVqJZ4ep1UQB4l</asset_id_root>
<transcode_inherits_acl>FALSE</transcode_inherits_acl>
<mediafile_source>5IDr4ICaUE1y2C5sewx7L74l</mediafile_source>

<is_streamable>FALSE</is_streamable>
<tag></tag>
<is_still>TRUE</is_still>
<type>VIDEO</type>
<metadata_id>644140</metadata_id>
<video_codec></video_codec>
<colorspace></colorspace>

<width>176</width>
<height>144</height>

<fps></fps>
<audio_codec></audio_codec>
<sample_rate></sample_rate>
<channels></channels>
<file_duration></file_duration>
<container_type></container_type>
<bitrate></bitrate>
<bpp></bpp>

<filesize>6195</filesize>
<mime_type>image/jpeg</mime_type>

<is_hinted>FALSE</is_hinted>
<is_inserted_md>FALSE</is_inserted_md>

<still_time_code>0</still_time_code>
<still_order>0</still_order>
<still_type></still_type>
<still_format>jpeg</still_format>
<still_default>TRUE</still_default>
<still_ticket> http://app.acceptatie.vpx.kennisnet.nl/still/P3X3Y8z1sjQi2HjX6lPYolVU</still_ticket>

</still>

Change History

Changed 4 years ago by Michiel.Schok

  • description modified (diff)

Removed a lot of ~. sorry.

Changed 3 years ago by Frans

  • milestone changed from MediaMosa 1.7 to MediaMosa 2.1

Moved to MediaMosa 2.1

Changed 3 years ago by Frans

  • moscow set to Should Have

Changed 3 years ago by Frans

  • milestone changed from MediaMosa 2.1 to MediaMosa 2.2

Changed 3 years ago by Frans

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

Still XML has been refitted to produce the following output in MM 2.2:

<still>

<mediafile_id>Z1GdcWShQYqdhHEZdLWjqi89</mediafile_id>
<asset_id>nOfveJqRhoNkyLBqKOfjRt0i</asset_id>
<mediafile_id_source>BYOgNrFxLVLpnIecmb7P6i8N</mediafile_id_source>
<tag></tag>
<app_id>7</app_id>
<owner_id>admin</owner_id>
<group_id></group_id>
<is_original_file>FALSE</is_original_file>
<is_downloadable>FALSE</is_downloadable>
<is_streamable>FALSE</is_streamable>
<is_still>TRUE</is_still>
<filename></filename>
<uri></uri>
<sannas_mount_point>/mnt/naspcd1/vpx-acc</sannas_mount_point>
<transcode_profile_id></transcode_profile_id>
<tool></tool>
<command></command>
<file_extension>jpeg</file_extension>
<is_protected>FALSE</is_protected>
<created>2010-09-07 10:46:08</created>
<changed>2010-09-07 10:46:08</changed>
<transcode_inherits_acl>TRUE</transcode_inherits_acl>
<still_ticket> http://download.acceptatie.vpcore.snkn.nl/still/EDaghjaZ8sXYNXYhkNHe4bje</still_ticket>
<width>352</width>
<height>288</height>
<filesize>7890</filesize>
<mime_type>image/jpeg</mime_type>
<still_time_code>0</still_time_code>
<still_order>0</still_order>
<still_type>SCENE</still_type>
<still_format>jpeg</still_format>
<still_default>TRUE</still_default>

</still>

Will change status to fixed in 2.2

Changed 3 years ago by Michiel.Schok

  • status changed from closed to reopened
  • resolution fixed deleted

I think the following two snippets can also be omitted:

<sannas_mount_point>/mnt/naspcd1/vpx-acc</sannas_mount_point>
..
<file_duration>00:00:50.0</file_duration>

The last one is not in the example above, but is a result of the call

    <request_uri>[GET] asset/2TEJOPhvBzFXcBNJghDJBaiC</request_uri>
    <version>2.2.1.894</version>

<still>
            <mediafile_id>PvcDLBI1T1OgvLQocdNRB3d1</mediafile_id>
            <asset_id>2TEJOPhvBzFXcBNJghDJBaiC</asset_id>
            <mediafile_id_source>EuDQ6ZlkA01QJ4EgO1V6hB8I</mediafile_id_source>
            <tag></tag>
            <app_id>5</app_id>
            <owner_id>SURFNET.michiel</owner_id>
            <group_id>default</group_id>
            <is_original_file>FALSE</is_original_file>
            <is_downloadable>FALSE</is_downloadable>
            <is_streamable>FALSE</is_streamable>
            <is_still>TRUE</is_still>
            <filename></filename>
            <uri></uri>
            <sannas_mount_point>/mnt/naspcd1/vpx-acc</sannas_mount_point>
            <transcode_profile_id></transcode_profile_id>
            <tool></tool>
            <command></command>
            <file_extension></file_extension>
            <is_protected>FALSE</is_protected>
            <created>2009-10-20 08:34:47</created>
            <changed>2009-12-14 11:22:58</changed>
            <transcode_inherits_acl>FALSE</transcode_inherits_acl>
            <still_ticket>http://download.acceptatie.vpcore.snkn.nl/still/LdkcVeUwTOdsxVRgdQOdR3tx</still_ticket>
            <width>176</width>
            <height>144</height>
            <file_duration>00:00:50.0</file_duration>
            <filesize>7352</filesize>
            <mime_type>image/jpeg</mime_type>
            <is_hinted>FALSE</is_hinted>
            <is_inserted_md>FALSE</is_inserted_md>
            <still_order>0</still_order>
            <still_type>NONE</still_type>
            <still_format>jpeg</still_format>
            <still_default>TRUE</still_default>
          </still>

Changed 3 years ago by robert

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

'file_duration' and 'sannas_mount_point' removed from output. Fix in v2.2.2 build 921.

Changed 3 years ago by Michiel.Schok

  • tested set to yes
  • accepted changed from no to yes

ack

Note: See TracTickets for help on using tickets.