* [gentoo-user] mplayer: xvid and lavc
@ 2010-03-18 11:20 Arnau Bria
2010-03-18 11:38 ` Norman Rieß
2010-03-18 16:34 ` Frank Steinmetzger
0 siblings, 2 replies; 9+ messages in thread
From: Arnau Bria @ 2010-03-18 11:20 UTC (permalink / raw
To: gentoo-user
Hi all,
I'm trying to add some sub to a video with menconder (following a
receipt).
I run something like:
mencoder mi_video.avi -oac pcm -ovc lavc -lavcopts vcodec=xvid:mbd=2:trell:autoaspect -sub mis_subs.srt -subfont-text-scale 3 -o video_final.avi
but I get the error:
[...]
Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
Cannot find codec 'xvid' in libavcodec...
Couldn't open video filter 'lavc'.
Failed to open the encoder.
I though that building mplayer with xvid support should be enough:
$ eix media-video/mplayer
[I] media-video/mplayer
Available versions: 1.0_rc4_p20091026-r1 ~1.0_rc4_p20100213-r1 **9999 {3dnow 3dnowext +X +a52 +aac aalib +alsa altivec +ass bidi bindist bl bs2b +cddb +cdio cdparanoia cpudetection custom-cpuopts debug dga +dirac directfb doc +dts +dv dvb +dvd +dvdnav dxr3 +enca +encode esd external-ffmpeg +faac +faad fbcon ftp ggi gif -gmplayer +iconv ipv6 jack joystick jpeg jpeg2k kernel_linux ladspa libcaca lirc +live lzo mad md5sum +mmx mmxext mng +mp3 nas +network nut openal opencore-amr +opengl +osdmenu oss png pnm pulseaudio pvr +quicktime radio +rar +real +rtc samba +schroedinger sdl +shm +speex sse sse2 ssse3 svga teletext tga +theora +toolame +tremor +truetype +twolame +unicode v4l v4l2 vdpau video_cards_mga video_cards_nvidia video_cards_s3virge video_cards_tdfx video_cards_vesa vidix +vorbis win32codecs +x264 xanim xinerama +xscreensaver +xv +xvid xvmc zoran}
Installed versions: 1.0_rc4_p20091026-r1(11:58:13 AM 02/23/2010)(X a52 aac alsa ass cddb cdio dirac dts dv dvd dvdnav enca encode faac faad iconv jpeg kernel_linux live mad mmx mp3 network opengl osdmenu png rar real rtc schroedinger sdl shm speex theora toolame tremor truetype twolame unicode vorbis win32codecs x264 xscreensaver xv xvid -3dnow -3dnowext -aalib -altivec -bidi -bindist -bl -bs2b -cdparanoia -cpudetection -custom-cpuopts -debug -dga -directfb -doc -dvb -dxr3 -esd -fbcon -ftp -ggi -gif -gmplayer -ipv6 -jack -joystick -ladspa -libcaca -lirc -lzo -md5sum -mmxext -mng -nas -nut -openal -opencore-amr -oss -pnm -pulseaudio -pvr -quicktime -radio -samba -sse -sse2 -ssse3 -svga -teletext -tga -v4l -v4l2 -vdpau -video_cards_mga -video_cards_nvidia -video_cards_s3virge -video_cards_tdfx -vidix -xanim -xinerama -xvmc -zoran)
but seems that not it isn't.
and don't know what lavc is...
anyone could tell me what package/s are missing in my system?
TIA
--
Arnau Bria
http://blog.emergetux.net
Bombing for peace is like fucking for virginity
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-user] mplayer: xvid and lavc
2010-03-18 11:20 [gentoo-user] mplayer: xvid and lavc Arnau Bria
@ 2010-03-18 11:38 ` Norman Rieß
2010-03-18 12:14 ` Arnau Bria
2010-03-18 16:34 ` Frank Steinmetzger
1 sibling, 1 reply; 9+ messages in thread
From: Norman Rieß @ 2010-03-18 11:38 UTC (permalink / raw
To: gentoo-user
Am 03/18/10 12:20, schrieb Arnau Bria:
> Hi all,
>
> I'm trying to add some sub to a video with menconder (following a
> receipt).
>
> I run something like:
>
> mencoder mi_video.avi -oac pcm -ovc lavc -lavcopts vcodec=xvid:mbd=2:trell:autoaspect -sub mis_subs.srt -subfont-text-scale 3 -o video_final.avi
>
> but I get the error:
>
> [...]
> Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3)
> ==========================================================================
> Cannot find codec 'xvid' in libavcodec...
> Couldn't open video filter 'lavc'.
> Failed to open the encoder.
>
>
> I though that building mplayer with xvid support should be enough:
>
> $ eix media-video/mplayer
> [I] media-video/mplayer (...)
>
> but seems that not it isn't.
>
> and don't know what lavc is...
>
> anyone could tell me what package/s are missing in my system?
>
> TIA
>
>
Hello,
i allways had problems with lavc so i used xvid in mplayer directly:
mencoder sourcefile -ovc xvid -xvidencopts bitrate=vbitrate -oac mp3lame
-lameopts abr:br=abitrate -o result_path
Regards
Norman
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-user] mplayer: xvid and lavc
2010-03-18 11:38 ` Norman Rieß
@ 2010-03-18 12:14 ` Arnau Bria
2010-03-18 13:54 ` Norman Rieß
0 siblings, 1 reply; 9+ messages in thread
From: Arnau Bria @ 2010-03-18 12:14 UTC (permalink / raw
To: gentoo-user
On Thu, 18 Mar 2010 12:38:01 +0100
Norman Rieß wrote:
> Hello,
Hi Norman,
> i allways had problems with lavc so i used xvid in mplayer directly:
> mencoder sourcefile -ovc xvid -xvidencopts bitrate=vbitrate -oac
> mp3lame -lameopts abr:br=abitrate -o result_path
I don't get it .... source file is avi file, but where is sub file?
> Regards
> Norman
Thanks for your reply,
Cheers
--
Arnau Bria
http://blog.emergetux.net
Bombing for peace is like fucking for virginity
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-user] mplayer: xvid and lavc
2010-03-18 12:14 ` Arnau Bria
@ 2010-03-18 13:54 ` Norman Rieß
2010-03-18 14:13 ` Arnau Bria
0 siblings, 1 reply; 9+ messages in thread
From: Norman Rieß @ 2010-03-18 13:54 UTC (permalink / raw
To: gentoo-user
Am 03/18/10 13:14, schrieb Arnau Bria:
> On Thu, 18 Mar 2010 12:38:01 +0100
> Norman Rieß wrote:
>
>
>
>> Hello,
>>
> Hi Norman,
>
>
>> i allways had problems with lavc so i used xvid in mplayer directly:
>> mencoder sourcefile -ovc xvid -xvidencopts bitrate=vbitrate -oac
>> mp3lame -lameopts abr:br=abitrate -o result_path
>>
> I don't get it .... source file is avi file, but where is sub file?
>
>
>> Regards
>> Norman
>>
> Thanks for your reply,
> Cheers
>
Um...it is not the exact command you should use in your case with the
subs, it is an example on how to bypass the lavc problem.
Producing a working command, that suits _your_ needs is still your job ;-).
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-user] mplayer: xvid and lavc
2010-03-18 13:54 ` Norman Rieß
@ 2010-03-18 14:13 ` Arnau Bria
0 siblings, 0 replies; 9+ messages in thread
From: Arnau Bria @ 2010-03-18 14:13 UTC (permalink / raw
To: gentoo-user
On Thu, 18 Mar 2010 14:54:12 +0100
Norman Rieß wrote:
> Um...it is not the exact command you should use in your case with the
> subs, it is an example on how to bypass the lavc problem.
> Producing a working command, that suits _your_ needs is still your
> job ;-).
Oh! thanks, going to see into it!
--
Arnau Bria
http://blog.emergetux.net
Bombing for peace is like fucking for virginity
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-user] mplayer: xvid and lavc
2010-03-18 11:20 [gentoo-user] mplayer: xvid and lavc Arnau Bria
2010-03-18 11:38 ` Norman Rieß
@ 2010-03-18 16:34 ` Frank Steinmetzger
2010-03-19 9:46 ` Arnau Bria
1 sibling, 1 reply; 9+ messages in thread
From: Frank Steinmetzger @ 2010-03-18 16:34 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: Text/Plain, Size: 566 bytes --]
Am Donnerstag 18 März 2010 schrieb Arnau Bria:
> Hi all,
>
> I'm trying to add some sub to a video with menconder (following a
> receipt).
>
> I run something like:
>
> mencoder mi_video.avi -oac pcm -ovc lavc -lavcopts
> vcodec=xvid:mbd=2:trell:autoaspect -sub mis_subs.srt -subfont-text-scale 3
> -o video_final.avi
Has this worked before? As fas a I know, AVI does not officially support srt
subs.
--
Gruß | Greetings | Qapla'
If you have a problem, call your system-administrator.
If you are the system-administrator, you have a problem.
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-user] mplayer: xvid and lavc
2010-03-18 16:34 ` Frank Steinmetzger
@ 2010-03-19 9:46 ` Arnau Bria
2010-03-19 16:32 ` Frank Steinmetzger
0 siblings, 1 reply; 9+ messages in thread
From: Arnau Bria @ 2010-03-19 9:46 UTC (permalink / raw
To: gentoo-user
On Thu, 18 Mar 2010 17:34:09 +0100
Frank Steinmetzger wrote:
> Has this worked before? As fas a I know, AVI does not officially
> support srt subs.
It worked for me:
mencoder ITC0101.avi -oac pcm -ovc xvid -xvidencopts bitrate=886 -sub ITC0101.srt -subfont-text-scale 3 -o video_final.avi
my problem is that new video is much bigger than original. More or less
twice original. I don't know why...
Cheers,
--
Arnau Bria
http://blog.emergetux.net
Bombing for peace is like fucking for virginity
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-user] mplayer: xvid and lavc
2010-03-19 9:46 ` Arnau Bria
@ 2010-03-19 16:32 ` Frank Steinmetzger
2010-03-22 11:47 ` Arnau Bria
0 siblings, 1 reply; 9+ messages in thread
From: Frank Steinmetzger @ 2010-03-19 16:32 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: Text/Plain, Size: 601 bytes --]
Am Freitag 19 März 2010 schrieb Arnau Bria:
> On Thu, 18 Mar 2010 17:34:09 +0100
>
> Frank Steinmetzger wrote:
> > Has this worked before? As fas a I know, AVI does not officially
> > support srt subs.
>
> It worked for me:
>
> mencoder ITC0101.avi -oac pcm -ovc xvid -xvidencopts bitrate=886 -sub
----------------------------^^^
> my problem is that new video is much bigger than original. More or less
> twice original. I don't know why...
My guess is that you really want -oac copy instead of pcm. PCM is
uncompressed.
--
Gruß | Greetings | Qapla'
This sentence no verb.
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-user] mplayer: xvid and lavc
2010-03-19 16:32 ` Frank Steinmetzger
@ 2010-03-22 11:47 ` Arnau Bria
0 siblings, 0 replies; 9+ messages in thread
From: Arnau Bria @ 2010-03-22 11:47 UTC (permalink / raw
To: gentoo-user
On Fri, 19 Mar 2010 17:32:42 +0100
Frank Steinmetzger wrote:
> Am Freitag 19 März 2010 schrieb Arnau Bria:
> > On Thu, 18 Mar 2010 17:34:09 +0100
> >
> > Frank Steinmetzger wrote:
> > > Has this worked before? As fas a I know, AVI does not officially
> > > support srt subs.
> >
> > It worked for me:
> >
> > mencoder ITC0101.avi -oac pcm -ovc xvid -xvidencopts bitrate=886
> > -sub
> ----------------------------^^^
>
> > my problem is that new video is much bigger than original. More or
> > less twice original. I don't know why...
>
> My guess is that you really want -oac copy instead of pcm. PCM is
> uncompressed.
many thanks! solved!!
Cheers,
--
Arnau Bria
http://blog.emergetux.net
Bombing for peace is like fucking for virginity
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2010-03-22 11:46 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-18 11:20 [gentoo-user] mplayer: xvid and lavc Arnau Bria
2010-03-18 11:38 ` Norman Rieß
2010-03-18 12:14 ` Arnau Bria
2010-03-18 13:54 ` Norman Rieß
2010-03-18 14:13 ` Arnau Bria
2010-03-18 16:34 ` Frank Steinmetzger
2010-03-19 9:46 ` Arnau Bria
2010-03-19 16:32 ` Frank Steinmetzger
2010-03-22 11:47 ` Arnau Bria
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox