1 |
Am 03/18/10 12:20, schrieb Arnau Bria: |
2 |
> Hi all, |
3 |
> |
4 |
> I'm trying to add some sub to a video with menconder (following a |
5 |
> receipt). |
6 |
> |
7 |
> I run something like: |
8 |
> |
9 |
> 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 |
10 |
> |
11 |
> but I get the error: |
12 |
> |
13 |
> [...] |
14 |
> Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3) |
15 |
> ========================================================================== |
16 |
> Cannot find codec 'xvid' in libavcodec... |
17 |
> Couldn't open video filter 'lavc'. |
18 |
> Failed to open the encoder. |
19 |
> |
20 |
> |
21 |
> I though that building mplayer with xvid support should be enough: |
22 |
> |
23 |
> $ eix media-video/mplayer |
24 |
> [I] media-video/mplayer (...) |
25 |
> |
26 |
> but seems that not it isn't. |
27 |
> |
28 |
> and don't know what lavc is... |
29 |
> |
30 |
> anyone could tell me what package/s are missing in my system? |
31 |
> |
32 |
> TIA |
33 |
> |
34 |
> |
35 |
|
36 |
Hello, |
37 |
i allways had problems with lavc so i used xvid in mplayer directly: |
38 |
mencoder sourcefile -ovc xvid -xvidencopts bitrate=vbitrate -oac mp3lame |
39 |
-lameopts abr:br=abitrate -o result_path |
40 |
|
41 |
Regards |
42 |
Norman |