LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-18-2004, 07:30 PM   #1
guldo
Member
 
Registered: Aug 2003
Location: Morio Cho
Distribution: debian sid
Posts: 124

Rep: Reputation: 15
mplayer avi permanent index


Hello.
I have a little problem with some avi files.
I cannot open these files normally, since mplayer claims there's no video stream.
I have to play it with the -forceidx option, or by saving and then loading a idx file.
That's fine, but I'd like to be able to get a new avi with a built-in index, a permanent one.
In the man page I've read that this can be done using mencoder, but I cannot understand how.
Could you please help me working it out?

Thanks.
 
Old 09-19-2004, 05:54 AM   #2
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405
A simple example of how to encode files using mencoder:

$ mencoder <infile> -ovc lavc -oac copy -forceidx -o <outfile>

This will encode with a libavcodec codecs (-ovc lavc), copies the sound, no changes made (-oac copy), forces an index (-forceidx ).

As you might have read, there are a ton of options. Don't know if you have lavc compiled in, for other available video codecs:

$ mencoder -ovc help

Hope this gets you going again.
 
Old 09-19-2004, 08:06 AM   #3
guldo
Member
 
Registered: Aug 2003
Location: Morio Cho
Distribution: debian sid
Posts: 124

Original Poster
Rep: Reputation: 15
Thanks a lot, everything's fine

bye
 
  


Reply

Tags
mencoder, mplayer



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Cyrillic avi subtitles with Mplayer (--T--) Linux - Software 3 01-08-2009 11:59 AM
MPlayer cant play AVI file janesfelcs Linux - Software 9 12-20-2005 05:56 AM
start at index x in playlist with mplayer samel_tvom Linux - Software 1 08-06-2005 02:09 AM
conversion from mpeg4 to avi using mplayer sanjith11 Linux - Software 1 12-06-2003 11:21 AM
mplayer avi killi Linux - Software 2 06-03-2003 08:47 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:47 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration