Displaying 20 results from an estimated 100 matches similar to: "Encoding - CPU usage ..."
2006 Oct 06
0
V4L + Theora small app...
Hi all.
I post a small app I made that create 2 clips using a V4L device.
I would like to get every tips you think it's useful...
Some notes:
- I make 2 clips because in our project we create series of clips and
it's important to check that the all the resources ( memory,
descriptors, etc. ) are freed correctly and to reuse all the resources
that can be reused
- the clips are not well
2005 Nov 03
1
CPU usage while encoding...
Hi all.
In my test application I saw that the encoding process with Theora is
too CPU expensive ( compared to FFmpeg - MP4 ) ...
Perhaps I'm using wrong parameters:
ti.fps_numerator = fps * 11 + 1; // var framerate
ti.fps_denominator = 11;
ti.aspect_numerator = 1;
ti.aspect_denominator = 1;
ti.colorspace = OC_CS_ITU_REC_470BG; //
2004 Nov 20
0
ffmpeg2theora start and end time support
For last few days I was trying to learn ffmpeg and libtheora API. In the
process, I have modified ffmpeg2theora code to include support for start
time and end time.
ffmpeg2theora -s 60 -e 130 file.avi
will produce file.ogg which will be from 60th to 130th second of input
file (something like -ss and -endpos in mencoder). This is a useful
feature for someone who wants to cut a part of video
2004 Oct 02
2
Theora decode problem
I am trying to write a sample app that uses Theora for encoding/decoding
a network video stream. Unfortunately, I keep running into this error:
Run-Time Check Failure #3 - The variable 'MVect' is being used without
being defined.
It always happens on decryption, line 467 in decode.c. The issue is
that CodingMethod is equal to 5 (CODE_GOLDENFRAME), which doesn't
initialize the
2007 Jan 23
0
Bitrate expectations for encoding or decoding
Hey Folks.
I'm currently working on implementing Theora Video playback for the
Unity engine (http://www.unity3d.com). So far everything works fine,
But I have a small question:
Is there a reliable way to predict what bitrate a stream will have
when encoding or decoding?
Of course, there's the target_bitrate parameter in the Theora Info
structure, but somehow, I always get quite
2004 Jul 02
4
Encoding paramaters...
I've got my encoder working now... and i put a proeprty page interface to
allow the user to set a few encoding paramters to start off with... but
changing the paramters doesn't seem to make barely any difference...
These are the defaults i'm using...
mTheoraInfo.target_bitrate=400000;
mTheoraInfo.quality=30;
mTheoraInfo.dropframes_p=0;
mTheoraInfo.quick_p=1;
2009 Jul 08
2
Theora 1.1 rate controller
Hello everyone,
I'm currently developing an adaptive videoconferencing application based on
Ekiga which uses TFRC as a congestion control mechanism to adapt the video
encoding rate according to the quality of the network experienced. My goal
was to use the open-source Theora codec for video transmission.
Unfortunately, it seemed that Theora 1.0 did not properly implement any
correct CBR mode.
2005 Feb 09
1
Trying to do windows encoding dll
Hi everybody, me again.
I'm trying to write my own VFW-like dll... It doesn't need to do much.
1.) compress a single frame and give it back to the host application
2.) host applications sends the frame
3.) client application receives frame
4.) client application tells the dll to decompress the data
So if I try to do this, something is going wrong...
Perhaps someone could have a look at my
2010 Jun 14
4
Live Stream Encoding
Hi There,
i want to stream some pictures out of my application using the Theora
codec. I can stream to a socket or a file. The current work based on the
png2theora example. Something while enconding went wrong: I can see the
whole video in VLC, but the complete duration of the file will not be
displayed. If i play the video in Firefox, the first 2 seconds will not
be played. I think the
2005 Aug 04
1
libtheora Bitrate Problem
Hello,
I'm not sure if this list is the proper place for this post; please
correct me if it is not.
I am attempting to use libtheora and I have been looking through the
examples in the distribution
Excerpt from encoder_example.c --
case 'V':
video_r=rint(atof(optarg)*1000);
if(video_r<45000 || video_r>2000000) {
fprintf(stderr,"Illegal
2009 Jul 07
1
Estimate bytes per second from th_info-settings
Hi
Is there a way to estimate the number of bytes per second from the information passed in the th_info-struct to the Theora encoder's th_encode_alloc()? I'm trying to be able to give users a rough estimate of the file size needed to encode with the setting provided to th_info-struct (frame width/height, fps_numerator/fps_denominator, target_bitrate and quality).
-- Bjoern
2004 May 20
0
theora header bitmap for alpha3
below is an rfc-style bitmap of the initial theora header. I've checked
it against the spec and the code in libtheora; please double check :)
I'm posting it here for those implementing demux stages (which necessarily
don't use libtheora), and hence offering it for the spec. A typical
demux stage just needs to pick out the FRN, FRD and KFGSHIFT fields,
without going through the whole
2004 Aug 06
0
buffer size from source to ice/shoutcast
Brandon wrote:
> Hello,
>
> I've built my own source for ICE/SHOUTcast, and it works pretty well
> except for one thing. After tuning into the server and listening for
> an 60-90 minutes you may hear a song skip ahead 30-90 seconds. I think
> I know why this is happening but I'mnot sure how to fix it.
>
> I think this is happening because my source is
2005 Sep 07
1
encoder settings
Hi!
Some background: I am trying to create an application that would
encode video taken by USB camera using Theora and then send it
to the client. I have almost succeeded, but I have one problem.
When I grab video frames from the camera and encode them they
form 4KB OGG pages, then I send them over TCP/IP to the client
application. Since I want to achieve as small latency as possible I
2005 Oct 05
1
Simple encodig sample...
Hi all.
I'm Mat & I'm new :)
I'm testing libtheora + libogg perhaps for a commercial product.
I started watching encoder_example.c ... I simplified it for testing
it easier.
It seems ok to me but I have no experience with theora so I would like
to know if my code is correct.
I tried to debug it with Valgrind and I found 4 possible memory leaks...
but I think they can be
2014 Apr 29
20
[Bug 78092] New: GK208M [GeForce GT 730M] (rev ff) (prog-if ff) nouveau module load fail
https://bugs.freedesktop.org/show_bug.cgi?id=78092
Priority: medium
Bug ID: 78092
Assignee: nouveau at lists.freedesktop.org
Summary: GK208M [GeForce GT 730M] (rev ff) (prog-if ff) nouveau
module load fail
Severity: normal
Classification: Unclassified
OS: All
Reporter: anton.gubarkov at
2004 Dec 19
0
[patch] more ffmpeg2theora improvements
Hi,
the attached patch (against current SVN) adds three new options to
ffmpeg2theora: --keyint (set keyframe interval) --smoothness (set the
theora_info::sharpness encoding parameter) and --noautosync (disable the
new frame dropping/duplicating code).
It also fixes a bug with the processing of --cropright that sometimes
segfaulted. The sync adjustment code is now tuned to be more reliable.
BTW
1998 Jul 07
2
S speedup in R
Venables and Ripley describe a speedup where you take a structure like
x<-NULL
for(i in sequence)
y<-c(y,function(x,i))
and convert it to one like
x<-numeric(its length)
for(i in sequence)
y[i]<-function(x,i)
I tried this speedup on some simple examples and it made them twice as
fast.
But now I am hitting a snag with some real code.
This original version works:
2013 Oct 18
1
crr question in library(cmprsk)
Hi all
I do not understand why I am getting the following error message. Can
anybody help me with this? Thanks in advance.
install.packages("cmprsk")
library(cmprsk)
result1 <-crr(ftime, fstatus, cov1, failcode=1, cencode=0 )
one.pout1 = predict(result1,cov1,X=cbind(1,one.z1,one.z2))
predict.crr(result1,cov1,X=cbind(1,one.z1,one.z2))
Error: could not find function
2010 Nov 14
1
RCurl and cookies in POST requests
Hello.
I know that it's usually possible to write cookies to a cookie
file by removing the curl handle and doing a gc() call. I can do
this with getURL(), but I just can't obtain the same results with
postForm().
If I use:
curlHandle <- getCurlHandle(cookiefile=FILE, cookiejar=FILE)
and then do:
getURL(http://example.com/script.cgi, curl=curlHandle)
rm(curlHandle)
gc()
it's