Ticket #38 (closed defect: fixed)
0016832: 2 [Still] Still genereren failed: chosen frametime is higher dan duration of the mediafile. (Forum)
| Reported by: | admin | Owned by: | |
|---|---|---|---|
| Priority: | major | Milestone: | MediaMosa 1.6 |
| Component: | Transcoding | Version: | Tested and Accepted |
| Keywords: | Cc: | ||
| MoSCoW: | Estimated time after impact analysis: | ||
| Related to project: | none | Tested: | |
| Accepted: | yes | Estimated Hours: |
Description
0016832: 2 [Still] Still genereren failed: chosen frametime is higher dan duration of the mediafile. (Forum)
http://mantis.kennisnet.nl/view.php?id=16832
Ik heb een filmpje upgeload via een POST en bij het uploaden de create_still met true meegestuurd. het filmpje is correct upgeload en kan afgespeeld worden. alleen is er geen still gegenereerd.
filmpje is een flv file van maar 6 seconden en 64kbps
als ik daarna via de vpx_rest interface een still handmatig probeer te genereren:
<?xml version="1.0"?>
<response>
<header>
<item_count>1</item_count>
<request_process_time>0.0104</request_process_time>
<request_query_count>18</request_query_count>
<request_result>success</request_result>
<request_result_description></request_result_description>
<request_result_id>601</request_result_id>
<request_uri>[POST] /asset/C1QWbaC8VzRYUk8LIoCtdoCm/still/create?user_id=student</request_uri>
<vpx_version>1.5.3</vpx_version>
</header>
<items>
met in het post vars vakje: &mediafile_id=UYR6TCDqs2GnzFa1LA7xSLVb
en daarna de job status opvraag:
<item id="8">
<id>66855</id>
<owner>student</owner>
<status>FAILED</status>
<progress>0</progress>
<priority>0</priority>
<job_type>STILL</job_type>
<started></started>
<started_unix></started_unix>
<error_description>chosen frametime is higher dan duration of the mediafile.</error_description>
</item>
in de documentatie staat een beetje half verscholen dit (pagina 45):
Voorbeeld request URL (POST)
/asset/6c704fbd4ef58f2447fd1a3e7/still/create
POST:
user_id=entree004
frametime=12
in de request parameters tabel erboven staat geen frametime gedefinieerd
dus daarna deed ik dit:
<?xml version="1.0"?>
<response>
<header>
<item_count>1</item_count>
<request_process_time>0.0245</request_process_time>
<request_query_count>18</request_query_count>
<request_result>success</request_result>
<request_result_description></request_result_description>
<request_result_id>601</request_result_id>
<request_uri>[POST] /asset/C1QWbaC8VzRYUk8LIoCtdoCm/still/create?user_id=student</request_uri>
<vpx_version>1.5.3</vpx_version>
</header>
<items>
met post vars: &mediafile_id=UYR6TCDqs2GnzFa1LA7xSLVb&frametime=1
en dan nog krijg ik de error:
<item id="13">
<id>66880</id>
<owner>student</owner>
<status>FAILED</status>
<progress>0</progress>
<priority>0</priority>
<job_type>STILL</job_type>
<started></started>
<started_unix></started_unix>
<error_description>chosen frametime is higher dan duration of the mediafile.</error_description>
</item>
