Comments (3)
pretty impossible to guess at this without code to see what you're doing :(
from xuggle-xuggler.
Hello Clarke,
I have solved that issue in a different way so that is the reason I did not
pursue that. However, now I am facing a different issue. I am adding here
with the code:
I created MediaWriter Object:
writer = ToolFactory.makeWriter(outputFilename);
Then I got my screen size:
screenBounds = Toolkit.getDefaultToolkit().getScreenSize();
screenBounds.width = 1225; // avi format will work with these resolution
screenBounds.height = 736; // avi format will work with these resolution
writer.open();
writer.addVideoStream(0, 0, screenBounds.width, screenBounds.height);
If I do like this , I am getting the following runtime exception: The above
code looks pretty straight forward.
Exception in thread "main" java.lang.RuntimeException: could not open
stream com.xuggle.xuggler.IStream@76547664
[index:0;id:0;streamcoder:com.xuggle.xuggler.IStreamCoder@76547720
[codec=com.xuggle.xuggler.ICodec@76481776[type=CODEC_TYPE_VIDEO;id=CODEC_ID_H264;name=libx264;];time
base=1/1000000;frame rate=0/0;pixel
type=YUV420P;width=1225;height=736;];framerate:0/0;timebase:1/90000;direction:OUTBOUND;]:
Operation not permitted
Because I am developing a screen recorder for my client.
But if I comment the above line, then it will work
//screenBounds.width = 1225; // avi format will work with these resolution
// screenBounds.height = 736; // avi format will work with these
resolution
It will work as expected !.
This looks quiet interesting, I am leaving the video type open so that the
frame work can decide which codec to be used based on the extension. The
above error will happen if we use .mp4/.mov
Any clue what I am doing wrong here.
Thanks for your framework,
Yours Sincerely,
Unni Mana
On Mon, Nov 23, 2015 at 4:29 AM, Art Clarke [email protected]
wrote:
pretty impossible to guess at this without code to see what you're doing :(
—
Reply to this email directly or view it on GitHub
#24 (comment)
.
If not played, Free Sudoku Android Game
https://play.google.com/store/apps/details?id=com.gamerfan.sudoku
from xuggle-xuggler.
Hello!,
I was able to handle this issue. When I select recording area is odd
number, then it is throwing the above Runtime exception. However, I managed
it by changing to even number in my capturing area so that it is working,
You can close this issue,
Thanks,
Unni
On Mon, Nov 23, 2015 at 8:57 AM, unni mana [email protected] wrote:
Hello Clarke,
I have solved that issue in a different way so that is the reason I did
not pursue that. However, now I am facing a different issue. I am adding
here with the code:I created MediaWriter Object:
writer = ToolFactory.makeWriter(outputFilename);Then I got my screen size:
screenBounds = Toolkit.getDefaultToolkit().getScreenSize();screenBounds.width = 1225; // avi format will work with these resolution
screenBounds.height = 736; // avi format will work with these resolutionwriter.open();
writer.addVideoStream(0, 0, screenBounds.width, screenBounds.height);If I do like this , I am getting the following runtime exception: The
above code looks pretty straight forward.Exception in thread "main" java.lang.RuntimeException: could not open
stream com.xuggle.xuggler.IStream@76547664
[index:0;id:0;streamcoder:com.xuggle.xuggler.IStreamCoder@76547720
[codec=com.xuggle.xuggler.ICodec@76481776[type=CODEC_TYPE_VIDEO;id=CODEC_ID_H264;name=libx264;];time
base=1/1000000;frame rate=0/0;pixel
type=YUV420P;width=1225;height=736;];framerate:0/0;timebase:1/90000;direction:OUTBOUND;]:
Operation not permittedBecause I am developing a screen recorder for my client.
But if I comment the above line, then it will work
//screenBounds.width = 1225; // avi format will work with these resolution
// screenBounds.height = 736; // avi format will work with these
resolutionIt will work as expected !.
This looks quiet interesting, I am leaving the video type open so that the
frame work can decide which codec to be used based on the extension. The
above error will happen if we use .mp4/.movAny clue what I am doing wrong here.
Thanks for your framework,
Yours Sincerely,
Unni ManaOn Mon, Nov 23, 2015 at 4:29 AM, Art Clarke [email protected]
wrote:pretty impossible to guess at this without code to see what you're doing
:(—
Reply to this email directly or view it on GitHub
#24 (comment)
.
If not played, Free Sudoku Android Game
https://play.google.com/store/apps/details?id=com.gamerfan.sudoku
If not played, Free Sudoku Android Game
https://play.google.com/store/apps/details?id=com.gamerfan.sudoku
from xuggle-xuggler.
Related Issues (20)
- Issue with Ivy resolve. HOT 1
- is xuggle alive HOT 1
- 3-5 seconds delay when i encode the bufferdImage to h264 codec and then transport to an remote peer HOT 1
- decode crash h264 HOT 2
- Catch exceptions in main()? HOT 1
- Update ffmpeg to the latest version HOT 8
- Maven repository support for platform-specific artifacts HOT 1
- xuggler-users Google Group
- Getting snapshots from RTMP stream
- adding webm support xuggle
- ICodec.ID.CODEC_ID_MPEG4 bug
- xuggle dead? HOT 11
- xuggle jni error when Container writeHead() invoke
- CPU usage is high when recording
- Official fork of Xuggler ?
- Massive memory leak in ArgbConverter.java#toImage HOT 13
- Issue building libvpx on OS X 10.8
- Filtering support (e.g. such as Yadif) HOT 1
- Can't execute Xuggle programs using different users
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from xuggle-xuggler.