mdyusuf000 / javacv

Automatically exported from code.google.com/p/javacv
GNU General Public License v2.0
0 stars 0 forks source link

setFormat("mp4") 惨 #403

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.  recorder.setFormat("mp4");
     recorder.setSampleRate(sampleAudioRateInHz);
     recorder.setPixelFormat(avutil.PIX_FMT_YUV420P10);
2.
3.

What is the expected output? What do you see instead?
The output mp4 files can not play in player?

What version of the product are you using? On what operating system?
javacv0.6  android version

Please provide any additional information below.
flv file can play

Original issue reported on code.google.com by bladepoi...@gmail.com on 30 Dec 2013 at 12:38

GoogleCodeExporter commented 9 years ago
Then call setFormat("flv") instead. That should create a file that works in 
your player.

Please post your questions on the mailing list next time if possible, thank you!

Original comment by samuel.a...@gmail.com on 4 Jan 2014 at 1:14