huyduongtu / mp4parser

Automatically exported from code.google.com/p/mp4parser
0 stars 0 forks source link

AppendVideo problem #73

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
I am using the following example codes to shorten and merge videos

https://code.google.com/p/mp4parser/source/browse/trunk/examples/src/main/java/c
om/googlecode/mp4parser/ShortenExample.java

https://code.google.com/p/mp4parser/source/browse/trunk/examples/src/main/java/c
om/googlecode/mp4parser/AppendExample.java

when i split a file  into some parts and merge some of parts to one file, it 
works fine
but when i try to merge two such files generated by shortening and merging i 
get the follwing errors in log while the resulted file is corrupt

BytesPerFrame differ

BytesPerSample differ

ChannelCount differ

please if you can help me to solve the problem

Original issue reported on code.google.com by abdullah...@gmail.com on 14 Oct 2013 at 11:34

GoogleCodeExporter commented 8 years ago
Can you attach example files? It generally works. I assume it is a property of 
the files that causes it. Are they 'Append-able' before Shortening?

Original comment by Sebastian.Annies on 14 Oct 2013 at 11:41

GoogleCodeExporter commented 8 years ago
following are the two video files, i am trying to merge,  individually both the 
files have been shortened and merged, and yes they are appendable before 
shortening

Original comment by abdullah...@gmail.com on 14 Oct 2013 at 1:02

Attachments: