Re: Matroska time code calculation issue.
Raju Kumar <[email protected]> Fri, 20 Nov 2015 10:45:41 +0530
| Newsgroups | gmane.comp.multimedia.matroska.user,gmane.comp.multimedia.matroska.devel |
|---|---|
| Message-ID | <[email protected]> |
Dear matroska, I'm newbie in splitting video file which contains matroska media container, Initialize/update cluster & block timecode in second splitted file as mentioned. but still generated output file is not playable. The seekbar of VLC media player start & reach to end, however audio/video not working, Waiting for your valuable response, suggest me how can i achieve this? please help me out to resolve timecode calculation issue?Appriciate if some one can share sample code to understand the same. Thanks & Regards Raju Kumar Ram On 18-Nov-15 2:48 PM, Raju Kumar wrote: > Dear Matroska-Users, > > I am workign on spliting video file which contains Matroska media > container. To split out a MKVfile (generated from Matroska v2) into > two sub files, I am performingbelow operation in my C# code on windows > platform: > > 1.) Parse MKV file[EBML, Segment(Segment info, Seek head, > Tracks,Clusters) with misc information]. > 2.) Split mkv file into two parts & applying Header information on > both the files. > > * In first part of file, taking clusters fromstartto middle of file > and updating headerfor length of segments. Generatedoutputfile is > playable. > * In second part of file, taking from middleto end of file and > updating header, timecodeand previous cluster size. Generated > output file is look likes a valid mkv file but not playable.We had > cross checked this section using AVI-Mux tool. > > As I could understand that my timecode calculation (Absolute Timecode > = Block+Cluster for Block and for cluster Relative Timecode = Block) > is not correct and also I could not conclude variable timecode > calculation doing by AVI-Mux tool. > > Can you please help me out to resolve timecode calculation issue? > Appriciate if some one can share sample code to understand the same. > > Thanks & Regards > Raju Kumar Ram > _______________________________________________ Matroska-users mailing list [email protected] http://lists.matroska.org/cgi-bin/mailman/listinfo/matroska-users Read Matroska-Users on GMane: http://dir.gmane.org/gmane.comp.multimedia.matroska.user