Closed GoogleCodeExporter closed 8 years ago
Note that I am using the code in revision
http://code.google.com/p/javacv/source/detail?r=e6450930b63e3f4c76695627bb671b36
08c44557
(which is necessary to record Vorbis audio).
Also note that this problem specifically does not happen when encoding to OGV
(e.g. just change the filename in the example to .ogv and there will be no
problems with the playback).
Original comment by aaronpowers
on 24 Feb 2014 at 2:05
So, are you saying it's a problem with the container? With which container
formats does it have problem with, then?
Original comment by samuel.a...@gmail.com
on 24 Feb 2014 at 2:15
That's an impressively quick response!
Yes, it appears to be the WebM container. I just reproduced the problem with no
video, just audio, and since Vorbis works fine in .ogv and .ogg files, it must
be WebM.
Original comment by aaronpowers
on 24 Feb 2014 at 3:21
I think I've found the problem. Please try the changes in this revision:
http://code.google.com/p/javacv/source/detail?r=d8408df7be24f8cd8342e4e5ca371891
0e397049
Thanks!
Original comment by samuel.a...@gmail.com
on 1 Mar 2014 at 10:37
Hi Samuel,
I tested the fix and it works perfectly! Webm now encodes plays in the browser
and in VLC just as well as if encoded with FFMPEG on the command line, and I'm
impressed it was so few lines of code in the patch too, it was an efficient
change.
Thanks so much for your help!
Original comment by aaronpowers
on 1 Mar 2014 at 11:21
The fix has been included in the latest release of JavaCV 0.8. There are a lot
of other changes with this release, so please make sure to read the news
release here:
http://bytedeco.org/release/2014/04/28/first-release.html
Incidentally, the project is now hosted on GitHub:
https://github.com/bytedeco/javacv
Thanks once again for reporting!
Original comment by samuel.a...@gmail.com
on 29 Apr 2014 at 1:39
Original issue reported on code.google.com by
aaronpowers
on 24 Feb 2014 at 2:03