Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Multimedia
  • Search

[solved] how to convert .rm to .ogg

Help with creation, editing, or playback of sounds, images, or video. Amarok, audacious, mplayer, grip, cdparanoia and anything else that makes a sound or plays a video.
Post Reply
Advanced search
11 posts • Page 1 of 1
Author
Message
pyxel
n00b
n00b
User avatar
Posts: 44
Joined: Fri Nov 04, 2005 5:09 pm
Location: Bratislava/brussels
Contact:
Contact pyxel
Website

[solved] how to convert .rm to .ogg

  • Quote

Post by pyxel » Thu Mar 22, 2007 9:15 am

Hello all,

I want just to ask if you can help me to convert one RealMedia video file (from stream) to ogg video ?

Any advice is welcome.

Code: Select all

[marek@pluto ~]$ file stream.rm
stream.rm: RealMedia file
[marek@pluto ~]$ 
Thank you in advance!
Last edited by pyxel on Mon Mar 26, 2007 7:34 pm, edited 1 time in total.
Top
frostschutz
Advocate
Advocate
User avatar
Posts: 2978
Joined: Tue Feb 22, 2005 11:23 am
Location: Germany

  • Quote

Post by frostschutz » Thu Mar 22, 2007 12:58 pm

If mplayer can play it, mencode.
Top
pyxel
n00b
n00b
User avatar
Posts: 44
Joined: Fri Nov 04, 2005 5:09 pm
Location: Bratislava/brussels
Contact:
Contact pyxel
Website

  • Quote

Post by pyxel » Thu Mar 22, 2007 7:24 pm

frostschutz wrote:If mplayer can play it, mencode.
Actually no, it can play, but no encore to ogg :(
Top
beandog
Bodhisattva
Bodhisattva
User avatar
Posts: 2074
Joined: Sun May 04, 2003 11:53 pm
Location: /usa/utah
Contact:
Contact beandog
Website

  • Quote

Post by beandog » Thu Mar 22, 2007 8:34 pm

I'm not very good at doing just audio stuff with mencoder, but I think this might work:

Code: Select all

mplayer movie.rm -dumpaudio -dumpfile audio.wav
oggenc audio.wav
If it ain't broke, tweak it. dvds | blurays | blog | wiki
Top
ikshaar
Veteran
Veteran
User avatar
Posts: 1339
Joined: Tue Jul 23, 2002 4:01 pm
Location: Baltimore, MD

  • Quote

Post by ikshaar » Thu Mar 22, 2007 9:29 pm

beandog wrote:I'm not very good at doing just audio stuff with mencoder, but I think this might work:

Code: Select all

mplayer movie.rm -dumpaudio -dumpfile audio.wav
oggenc audio.wav
He is talking about video, not audio. oggenc in audio only afaik.

You can see if media-video/ffmpeg2theora can read Real file.... i doubt so.
"May God stands between you and harm in all the empty places where you must walk" - Babylon 5
Top
beandog
Bodhisattva
Bodhisattva
User avatar
Posts: 2074
Joined: Sun May 04, 2003 11:53 pm
Location: /usa/utah
Contact:
Contact beandog
Website

  • Quote

Post by beandog » Thu Mar 22, 2007 9:52 pm

oh, whoops.

Well, define "ogg video" then. Ogg Theora? Ogg Vorbis? Ogg container? :)

Lots of options.

If you wanted all three, something like this:

Code: Select all

mencoder movie.rm -ovf lavf -ovc theora -oac lavc -lavcopts acodec=vorbis -o movie.ogm
If it ain't broke, tweak it. dvds | blurays | blog | wiki
Top
kdag
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 139
Joined: Thu Mar 18, 2004 8:50 pm
Location: Switzerland

  • Quote

Post by kdag » Fri Mar 23, 2007 12:27 pm

will it be possible to go from .ogg to .mov ?
http://soup.znerol.ch
Top
Moji
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 121
Joined: Sat Nov 04, 2006 2:58 am

  • Quote

Post by Moji » Fri Mar 23, 2007 11:29 pm

Gentoo Wiki

I rip various streams and convert to ogg files with scripts, I don't think any of them are rm but I think it should work for any:

Code: Select all

mkfifo /tmp/temp_file
mplayer -really-quiet -vo null -vc null -ao pcm:waveheader:file="/tmp/temp_file" "source_file_or_url" &
oggenc /tmp/temp_file -Q -q 6 -o destination_file.ogg
rm -fr /tmp/temp_file
-MJ
Top
pyxel
n00b
n00b
User avatar
Posts: 44
Joined: Fri Nov 04, 2005 5:09 pm
Location: Bratislava/brussels
Contact:
Contact pyxel
Website

  • Quote

Post by pyxel » Mon Mar 26, 2007 7:34 pm

The solution

transcode it to ffmpeg2 via memcoder:

Code: Select all

mencoder ./stream.rm -o temp.avi  -ovc lavc -oac lavc
and now to ogg using ffmpeg2theora [1]:

Code: Select all

./ffmpeg2theora-0.18.linux.bin ./temp.avi -o output.ogg

[1] http://www.v2v.cc/~j/ffmpeg2theora/


Cheers,

Marek Mahut
Top
pyxel
n00b
n00b
User avatar
Posts: 44
Joined: Fri Nov 04, 2005 5:09 pm
Location: Bratislava/brussels
Contact:
Contact pyxel
Website

  • Quote

Post by pyxel » Mon Mar 26, 2007 7:37 pm

Hello,
beandog wrote:

Code: Select all

mencoder movie.rm -ovf lavf -ovc theora -oac lavc -lavcopts acodec=vorbis -o movie.ogm

Code: Select all

[mmahut@mmahut ~]$ mencoder -ovc help
MEncoder 1.0rc1-4.1.1 (C) 2000-2006 MPlayer Team
CPU: Genuine Intel(R) CPU           T2400  @ 1.83GHz (Family: 6, Model: 14, Stepping: 8)
CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.

Available codecs:
   copy     - frame copy, without re-encoding. Doesn't work with filters.
   frameno  - special audio-only file for 3-pass encoding, see DOCS.
   raw      - uncompressed video. Use fourcc option to set format explicitly.
   nuv      - nuppel video
   lavc     - libavcodec codecs - best quality!
   vfw      - VfW DLLs, read DOCS/HTML/en/encoding-guide.html.
   qtvideo  - QuickTime DLLs, currently only SVQ1/3 are supported.
   libdv    - DV encoding with libdv v0.9.5
   xvid     - XviD encoding
   x264     - H.264 encoding

[mmahut@mmahut ~]$ 
No, mencoder/mplayer doesn't support theora at all. Already had a flame with devlopers about that :) the prive response was 'ogg developera had a smaller brain that dog' - well, it shows how mplayer developres are good.


/Marek Marek/
Top
beandog
Bodhisattva
Bodhisattva
User avatar
Posts: 2074
Joined: Sun May 04, 2003 11:53 pm
Location: /usa/utah
Contact:
Contact beandog
Website

  • Quote

Post by beandog » Mon Mar 26, 2007 8:03 pm

pyxel wrote:No, mencoder/mplayer doesn't support theora at all. Already had a flame with devlopers about that :) the prive response was 'ogg developera had a smaller brain that dog' - well, it shows how mplayer developres are good.
Ah, yah. I can never remember which OSS codecs they don't support. MPlayer will play Theora files, but can't encode to them.
If it ain't broke, tweak it. dvds | blurays | blog | wiki
Top
Post Reply

11 posts • Page 1 of 1

Return to “Multimedia”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic