[Matroska-devel] Matroska time code calculation issue.
Raju Kumar
rajukumar.ram at dexceldesigns.com
Fri Nov 20 06:15:41 CET 2015
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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.matroska.org/pipermail/matroska-devel/attachments/20151120/bd731ef7/attachment.html>
More information about the Matroska-devel
mailing list