Ticket #508 (closed enhancement: fixed)

Opened 2 years ago

Last modified 2 years ago

When uploading still, still_time_code is not set

Reported by: anonymous Owned by:
Priority: minor Milestone: MediaMosa X.X
Component: REST Version: 2.3.5
Keywords: Cc:
MoSCoW: none Estimated time after impact analysis:
Related to project: none Tested: no
Accepted: no Estimated Hours:

Description

When uploading a new still with the PUT request /mediafile//upload and data '... still_upload=true&frametime=123...' the still_time_code tag is not set. See response when requesting asset info:

...

<still>

<mediafile_id>XDhTsTfNEJgnMs7GroQWnvJw</mediafile_id>
<asset_id>bWUK6JTOOdZaiCObfO3UBVYm</asset_id>
<mediafile_id_source>x2MPscLfUHwLNd9TGPsJIVwL</mediafile_id_source>
<tag/>
<app_id>11</app_id>
<owner_id>recordingbox</owner_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/>
<uri/>
<transcode_profile_id/>
<tool/>
<command/>
<file_extension>jpeg</file_extension>
<is_protected>FALSE</is_protected>
<created>2011-03-03 11:19:08</created>
<changed>2011-03-03 11:19:08</changed>
<transcode_inherits_acl>TRUE</transcode_inherits_acl>
<still_ticket> http://mediamosa.madcap.nl/still/XDhTsTfNEJgnMs7GroQWnvJw</still_ticket>
<filesize>34551</filesize>
<mime_type>image/jpeg</mime_type>
<width>640</width>
<height>480</height>
<still_default>FALSE</still_default>
<still_order>2</still_order>
<still_time_code/>
<still_format>jpeg</still_format>
<still_type>PICTURE</still_type>

</still>

...

When the /mediafile//still/create request is used, the still_time_code tag is set properly.

Change History

Changed 2 years ago by forgacs

If you upload an image as a still, you can use the following variables:
- order
- default
- tag
Frametime is not supported, and this variable is valid just for the still creation process, when you upload a mediafile (video file).

Changed 2 years ago by forgacs

  • type changed from defect to enhancement

Changed 2 years ago by forgacs

  • status set to closed
  • resolution set to fixed

It is fixed. The frametime parameter, if it is given, is the still_time_code now.

Changed 2 years ago by forgacs

PS. I have committed to my trunk (2.4) and my 2.3 branch.

Note: See TracTickets for help on using tickets.