<div dir="ltr"><span style="font-family:arial,sans-serif;font-size:13px">Hi Debo,</span><div><br></div><div><span style="font-family:arial,sans-serif;font-size:13px">I do not have a newer version of the video player plugin. I'm not sure which APIs changed, but I can tell you that the FFMpeg documentation was surprisingly good when I was working on this. You can find it here: </span><font face="arial, sans-serif"><a href="http://www.ffmpeg.org/doxygen/trunk/index.html">http://www.ffmpeg.org/doxygen/trunk/index.html</a></font><br>
</div><div><br></div><div><span style="font-family:arial,sans-serif;font-size:13px">Off of the list, you asked me about implementing a task graph model that takes into account the precedence of tasks. I think that Cong is probably your best resource for this type of question. Fortunately for you, he's at your university now (congrats Cong!): </span><font face="arial, sans-serif"><a href="http://www.utdallas.edu/~cxl137330/pub.html">http://www.utdallas.edu/~cxl137330/pub.html</a></font></div>
<div><span style="font-family:arial,sans-serif;font-size:13px"><br></span></div><div><span style="font-family:arial,sans-serif;font-size:13px"> -- Chris </span></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">
On Wed, Sep 25, 2013 at 11:25 AM, Glenn Elliott <span dir="ltr"><<a href="mailto:gelliott@cs.unc.edu" target="_blank">gelliott@cs.unc.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div style="word-wrap:break-word">Looking at the code in rtspin, it appears the file format is a csv with the following properties:<div>1) Execution time may be expressed in floating point.</div><div>2) Time is in milliseconds by default, but this can be scaled with rtspin's "-s" option.</div>
<div>3) The user specifies the column in the csv that contains execution times for the task with "-o". I believe the first column of the csv is selected by default.</div><div>4) Each row in the csv denotes the execution time for a job. So, the first row is for job_0, second row is for job_1, etc.</div>
<div>5) The rtspin will execute N jobs before terminating, where N is the number of rows. There is no "looping back around". I believe this implies that the "duration" argument to rtspin is ignored.</div>
<div>6) Only job execution times are read from the file.<br><div><div><br></div><div>Pertinent lines of code:</div><div>1) Reading the file: <a href="https://github.com/LITMUS-RT/liblitmus/blob/85cc826d76ad8bcfeb675710c49c410583cc86a9/bin/rtspin.c#L78" target="_blank">https://github.com/LITMUS-RT/liblitmus/blob/85cc826d76ad8bcfeb675710c49c410583cc86a9/bin/rtspin.c#L78</a></div>
<div>2) Column selection: <a href="https://github.com/LITMUS-RT/liblitmus/blob/85cc826d76ad8bcfeb675710c49c410583cc86a9/bin/rtspin.c#L248" target="_blank">https://github.com/LITMUS-RT/liblitmus/blob/85cc826d76ad8bcfeb675710c49c410583cc86a9/bin/rtspin.c#L248</a></div>
<div>3) Time unit scaling: <a href="https://github.com/LITMUS-RT/liblitmus/blob/85cc826d76ad8bcfeb675710c49c410583cc86a9/bin/rtspin.c#L374" target="_blank">https://github.com/LITMUS-RT/liblitmus/blob/85cc826d76ad8bcfeb675710c49c410583cc86a9/bin/rtspin.c#L374</a></div>
<div><div><br></div><div>rtspin's file format is a bit restrictive. It was coded up for a particular paper where job execution times had to vary from job-to-job in a deterministic/repeatable way. I don't know if this format was put in place for the video paper. If so, it was probably done to allow the specification of different execution times for I-, P-, and B-frames. It's not meant to be an alternative method of general use. You may want to explore using input redirection to send regular command line arguments to rtspin (<a href="http://linuxcommand.org/lts0060.php" target="_blank">http://linuxcommand.org/lts0060.php</a>). Of course, you could also modify rtspin to do what you need. The code is relatively straightforward.</div>
<span class="HOEnZb"><font color="#888888"><div><br></div><div>-Glenn</div></font></span><div><div class="h5"><div><br></div><div><br><div><div>On Sep 25, 2013, at 12:57 PM, ayoade gbadebo <<a href="mailto:gbaduz@gmail.com" target="_blank">gbaduz@gmail.com</a>> wrote:</div>
<br><blockquote type="cite"><div dir="ltr">Hello,<div>Please what is the file input format for rtspin application.</div><div>I want to generate a set of random task using file and not command line parameters</div></div>
<div class="gmail_extra">
<br><br>
<div class="gmail_quote">On Tue, Sep 24, 2013 at 9:38 AM, Björn Brandenburg <span dir="ltr"><<a href="mailto:bbb@mpi-sws.org" target="_blank">bbb@mpi-sws.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div><br>
On Sep 24, 2013, at 4:07 PM, ayoade gbadebo <<a href="mailto:gbaduz@gmail.com" target="_blank">gbaduz@gmail.com</a>> wrote:<br>
<br>
> I tried comiling the video src from this paper but it complained of deprecated fuctions, do you have any new source I can use ?<br>
><br>
<br>
</div>That code is not part of the LITMUS^RT project and not maintained by us (the project). That said, you could try asking Chris (the first author), who wrote most of the video code if I recall correctly.<br>
<br>
- Björn<br>
<br>
<br>
_______________________________________________<br>
litmus-dev mailing list<br>
<a href="mailto:litmus-dev@lists.litmus-rt.org" target="_blank">litmus-dev@lists.litmus-rt.org</a><br>
<a href="https://lists.litmus-rt.org/listinfo/litmus-dev" target="_blank">https://lists.litmus-rt.org/listinfo/litmus-dev</a><br>
</blockquote></div><br></div>
_______________________________________________<br>litmus-dev mailing list<br><a href="mailto:litmus-dev@lists.litmus-rt.org" target="_blank">litmus-dev@lists.litmus-rt.org</a><br><a href="https://lists.litmus-rt.org/listinfo/litmus-dev" target="_blank">https://lists.litmus-rt.org/listinfo/litmus-dev</a><br>
</blockquote></div><br></div></div></div></div></div></div></div><br>_______________________________________________<br>
litmus-dev mailing list<br>
<a href="mailto:litmus-dev@lists.litmus-rt.org">litmus-dev@lists.litmus-rt.org</a><br>
<a href="https://lists.litmus-rt.org/listinfo/litmus-dev" target="_blank">https://lists.litmus-rt.org/listinfo/litmus-dev</a><br>
<br></blockquote></div><br></div>