Comments (8)
10 frames might not be enough to fill up H.264's buffer. Please try with
something like 1000 frames.
Original comment by [email protected]
on 11 Apr 2013 at 10:38
from javacv.
Hi Samuel,
Thanks, that worked. It seems to work as low as 20 frames. Can you advise the
best codec to use for web videos (ogg, webm). I have tried this sample H264
encoded video but it does not seem to work on chrome.
Thanks
Original comment by [email protected]
on 11 Apr 2013 at 11:00
from javacv.
An MP4 file created with JavaCV 0.5 and your Test.java file (with more than >
100 frames) plays just fine on Chrome 26.0.1410.63 on my machine. If you have
more details about the failure, please let me know.
Original comment by [email protected]
on 11 Apr 2013 at 12:18
- Changed title: Encoded H264 video using FFmpegFrameRecorder created okay but wont play in Chrome
from javacv.
Hi Samuel,
I have retried on chrome with 100 frames and it plays successfully. Is there
any method of using a smaller number of frames with this codec, perhaps
flushing the H.264's buffer. Ideally i will need to be able to use small frame
numbers.
Many thanks for your help.
Paddy
Original comment by [email protected]
on 11 Apr 2013 at 12:50
from javacv.
Please try the ffmpeg command program. If that works, then we should be able to
do whatever they do in ffmpeg.c, but I haven't figured it out myself yet. If
you do, please let me know so I can fix this, thank you
Original comment by [email protected]
on 11 Apr 2013 at 12:54
from javacv.
It's actually sort of documented in the header files, and I think I was able to
put something together that works:
http://code.google.com/p/javacv/source/detail?r=9fab7522f5904904eaec4744e7f99b7b
d8f48ac6
Can you check if that works for your application? Thanks
Original comment by [email protected]
on 14 Apr 2013 at 12:15
- Changed title: Encoded H264 video using FFmpegFrameRecorder missing last few frames
- Changed state: Started
from javacv.
Hi Samual,
I am using the javacv 0.5 library. I have one mp3 file with length 48 secs I
want to convert this mp3 to mp4 file. I used FFmpegFrameGrabber class and
FFmpegFrameRecorder class. The problem that I am getting is that I get mp4 file
of the mp3. The length of this mp4 file is 12 secs. But it was expected to be
48 secs and audio in final mp4 is also not good. I have attached both mp3 and
converted mp4 file. Please help me. I was waiting for your response. I have
also email you the mp3 and mp4 file.
Thanks,
Original comment by [email protected]
on 18 Jun 2013 at 5:59
Attachments:
from javacv.
Fix has been included in JavaCV 0.6, thanks for reporting!
@anisharma Sorry for not noticing your comment before. A lot of things have
changed since you posted it, so please try out JavaCV 0.6 and let me know if
you still have problems with that, thanks!
Original comment by [email protected]
on 16 Sep 2013 at 4:14
- Changed state: Fixed
from javacv.
Related Issues (20)
- JavaCv on android doesen't work HOT 5
- Access violation and like that HOT 2
- Face Recognition using Eigen and Fisher Face. HOT 8
- problems to acces data from all the detected patterns with singleTracker HOT 4
- sample RecordActivity broken version 0.5 HOT 3
- Dependent Libraries opencv_legacy HOT 18
- Can't compile JavaCV from source code HOT 2
- cvCalcOpticalFlowPyrLK method will cause fatal error HOT 2
- no jnivideoInputLib in java.library.path HOT 1
- Javacv 0.5 linux-x64 requires new glibc HOT 5
- Using Javacv And Opencv in same project HOT 1
- Null pointer error(native method ) HOT 2
- JavaFX Media Player can not play output video created by Javacv 0.5 HOT 1
- How to grab keyframe from a video with javacv? HOT 23
- [Android + FFMpeg] Encoding error while using FFMpegRecorder in RecordActivity.java HOT 6
- canvas.showimage opens empty window on Mac OS Lion HOT 9
- FFmpegFrameGrabber won't grab till the end of video. HOT 12
- Conversion of audio in FFMpegFrameGrabber HOT 6
- Cached value of CvMat.fullSize and *Buffer fields might get incorrect HOT 34
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 javacv.