Ticket #297 (closed defect: fixed)

Opened 3 years ago

Last modified 3 years ago

Progress indication transcodes

Reported by: Michiel.Schok Owned by: arjen
Priority: minor Milestone: MediaMosa 2.1
Component: Core Version: 2.1.3
Keywords: Cc:
MoSCoW: none Estimated time after impact analysis:
Related to project: none Tested: yes
Accepted: yes Estimated Hours:

Description

It seems (no hard evidence available) that the progress indicator on transcoding jobs is always on 0%, till the jobs finishes.

Anyone else observed this?
Will investigate further tomorrow.

Change History

Changed 3 years ago by MC-arjen

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

confirmed, status file is updated, however rest call not:

$cat TPTTeSZlLCMmeHHRjdI2tTw5.status
Status: transcoding
Progress: 0.632

<request_uri>[GET] job/28/status?user_id=admin</request_uri>
</header>
<items>

<item id="1">

<id>28</id>
<owner>admin</owner>
<status>INPROGRESS</status>
<progress>0.000</progress>
<priority>0</priority>
<job_type>TRANSCODE</job_type>
<started>01-06-2010 17:50</started>
<started_unix>1275407422</started_unix>
<error_description></error_description>

</item>

</items>

</response>

to be continued

Changed 3 years ago by forgacs

  • owner changed from pforgacs to arjen

I have fixed this issue. The fix in on my repository.
Please, check it.

PS. I have noticed that the status file is created at the very end of the transcoding process in my local version. It also can cause a problem, like this.

Changed 3 years ago by MC-arjen

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

Yes, works.

Remember to add this patch to ffmpeg;

1 --- ffmpeg.c.orig 2010-04-12 09:26:45.000000000 +0200
2 +++ ffmpeg.c 2010-04-12 09:26:50.000000000 +0200
3 @@ -1298,7 +1298,7 @@ static void print_report(AVFormatContext
4 nb_frames_dup, nb_frames_drop);
5
6 if (verbose >= 0)
7 - fprintf(stderr, "%s \r", buf);
8 + fprintf(stderr, "%s \n", buf);
9
10 fflush(stderr);
11 }

The status file relies on it.

Changed 3 years ago by MC-arjen

  • version set to 2.1.3

Changed 3 years ago by Michiel.Schok

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

We saw incremental updates on the progress field. OK

Note: See TracTickets for help on using tickets.