Displaying 6 results from an estimated 6 matches for "no_frames".
Did you mean:
n_frames
2004 Nov 20
0
ffmpeg2theora start and end time support - patch
...= this->audio_quality;
info.vorbis_bitrate = this->audio_bitrate;
theoraframes_init (&info);
-
+ /*seek to start time*/
+ av_seek_frame( this->context, -1, (int64_t)AV_TIME_BASE*this->start_time, 1);
+ /*check for end time and caclulate number of frames to encode*/
+ int no_frames = fps*(this->end_time - this->start_time);
+ if(this->end_time > 0 && no_frames < 0){
+ printf("Error -- end time < start time\n");
+ exit(1);
+ }
+
/* main decoding loop */
- do{
+...
2004 Nov 20
0
ffmpeg2theora start and end time support
...;channels;
info.sample_rate = this->sample_rate;
info.vorbis_quality = this->audio_quality;
theoraframes_init ();
printf("AV time base %i\n", AV_TIME_BASE);
av_seek_frame( this->context, -1, (int64_t)AV_TIME_BASE*this->start_time, 1);
/* main decoding loop */
int no_frames = fps*(this->end_time - this->start_time);
if(no_frames < 0){
printf("Error -- end time < start time\n");
exit(1);
}
do{
if(no_frames > 0){
// printf("%i \n",frame_number);
if(frame_number > no_frames){
printf("\nTime to break\n&...
2009 Mar 02
0
[PATCH 4 of 13] DisplayState interface change
Import "DisplayState interface change" from qemu mainstream: the patch
has been adapted to qemu-xen and merged with several following fixes.
The original qemu svn commit is the following:
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6336 c046a42c-6fe2-441c-8c8c-71466251a162
Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
---
diff --git a/console.c
2006 May 16
25
Ruby on Rails Searchable and Annotatable Docs
I recently updated my Rannotate application. The interface has been
completely redone and there are lots of new features. The basic idea is
to create searchable and user annotatable documentation for the Ruby on
Rails API (think php.net).
Check it out at - http://rails.outertrack.com
* What is Rannotate?
Rannotate is a Rails application and RDoc YAML generator that work
together to provide
2009 Aug 25
3
Extending virtio_console to support multiple ports
Hello all,
Here is a new iteration of the patch series that implements a
transport for guest and host communications.
The code has been updated to reuse the virtio-console device instead
of creating a new virtio-serial device.
I've tested for compatibility (old qemu & new kernel, new qemu & old
kernel, new qemu & new kernel) and it all works fine.
There are a few items on my
2009 Aug 25
3
Extending virtio_console to support multiple ports
Hello all,
Here is a new iteration of the patch series that implements a
transport for guest and host communications.
The code has been updated to reuse the virtio-console device instead
of creating a new virtio-serial device.
I've tested for compatibility (old qemu & new kernel, new qemu & old
kernel, new qemu & new kernel) and it all works fine.
There are a few items on my