Gentoo Forums
Gentoo Forums
Quick Search: in
mencoder splits .mkv file incorrectly
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
shallpion
Guru
Guru


Joined: 29 Sep 2008
Posts: 310

PostPosted: Mon Nov 30, 2009 4:37 am    Post subject: mencoder splits .mkv file incorrectly Reply with quote

I tried to copy a segment from a mkv file with
Quote:

mencoder -oac copy -ovc copy -ss 0 -endpos 100 input.mkv -o out.mkv

but I found the out.mkv seems to be broken: I cannot jump forward in this file, such action would result mplayer to crash. And I tried it seems to be playable only in mplayer, if I try to play it in such as KMplayer in windows, it complains about "unsupported format"

How should I copy a segment from mkv correctly? Thank you.
Back to top
View user's profile Send private message
beandog
Developer
Developer


Joined: 04 May 2003
Posts: 1948
Location: /usa/utah

PostPosted: Mon Nov 30, 2009 9:46 pm    Post subject: Reply with quote

Well, first of all, it's outputting an AVI file, not a MKV one.

Secondly, you can do it with ffmpeg. :)
_________________
If it ain't broke, tweak it. packages | planet | blog | home
Back to top
View user's profile Send private message
shallpion
Guru
Guru


Joined: 29 Sep 2008
Posts: 310

PostPosted: Tue Dec 01, 2009 1:16 am    Post subject: Reply with quote

beandog wrote:
Well, first of all, it's outputting an AVI file, not a MKV one.

Secondly, you can do it with ffmpeg. :)


Seems I need a lesson about multimedia .... :(

I found ffmpeg is better... Thank you :)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum