Git Product home page Git Product logo

Comments (8)

GoogleCodeExporter avatar GoogleCodeExporter commented on July 29, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 29, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 29, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 29, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 29, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 29, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 29, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 29, 2024
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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.