[Ubuntu 10.04] Problem z konwersją rmvb do xvid

Znalazłem w internecie sposób na konwersję filmu z rmvb do xvid. http://ni.recoverydata.pl/content/konwersja-filmu-z-formatu-rmvb-do-avi-mencoder

Wpisuję do terminala:

mencoder NAZWAFILMU.rmvb -ovc lavc -lavcopts vcodec=mpeg4:vbitrate=900:autoaspect -ffourcc xvid -oac lavc -lavcopts acodec=mp2:abitrate=128:atag=0x50 -o film.avi

Niestety w trakcie konwersji wyskakuje błąd: :?

MEncoder SVN-r1.0~rc3+svn20090426-4.4.3 (C) 2000-2009 MPlayer Team

success: format: 0 data: 0x0 - 0x3117d55e

REAL file format detected.

Stream description: Audio Stream

Stream mimetype: audio/x-pn-realaudio

[real] Audio stream found, -aid 0

Stream description: Video Stream

Stream mimetype: video/x-pn-realvideo

[real] Video stream found, -vid 1

Stream mimetype: logical-fileinfo

VIDEO: [RV40] 1280x536 24bpp 23.000 fps 0.0 kbps ( 0.0 kbyte/s)

[V] filefmt:11 fourcc:0x30345652 size:1280x536 fps:23.000 ftime:=0.0435

==========================================================================

Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders

[cook @ 0x9fc89c0]MC_COOK not supported!

Could not open codec.

ADecoder init failed :(

ADecoder init failed :(

Opening audio decoder: [realaud] RealAudio decoder

Error: libstdc++.so.5: cannot open shared object file: No such file or directory

Win32 LoadLibrary failed to load: cook.so, /usr/lib/codecs/cook.so, /usr/lib/win32/cook.so, /usr/local/lib/win32/cook.so

Error loading dll

ERROR: Could not open required DirectShow codec cook.so.

Read the RealAudio section of the DOCS!

ADecoder preinit failed :(

ADecoder init failed :(

Opening audio decoder: [realaud] RealAudio decoder

Decoder init failed, error code: 0x80040005

ADecoder preinit failed :(

ADecoder init failed :(

Opening audio decoder: [realaud] RealAudio decoder

Win32 LoadLibrary failed to load: cook.dll, /usr/lib/codecs/cook.dll, /usr/lib/win32/cook.dll, /usr/local/lib/win32/cook.dll

Error loading dll

ERROR: Could not open required DirectShow codec cook.dll.

Read the RealAudio section of the DOCS!

ADecoder preinit failed :(

ADecoder init failed :(

Opening audio decoder: [realaud] RealAudio decoder

Win32 LoadLibrary failed to load: cook3260.dll, /usr/lib/codecs/cook3260.dll, /usr/lib/win32/cook3260.dll, /usr/local/lib/win32/cook3260.dll

Error loading dll

ERROR: Could not open required DirectShow codec cook3260.dll.

Read the RealAudio section of the DOCS!

ADecoder preinit failed :(

ADecoder init failed :(

Opening audio decoder: [realaud] RealAudio decoder

Error: /usr/lib/codecs/cook.bundle/Contents/MacOS/cook: cannot open shared object file: No such file or directory

Win32 LoadLibrary failed to load: cook.bundle/Contents/MacOS/cook, /usr/lib/codecs/cook.bundle/Contents/MacOS/cook, /usr/lib/win32/cook.bundle/Contents/MacOS/cook, /usr/local/lib/win32/cook.bundle/Contents/MacOS/cook

Error loading dll

ERROR: Could not open required DirectShow codec cook.bundle/Contents/MacOS/cook.

Read the RealAudio section of the DOCS!

ADecoder preinit failed :(

ADecoder init failed :(

Cannot find codec for audio format 0x6B6F6F63.

Read DOCS/HTML/en/codecs.html!

==========================================================================

Opening video filter: [expand osd=1]

Expand: -1 x -1, -1 ; -1, osd: 1, aspect: 0.000000, round: 1

==========================================================================

Opening video decoder: [realvid] RealVideo decoder

Win32 LoadLibrary failed to load: drvc.dll, /usr/lib/codecs/drvc.dll, /usr/lib/win32/drvc.dll, /usr/local/lib/win32/drvc.dll

Error loading dll

ERROR: Could not open required DirectShow codec drvc.dll.

Read the RealVideo section of the DOCS!

VDecoder init failed :(

Opening video decoder: [realvid] RealVideo decoder

Win32 LoadLibrary failed to load: drv43260.dll, /usr/lib/codecs/drv43260.dll, /usr/lib/win32/drv43260.dll, /usr/local/lib/win32/drv43260.dll

Error loading dll

ERROR: Could not open required DirectShow codec drv43260.dll.

Read the RealVideo section of the DOCS!

VDecoder init failed :(

Opening video decoder: [realvid] RealVideo decoder

Error: /usr/lib/codecs/drvc.bundle/Contents/MacOS/drvc: cannot open shared object file: No such file or directory

Win32 LoadLibrary failed to load: drvc.bundle/Contents/MacOS/drvc, /usr/lib/codecs/drvc.bundle/Contents/MacOS/drvc, /usr/lib/win32/drvc.bundle/Contents/MacOS/drvc, /usr/local/lib/win32/drvc.bundle/Contents/MacOS/drvc

Error loading dll

ERROR: Could not open required DirectShow codec drvc.bundle/Contents/MacOS/drvc.

Read the RealVideo section of the DOCS!

VDecoder init failed :(

Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family

Selected video codec: [ffrv40] vfm: ffmpeg (FFmpeg RV40)

==========================================================================

Forcing output FourCC to 64697678 [xvid].

Segmentation fault

Dodam, że podczs odtwarzania Mplayer jest wideo, a dźwięku nie ma :frowning:

Czy ktoś mi pomoże ?

Z loga wynika że nie masz DirectShow, oraz kodeków Windowsowych (w32codecs). DirectShow powinien być w pakiecie w32codecs (jak się nie mylę).

Tylko że ja mam zainstalowane te kodeki

Zrzut ekranu: http://img43.imageshack.us/f/zrzutekranufu.png

Ja nie miałem problemu z taką konwersją. Pobierz Ubumatic. Może doda coś czego nie miałeś.

Przerób FFmpeg-iem, ten to chyba łapie wszystko.

@sunbeam96 Próbowałem ubuntumatic, ale nic.

@ra-v Jak to zrobić?

Zainstaluj ffmpeg

ffmpeg -i plik.rmvb -vcodec libxvid -ab 160k -qscale 10 plik.avi

Możesz próbować usuwać -ab i -qscale z parametrami, które odpowiadają za jakość dźwięku i obrazu, ale jak już tak gdzieś sobie zapisałem to warto aby tak zostało (qscale im mniejszy tym obraz lepszy).

Te polecenie w każdym razie co wyżej umożliwia skonwertowanie pliku i odtworzenie z pen drive na dekoderze TV.