Open vfa-tuantt opened 6 years ago
don't quite understand.when you say "video",do you mean "audio" ? because i see the MediaFormat was aac audio
@milkywayriver After i joined successfully 2 video into 1 video with different sample-rate and channel-count, but the sound of video was not good. The sound is just like the video is playing in high speed, just like Minion is talking. If you have any idea please help me to resolve that. For example: Video 1 with info: Duration = 15s, sample-rate = 44100, channel-count = 2 Video 2 with info: Duration = 15s, sample-rate = 48000, channel-count = 1
I joined Video 1 and Video 2 --> Video 3 (duration 30s) [Success] But: 00s - 15s : The sound worked normally 16s - 30s: The sound didn't good. Like Minion is talking.
Sorry about my explanation. It's difficult to explain. If you have any idea or solution for this issue, please help me. Thank you very much.
I can only tell you that It's because these two Video's audio track has different sample-rate,it will cause the problem .you have to resample it to same sample-rate, m4m had a library calls libippresample.so, but I can't find it, you should try another way, If you success ,please tell me.
Hi, I'm working on this library and i found a big problem. When i try to join 2 video with difference sample-rate and channel, the first video is normal but another video sound has problem (slowly sound or fast sound). If you have any ideal please help me to resolve. Thanks alot This is 2 information of my videos:
File 1:
File 2: