LinuxQuestions.org
Help answer threads with 0 replies.
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 05-16-2006, 02:58 AM   #1
ziobudda
LQ Newbie
 
Registered: Jan 2006
Posts: 14

Rep: Reputation: 0
From OGG to AVI with subtitle


Hi all. I have some file .ogg with video, double audio and subtitle. I need to convert them into .AVI file (divx) with subtitle "on screen".

I have tried

Code:
$ mencoder file.ogg -aoc copy -voc copy -aid 1 -sid 1 -o file.avi
but it does not work.

Where is my error ??

Tnx.
 
Old 05-16-2006, 03:53 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
OK, well firstly if you read the manpeg you'd see it was -oac and -ovc, btu you've also clearly got their usage very wrong... you're saying use the copy method. i.e. copy it. exactly as it is. this will not reencode it, it will just copy it. you should really read the documentation at mplayerhq.hu to get advice on reencoding files.
 
Old 05-17-2006, 05:20 AM   #3
ziobudda
LQ Newbie
 
Registered: Jan 2006
Posts: 14

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by acid_kewpie
OK, well firstly if you read the manpeg you'd see it was -oac and -ovc, btu you've also clearly got their usage very wrong... you're saying use the copy method. i.e. copy it. exactly as it is. this will not reencode it, it will just copy it. you should really read the documentation at mplayerhq.hu to get advice on reencoding files.
Hi have read it, but I have not understand how it works.

How to obtain bitrate of the original file ? How to make a full copy of the original settings ?

Tnx and sorry for the stupid questions.

M.
 
Old 05-17-2006, 05:40 AM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
original bitrate of an ogg, i've no real knowledge of oggs but if you use mplayre with the -identify option playing that file you'll get a little dump of info about it, including bitrates and codec types.

What do you actually want to achieve? it's presumably possible to take the ogg video and audio streams and place them inside an avi container, but an avi is just a container, not a codec or such. most people who say that they want an avi actually mean they want a divx video stream and an mp3 audio stream, wrapped in an avi container. is that what you actually want to do?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
subtitle for slack ahmed gamal Linux - Software 3 03-16-2006 06:46 PM
Problem loading avi with subtitle in Xine mmarkvillanueva Linux - Software 0 11-10-2005 04:19 AM
change uploaded files from filename.avi to filename.avi.html like www.rapidshare.de latheesan Linux - Newbie 3 06-16-2005 04:33 AM
Xine subtitle??? perdesiz Linux - Software 0 09-30-2003 01:50 AM
Converting avi to mpg OR creating an SVCD from an avi MasterC Linux - Software 5 03-28-2003 05:42 AM

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

All times are GMT -5. The time now is 12:08 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