Closed GoogleCodeExporter closed 9 years ago
10 frames might not be enough to fill up H.264's buffer. Please try with
something like 1000 frames.
Original comment by samuel.a...@gmail.com
on 11 Apr 2013 at 10:38
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 paddy...@gmail.com
on 11 Apr 2013 at 11:00
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 samuel.a...@gmail.com
on 11 Apr 2013 at 12:18
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 paddy...@gmail.com
on 11 Apr 2013 at 12:50
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 samuel.a...@gmail.com
on 11 Apr 2013 at 12:54
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 samuel.a...@gmail.com
on 14 Apr 2013 at 12:15
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 anisharm...@gmail.com
on 18 Jun 2013 at 5:59
Attachments:
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 samuel.a...@gmail.com
on 16 Sep 2013 at 4:14
Original issue reported on code.google.com by
paddy...@gmail.com
on 11 Apr 2013 at 10:33Attachments: