Portal Chamar Táxi

Erros a configurar SS2 em Linux Ubuntu...

MrBouli

GF Bronze
Membro Inactivo
Entrou
Jan 23, 2007
Mensagens
16
Gostos Recebidos
0
Boas pessoal...

Encontro-me a tentar configurar a SS2 no ubuntu....

Tenho seguido fielment o manual...

No seguinte ponto deparo-me com um erro...

Deixo aqui para ver se é possivel me ajudarem:

bruno@Bruno-Linux:~/Área de Trabalho/vdr-1.6.0$ cat PLUGINS/src/sc/patches/vdr-1.4.0-sc.diff | patch -p1
patching file ci.h
Hunk #1 FAILED at 96.
Hunk #2 FAILED at 178.
2 out of 2 hunks FAILED -- saving rejects to file ci.h.rej
patching file dvbdevice.c
Hunk #1 FAILED at 501.
Hunk #2 FAILED at 697.
Hunk #3 FAILED at 801.
Hunk #4 FAILED at 861.
4 out of 4 hunks FAILED -- saving rejects to file dvbdevice.c.rej
patching file pat.c
Reversed (or previously applied) patch detected! Assume -R? [n] r
Apply anyway? [n] y
Hunk #1 FAILED at 158.
1 out of 1 hunk FAILED -- saving rejects to file pat.c.rej
The next patch would create the file sclink.h,
which already exists! Assume -R? [n] r
Apply anyway? [n] y
patching file sclink.h
Patch attempted to create file sclink.h, which already exists.
Hunk #1 FAILED at 1.
1 out of 1 hunk FAILED -- saving rejects to file sclink.h.rej


Obrigado
 

sempre

GF Prata
Entrou
Set 23, 2006
Mensagens
242
Gostos Recebidos
0
Boas pessoal...

Encontro-me a tentar configurar a SS2 no ubuntu....

Tenho seguido fielment o manual...

No seguinte ponto deparo-me com um erro...

Deixo aqui para ver se é possivel me ajudarem:

bruno@Bruno-Linux:~/Área de Trabalho/vdr-1.6.0$ cat PLUGINS/src/sc/patches/vdr-1.4.0-sc.diff | patch -p1
patching file ci.h
Hunk #1 FAILED at 96.
Hunk #2 FAILED at 178.
2 out of 2 hunks FAILED -- saving rejects to file ci.h.rej
patching file dvbdevice.c
Hunk #1 FAILED at 501.
Hunk #2 FAILED at 697.
Hunk #3 FAILED at 801.
Hunk #4 FAILED at 861.
4 out of 4 hunks FAILED -- saving rejects to file dvbdevice.c.rej
patching file pat.c
Reversed (or previously applied) patch detected! Assume -R? [n] r
Apply anyway? [n] y
Hunk #1 FAILED at 158.
1 out of 1 hunk FAILED -- saving rejects to file pat.c.rej
The next patch would create the file sclink.h,
which already exists! Assume -R? [n] r
Apply anyway? [n] y
patching file sclink.h
Patch attempted to create file sclink.h, which already exists.
Hunk #1 FAILED at 1.
1 out of 1 hunk FAILED -- saving rejects to file sclink.h.rej


Obrigado

Amigo MrBouli.
A versão 1.6.0 do VDR não necessita de nenhum patch para funcionar com o SC!
 

MrBouli

GF Bronze
Membro Inactivo
Entrou
Jan 23, 2007
Mensagens
16
Gostos Recebidos
0
Obrigado meu amigo...

Já aprendi algo mais...

De seguida continuo o processo e acontece-me isto:

bruno@Bruno-Linux:~/Área de Trabalho/vdr-1.6.0$ cat PLUGINS/src/sc/patches/vdr-1.4.0-ffdecsa-0.1.3.diff | patch -p1
The next patch would create the file FFdecsa/COPYING,
which already exists! Assume -R? [n] r
Apply anyway? [n] y
patching file FFdecsa/COPYING
Patch attempted to create file FFdecsa/COPYING, which already exists.
Hunk #1 FAILED at 1.
1 out of 1 hunk FAILED -- saving rejects to file FFdecsa/COPYING.rej
The next patch would create the file FFdecsa/ChangeLog,
which already exists! Assume -R? [n] r
Apply anyway? [n] y
patching file FFdecsa/ChangeLog
Patch attempted to create file FFdecsa/ChangeLog, which already exists.
Hunk #1 FAILED at 1.
1 out of 1 hunk FAILED -- saving rejects to file FFdecsa/ChangeLog.rej
The next patch would create the file FFdecsa/FFdecsa.c,
which already exists! Assume -R? [n] r
Apply anyway? [n] y
patching file FFdecsa/FFdecsa.c
Patch attempted to create file FFdecsa/FFdecsa.c, which already exists.
Hunk #1 FAILED at 1.
1 out of 1 hunk FAILED -- saving rejects to file FFdecsa/FFdecsa.c.rej
The next patch would create the file FFdecsa/FFdecsa.h,
which already exists! Assume -R? [n] r
Apply anyway? [n] y
patching file FFdecsa/FFdecsa.h
Patch attempted to create file FFdecsa/FFdecsa.h, which already exists.
Hunk #1 FAILED at 1.
1 out of 1 hunk FAILED -- saving rejects to file FFdecsa/FFdecsa.h.rej
The next patch would create the file FFdecsa/FFdecsa_test.c,
which already exists! Assume -R? [n] r
Apply anyway? [n] y
patching file FFdecsa/FFdecsa_test.c
Patch attempted to create file FFdecsa/FFdecsa_test.c, which already exists.
Hunk #1 FAILED at 1.
1 out of 1 hunk FAILED -- saving rejects to file FFdecsa/FFdecsa_test.c.rej
The next patch would create the file FFdecsa/FFdecsa_test_testcases.h,
which already exists! Assume -R? [n] r
Apply anyway? [n] y
patching file FFdecsa/FFdecsa_test_testcases.h
Patch attempted to create file FFdecsa/FFdecsa_test_testcases.h, which already exists.
Hunk #1 FAILED at 1.
1 out of 1 hunk FAILED -- saving rejects to file FFdecsa/FFdecsa_test_testcases.h.rej
The next patch would create the file FFdecsa/Makefile,
which already exists! Assume -R? [n] r
Apply anyway? [n] y
patching file FFdecsa/Makefile
Patch attempted to create file FFdecsa/Makefile, which already exists.
Hunk #1 FAILED at 1.
1 out of 1 hunk FAILED -- saving rejects to file FFdecsa/Makefile.rej
The next patch would create the file FFdecsa/README,
which already exists! Assume -R? [n] r
Apply anyway? [n] y
patching file FFdecsa/README
Patch attempted to create file FFdecsa/README, which already exists.
Hunk #1 FAILED at 1.
1 out of 1 hunk FAILED -- saving rejects to file FFdecsa/README.rej
The next patch would create the file FFdecsa/docs/FAQ.txt,
which already exists! Assume -R? [n] r
Apply anyway? [n] y
patching file FFdecsa/docs/FAQ.txt
Patch attempted to create file FFdecsa/docs/FAQ.txt, which already exists.
Hunk #1 FAILED at 1.
1 out of 1 hunk FAILED -- saving rejects to file FFdecsa/docs/FAQ.txt.rej
The next patch would create the file FFdecsa/docs/how_to_compile.txt,
which already exists! Assume -R? [n] r
Apply anyway? [n] y
patching file FFdecsa/docs/how_to_compile.txt
Patch attempted to create file FFdecsa/docs/how_to_compile.txt, which already exists.
Hunk #1 FAILED at 1.
1 out of 1 hunk FAILED -- saving rejects to file FFdecsa/docs/how_to_compile.txt.rej
The next patch would create the file FFdecsa/docs/how_to_release.txt,
which already exists! Assume -R? [n] r
Apply anyway? [n] y
patching file FFdecsa/docs/how_to_release.txt
Patch attempted to create file FFdecsa/docs/how_to_release.txt, which already exists.
Hunk #1 FAILED at 1.
1 out of 1 hunk FAILED -- saving rejects to file FFdecsa/docs/how_to_release.txt.rej
The next patch would create the file FFdecsa/docs/how_to_understand.txt,
which already exists! Assume -R? [n] r
Apply anyway? [n] y
patching file FFdecsa/docs/how_to_understand.txt
Patch attempted to create file FFdecsa/docs/how_to_understand.txt, which already exists.
Hunk #1 FAILED at 1.
1 out of 1 hunk FAILED -- saving rejects to file FFdecsa/docs/how_to_understand.txt.rej
The next patch would create the file FFdecsa/docs/how_to_use.txt,
which already exists! Assume -R? [n] r
Apply anyway? [n] y
patching file FFdecsa/docs/how_to_use.txt
Patch attempted to create file FFdecsa/docs/how_to_use.txt, which already exists.
Hunk #1 FAILED at 1.
1 out of 1 hunk FAILED -- saving rejects to file FFdecsa/docs/how_to_use.txt.rej
The next patch would create the file FFdecsa/docs/technical_background.txt,
which already exists! Assume -R? [n] r
Apply anyway? [n] y
patching file FFdecsa/docs/technical_background.txt
Patch attempted to create file FFdecsa/docs/technical_background.txt, which already exists.
Hunk #1 FAILED at 1.
1 out of 1 hunk FAILED -- saving rejects to file FFdecsa/docs/technical_background.txt.rej
The next patch would create the file FFdecsa/logic/Makefile,
which already exists! Assume -R? [n] r
Apply anyway? [n] y
patching file FFdecsa/logic/Makefile
Patch attempted to create file FFdecsa/logic/Makefile, which already exists.
Hunk #1 FAILED at 1.
1 out of 1 hunk FAILED -- saving rejects to file FFdecsa/logic/Makefile.rej
The next patch would create the file FFdecsa/logic/logic.c,
which already exists! Assume -R? [n] r
Apply anyway? [n] y
patching file FFdecsa/logic/logic.c
Patch attempted to create file FFdecsa/logic/logic.c, which already exists.
Hunk #1 FAILED at 1.
1 out of 1 hunk FAILED -- saving rejects to file FFdecsa/logic/logic.c.rej
The next patch would create the file FFdecsa/parallel_032_4char.h,
which already exists! Assume -R? [n] r
Apply anyway? [n] y
patching file FFdecsa/parallel_032_4char.h
Patch attempted to create file FFdecsa/parallel_032_4char.h, which already exists.
Hunk #1 FAILED at 1.
1 out of 1 hunk FAILED -- saving rejects to file FFdecsa/parallel_032_4char.h.rej
The next patch would create the file FFdecsa/parallel_032_4charA.h,
which already exists! Assume -R? [n] r
Apply anyway? [n] y
patching file FFdecsa/parallel_032_4charA.h
Patch attempted to create file FFdecsa/parallel_032_4charA.h, which already exists.
Hunk #1 FAILED at 1.
1 out of 1 hunk FAILED -- saving rejects to file FFdecsa/parallel_032_4charA.h.rej
The next patch would create the file FFdecsa/parallel_032_int.h,
which already exists! Assume -R? [n] r
Apply anyway? [n] y
patching file FFdecsa/parallel_032_int.h
Patch attempted to create file FFdecsa/parallel_032_int.h, which already exists.
Hunk #1 FAILED at 1.
1 out of 1 hunk FAILED -- saving rejects to file FFdecsa/parallel_032_int.h.rej
The next patch would create the file FFdecsa/parallel_064_2int.h,
which already exists! Assume -R? [n] r
Apply anyway? [n] y
patching file FFdecsa/parallel_064_2int.h
Patch attempted to create file FFdecsa/parallel_064_2int.h, which already exists.
Hunk #1 FAILED at 1.
1 out of 1 hunk FAILED -- saving rejects to file FFdecsa/parallel_064_2int.h.rej
The next patch would create the file FFdecsa/parallel_064_8char.h,
which already exists! Assume -R? [n] r
Apply anyway? [n] y
patching file FFdecsa/parallel_064_8char.h
Patch attempted to create file FFdecsa/parallel_064_8char.h, which already exists.
Hunk #1 FAILED at 1.
1 out of 1 hunk FAILED -- saving rejects to file FFdecsa/parallel_064_8char.h.rej
The next patch would create the file FFdecsa/parallel_064_8charA.h,
which already exists! Assume -R? [n] r
Apply anyway? [n] y
patching file FFdecsa/parallel_064_8charA.h
Patch attempted to create file FFdecsa/parallel_064_8charA.h, which already exists.
Hunk #1 FAILED at 1.
1 out of 1 hunk FAILED -- saving rejects to file FFdecsa/parallel_064_8charA.h.rej
patching file FFdecsa/parallel_064_long.h
The next patch would create the file FFdecsa/parallel_064_mmx.h,
which already exists! Assume -R? [n] r
Apply anyway? [n] y
patching file FFdecsa/parallel_064_mmx.h
Patch attempted to create file FFdecsa/parallel_064_mmx.h, which already exists.
Hunk #1 FAILED at 1.
1 out of 1 hunk FAILED -- saving rejects to file FFdecsa/parallel_064_mmx.h.rej
The next patch would create the file FFdecsa/parallel_128_16char.h,
which already exists! Assume -R? [n] r
Apply anyway? [n] y
patching file FFdecsa/parallel_128_16char.h
Patch attempted to create file FFdecsa/parallel_128_16char.h, which already exists.
Hunk #1 FAILED at 1.
1 out of 1 hunk FAILED -- saving rejects to file FFdecsa/parallel_128_16char.h.rej
The next patch would create the file FFdecsa/parallel_128_16charA.h,
which already exists! Assume -R? [n] r
Apply anyway? [n] y
patching file FFdecsa/parallel_128_16charA.h
Patch attempted to create file FFdecsa/parallel_128_16charA.h, which already exists.
Hunk #1 FAILED at 1.
1 out of 1 hunk FAILED -- saving rejects to file FFdecsa/parallel_128_16charA.h.rej
The next patch would create the file FFdecsa/parallel_128_2long.h,
which already exists! Assume -R? [n] r
Apply anyway? [n] y
patching file FFdecsa/parallel_128_2long.h
Patch attempted to create file FFdecsa/parallel_128_2long.h, which already exists.
Hunk #1 FAILED at 1.
1 out of 1 hunk FAILED -- saving rejects to file FFdecsa/parallel_128_2long.h.rej
The next patch would create the file FFdecsa/parallel_128_2mmx.h,
which already exists! Assume -R? [n] r
Apply anyway? [n] y
patching file FFdecsa/parallel_128_2mmx.h
Patch attempted to create file FFdecsa/parallel_128_2mmx.h, which already exists.
Hunk #1 FAILED at 1.
1 out of 1 hunk FAILED -- saving rejects to file FFdecsa/parallel_128_2mmx.h.rej
The next patch would create the file FFdecsa/parallel_128_4int.h,
which already exists! Assume -R? [n] r
Apply anyway? [n] y
patching file FFdecsa/parallel_128_4int.h
Patch attempted to create file FFdecsa/parallel_128_4int.h, which already exists.
Hunk #1 FAILED at 1.
1 out of 1 hunk FAILED -- saving rejects to file FFdecsa/parallel_128_4int.h.rej
The next patch would create the file FFdecsa/parallel_128_sse.h,
which already exists! Assume -R? [n] r
Apply anyway? [n] y
patching file FFdecsa/parallel_128_sse.h
Patch attempted to create file FFdecsa/parallel_128_sse.h, which already exists.
Hunk #1 FAILED at 1.
1 out of 1 hunk FAILED -- saving rejects to file FFdecsa/parallel_128_sse.h.rej
The next patch would create the file FFdecsa/parallel_generic.h,
which already exists! Assume -R? [n] r
Apply anyway? [n] y
patching file FFdecsa/parallel_generic.h
Patch attempted to create file FFdecsa/parallel_generic.h, which already exists.
Hunk #1 FAILED at 1.
1 out of 1 hunk FAILED -- saving rejects to file FFdecsa/parallel_generic.h.rej
The next patch would create the file FFdecsa/parallel_std_def.h,
which already exists! Assume -R? [n] r
Apply anyway? [n] y
patching file FFdecsa/parallel_std_def.h
Patch attempted to create file FFdecsa/parallel_std_def.h, which already exists.
Hunk #1 FAILED at 1.
1 out of 1 hunk FAILED -- saving rejects to file FFdecsa/parallel_std_def.h.rej
The next patch would create the file FFdecsa/stream.c,
which already exists! Assume -R? [n] r
Apply anyway? [n] y
patching file FFdecsa/stream.c
Patch attempted to create file FFdecsa/stream.c, which already exists.
Hunk #1 FAILED at 1.
1 out of 1 hunk FAILED -- saving rejects to file FFdecsa/stream.c.rej
patching file Makefile
Hunk #1 FAILED at 89.
Hunk #2 FAILED at 122.
Hunk #3 succeeded at 153 with fuzz 2 (offset -19 lines).
Hunk #4 FAILED at 231.
3 out of 4 hunks FAILED -- saving rejects to file Makefile.rej
The next patch would create the file README.FFdecsa,
which already exists! Assume -R? [n] r
Apply anyway? [n] y
patching file README.FFdecsa
Patch attempted to create file README.FFdecsa, which already exists.
Hunk #1 FAILED at 1.
1 out of 1 hunk FAILED -- saving rejects to file README.FFdecsa.rej
The next patch would create the file csa.c,
which already exists! Assume -R? [n] r
Apply anyway? [n] y
patching file csa.c
Patch attempted to create file csa.c, which already exists.
Hunk #1 FAILED at 1.
1 out of 1 hunk FAILED -- saving rejects to file csa.c.rej
The next patch would create the file csa.h,
which already exists! Assume -R? [n] r
Apply anyway? [n] y
patching file csa.h
Patch attempted to create file csa.h, which already exists.
Hunk #1 FAILED at 1.
1 out of 1 hunk FAILED -- saving rejects to file csa.h.rej
patching file device.c
Reversed (or previously applied) patch detected! Assume -R? [n] r
Apply anyway? [n] y
Hunk #1 FAILED at 250.
Hunk #2 FAILED at 265.
Hunk #3 succeeded at 1506 with fuzz 1 (offset 289 lines).
Hunk #4 FAILED at 1630.
Hunk #5 FAILED at 1695.
4 out of 5 hunks FAILED -- saving rejects to file device.c.rej
patching file device.h
Hunk #1 succeeded at 98 with fuzz 2 (offset 7 lines).
Hunk #2 FAILED at 516.
Hunk #3 FAILED at 549.
Hunk #4 FAILED at 565.
3 out of 4 hunks FAILED -- saving rejects to file device.h.rej


bruno@Bruno-Linux:~/Área de Trabalho/vdr-1.6.0$ sudo dpkg-reconfigure locales
Generating locales...
en_AU.UTF-8...
up-to-date
en_BW.UTF-8... up-to-date
en_CA.UTF-8... up-to-date
en_DK.UTF-8... up-to-date
en_GB.UTF-8... up-to-date
en_HK.UTF-8... up-to-date
en_IE.UTF-8... up-to-date
en_IN.UTF-8... up-to-date
en_NZ.UTF-8... up-to-date
en_PH.UTF-8... up-to-date
en_SG.UTF-8... up-to-date
en_US.UTF-8... up-to-date
en_ZA.UTF-8... up-to-date
en_ZW.UTF-8... up-to-date
pt_BR.UTF-8... up-to-date
pt_PT.ISO-8859-15... up-to-date
pt_PT.UTF-8... up-to-date
Generation complete.


bruno@Bruno-Linux:~/Área de Trabalho/vdr-1.6.0$ locale
LANG=pt_PT.UTF-8
LC_CTYPE="pt_PT.UTF-8"
LC_NUMERIC="pt_PT.UTF-8"
LC_TIME="pt_PT.UTF-8"
LC_COLLATE="pt_PT.UTF-8"
LC_MONETARY="pt_PT.UTF-8"
LC_MESSAGES="pt_PT.UTF-8"
LC_PAPER="pt_PT.UTF-8"
LC_NAME="pt_PT.UTF-8"
LC_ADDRESS="pt_PT.UTF-8"
LC_TELEPHONE="pt_PT.UTF-8"
LC_MEASUREMENT="pt_PT.UTF-8"
LC_IDENTIFICATION="pt_PT.UTF-8"
LC_ALL=


Na qual eu não entendo o que quer dizer o seguinte: * Reiniciar o X e estará em iso8859-15 agora...


Mas o maior problema vem a seguir:

Aqui: bruno@Bruno-Linux:~/Área de Trabalho/vdr-1.6.0$ sudo vdr --lib=/usr/lib/vdr --config=/etc/vdr --video=/var/spool/video --epgfile=/var/spool/epg -Psc -P'softdevice -vo xv:'
sudo: vdr: command not found
 
Última edição:

sempre

GF Prata
Entrou
Set 23, 2006
Mensagens
242
Gostos Recebidos
0
Volto a repetir:

A versão 1.6.0 não necessita de nenhum patch para funcionar com o "SC".

Estás a tentar pôr o patch "vdr-1.4.0-ffdecsa-0.1.3.diff" o qual a versão 1.6.0 do VDR não necessita!

Só precisas do VDR 1.6.0.
A nível de plugins necessitas de:
SC ( Uma versão recente... )
SOFTDEVICE ( tens que correr o comando ./configure e ver se não falta nada.)

e depois só:
make vdr; make plugins; make install

Eu uso este script de arranque para o VDR:

cd /usr/local/bin
export LANG=en_US.iso88591
./vdr \
--no-kbd \
--lirc=/dev/lircd \
--lib=/usr/local/src/vdr/PLUGINS/lib \
-P "sc" \
-P "dxr3" \ ( Porque tenho uma placa DXR3 )
-P "rotor" ( Porque tenho antena motorizada )

No teu caso tens que acrescentar:
-P "softdevice -vo XXX:YYY -ao XXX:YYY" (XXX e YYY variam conforme o teu sistema... RTFM).
 

MrBouli

GF Bronze
Membro Inactivo
Entrou
Jan 23, 2007
Mensagens
16
Gostos Recebidos
0
Obrigado pela tua paciência amigo....

Sou novato em linux... e ando para aqui um bocado à nora...

Quando faço o ./configure... dá-me o seguinte:

bruno@Bruno-Linux:~/Área de Trabalho/vdr-1.6.0$ ./configure
bash: ./configure: Ficheiro ou directoria inexistente


Explica-me então só uma coisa...

Como posso vizualizar o meu XXX e YYY?

Abraço

Volto a repetir:

A versão 1.6.0 não necessita de nenhum patch para funcionar com o "SC".

Estás a tentar pôr o patch "vdr-1.4.0-ffdecsa-0.1.3.diff" o qual a versão 1.6.0 do VDR não necessita!

Só precisas do VDR 1.6.0.
A nível de plugins necessitas de:
SC ( Uma versão recente... )
SOFTDEVICE ( tens que correr o comando ./configure e ver se não falta nada.)

e depois só:
make vdr; make plugins; make install

Eu uso este script de arranque para o VDR:

cd /usr/local/bin
export LANG=en_US.iso88591
./vdr \
--no-kbd \
--lirc=/dev/lircd \
--lib=/usr/local/src/vdr/PLUGINS/lib \
-P "sc" \
-P "dxr3" \ ( Porque tenho uma placa DXR3 )
-P "rotor" ( Porque tenho antena motorizada )

No teu caso tens que acrescentar:
-P "softdevice -vo XXX:YYY -ao XXX:YYY" (XXX e YYY variam conforme o teu sistema... RTFM).
 
Última edição:

MrBouli

GF Bronze
Membro Inactivo
Entrou
Jan 23, 2007
Mensagens
16
Gostos Recebidos
0
Já consegui fazer o ./configure....

bruno@Bruno-Linux:~/Área de Trabalho/vdr-1.6.0/PLUGINS/src/softdevice$ ./configure
Testing system and cpu type... found Linux on i386 cpu.
Checking for pkg-config... Found.
Checking for ffmpeg... Not found.
No usable ffmpeg library found in /usr/local/include/ffmpeg.
Specify the path to your ffmpeg installation using --with-ffmpeg-path
or use a more recent (svn) version of ffmpeg and use/install pkg-config.
For details check config.log.
 

sempre

GF Prata
Entrou
Set 23, 2006
Mensagens
242
Gostos Recebidos
0
No file "README" do softdevice tens lá o que pedes:

Commandline arguments:
----------------------
Complete list of suitable options is available when vdr is called with
option "-h" for help. Subarguments of each output method can be combined.

-vo METHOD{:SUBARGUMENTS}
Specify desired output method. Possible values:
dfb Output via DirectFB.
Available subarguments:
mgatv TV-out for Martoy cards.
viatv TV-out for other cards (from Via, ??).
cle266 Enable Via hardware decoding support.
triple Use triple buffering for output.

dummy Use a dummy device for video out.

fb Output via framebuffer.

shm Output via shared memory. You'll need a special client
ShmClient for video viewing.

vidix Output via vidix.

xv Output via X11-Xv.
Available subarguments:
full Startup in fullscreen mode.
max-area Use maximum available area for video source.
use-defaults Reset video out options to default values found
at startup. Usually we use those values from
previous run.
aspect=wide Startup with an initial aspect ratio of 16:9.
Video window size will be 1024x576.
aspect=normal Startup with an initial aspect ratio of 4:3.
Video window size will be 768x576.

-ao METHOD{:SUBARGUMENTS}
Specify desired output method. Possible values:
dummy no output at all.
alsa normal audio output via alsa
Availavble subarguments:
mixer Use alsa mixer for volume control. By default,
volume control is done via software scaling.

Devicename subarguments must be terminated by '#'.

pcm=DEVICE Device name for audio PCM out.
ac3=DEVICE Device name for AC3 pass through.

Example:
-ao alsa:mixer:pcm=default#ac3=hw:0,2#

Vai tentando as várias opções até haver uma que funcione;)
 

sempre

GF Prata
Entrou
Set 23, 2006
Mensagens
242
Gostos Recebidos
0
Já consegui fazer o ./configure....

bruno@Bruno-Linux:~/Área de Trabalho/vdr-1.6.0/PLUGINS/src/softdevice$ ./configure
Testing system and cpu type... found Linux on i386 cpu.
Checking for pkg-config... Found.
Checking for ffmpeg... Not found.
No usable ffmpeg library found in /usr/local/include/ffmpeg.
Specify the path to your ffmpeg installation using --with-ffmpeg-path
or use a more recent (svn) version of ffmpeg and use/install pkg-config.
For details check config.log.

*** Tens que ter instalado o ffmpeg! ***

Eu não conheço bem o ubuntu. Uso o Fedora!
Mas mesmo o ubuntu deve ter alguma coisa para instalar "pacotes" via net!
 

MrBouli

GF Bronze
Membro Inactivo
Entrou
Jan 23, 2007
Mensagens
16
Gostos Recebidos
0
Olá mais uma vez....

O processo é de veras complicado...

Pensei que fosse seguir o manual a direito e já estava...

Tenho estado a ler... e a reler as coisas.... e estou um bocado bloqueado...

Pergunto-te eu... e lógicamente sem querer abusar da tua paciência... tendo em conta todos os passos que te descrevi até agora... qual o passo que devo dar a seguir...
Tu aqui dizes-me para testar as várias opções... como o posso fazer?
Eu sei que estou provavelmente a fazer perguntas de ignorante... mas em linux não sei mais...
No poste a trás deixo também um erro ( Penso eu )... como o devo resolver?

Abraço

No file "README" do softdevice tens lá o que pedes:

Commandline arguments:
----------------------
Complete list of suitable options is available when vdr is called with
option "-h" for help. Subarguments of each output method can be combined.

-vo METHOD{:SUBARGUMENTS}
Specify desired output method. Possible values:
dfb Output via DirectFB.
Available subarguments:
mgatv TV-out for Martoy cards.
viatv TV-out for other cards (from Via, ??).
cle266 Enable Via hardware decoding support.
triple Use triple buffering for output.

dummy Use a dummy device for video out.

fb Output via framebuffer.

shm Output via shared memory. You'll need a special client
ShmClient for video viewing.

vidix Output via vidix.

xv Output via X11-Xv.
Available subarguments:
full Startup in fullscreen mode.
max-area Use maximum available area for video source.
use-defaults Reset video out options to default values found
at startup. Usually we use those values from
previous run.
aspect=wide Startup with an initial aspect ratio of 16:9.
Video window size will be 1024x576.
aspect=normal Startup with an initial aspect ratio of 4:3.
Video window size will be 768x576.

-ao METHOD{:SUBARGUMENTS}
Specify desired output method. Possible values:
dummy no output at all.
alsa normal audio output via alsa
Availavble subarguments:
mixer Use alsa mixer for volume control. By default,
volume control is done via software scaling.

Devicename subarguments must be terminated by '#'.

pcm=DEVICE Device name for audio PCM out.
ac3=DEVICE Device name for AC3 pass through.

Example:
-ao alsa:mixer:pcm=default#ac3=hw:0,2#

Vai tentando as várias opções até haver uma que funcione;)
 

joaortnt

GF Ouro
Entrou
Mai 20, 2007
Mensagens
885
Gostos Recebidos
0
sudo apt-get build-dep ffmpeg
*
depois segue o Guia : h*tp://www.guiaubuntupt.org/wiki/index.php?title=Ffmpeg
Faz isto na consola e continua a seguir o Guia da ss2

Dá o feedback depois :espi28:
 
Última edição:

MrBouli

GF Bronze
Membro Inactivo
Entrou
Jan 23, 2007
Mensagens
16
Gostos Recebidos
0
sudo apt-get build-dep ffmpeg
*
depois segue o Guia : h*tp://www.guiaubuntupt.org/wiki/index.php?title=Ffmpeg
Faz isto na consola e continua a seguir o Guia da ss2

Dá o feedback depois :espi28:


Obrigado meu amigo...

Já obtive mais alguns progressos....

Consegui chegar até ao seguinte problema:

bruno@Bruno-Linux:~/Área de Trabalho/ffmpeg-0.cvs20070307$ ./configure --enable-gpl --enable-pp --enable-zlib --enable-vorbis \
> --enable-libogg --enable-theora --enable-a52 --enable-dts \
> --enable-dc1394 --enable-libgsm --disable-debug --enable-mp3lame \
> --enable-faad --enable-faac --enable-xvid
Unknown option "--enable-vorbis".
See ./configure --help for available options.
 

MrBouli

GF Bronze
Membro Inactivo
Entrou
Jan 23, 2007
Mensagens
16
Gostos Recebidos
0
Boas pessoal...

Contornei um problema surge no mesmo passo de outra forma... cá vai:

bruno@Bruno-Linux:~/Área de Trabalho/ffmpeg-0.cvs20070307$ ./configure --enable-gpl --enable-pp --enable-zlib --enable-libvorbis --enable-libogg --enable-libtheora --enable-liba52 --enable-libdts --enable-dc1394 --enable-libgsm --disable-debug --enable-libmp3lame --enable-libfaad --enable-libfaac --enable-xvid
FAAD test failed.
If you think configure made a mistake, make sure you are using the latest
version from SVN. If the latest version fails, report the problem to the
[email protected] mailing list or IRC #ffmpeg on irc.freenode.net.
Include the log file "config.err" produced by configure as this will help
solving the problem.
bruno@Bruno-Linux:~/Área de Trabalho/ffmpeg-0.cvs20070307$
 

MrBouli

GF Bronze
Membro Inactivo
Entrou
Jan 23, 2007
Mensagens
16
Gostos Recebidos
0
Boas pessoal... nínguem consegue aqui dar-me uma ajuda??

Não consigo entender o erro.... e tenho receio de avançar sem resolver este ponto.

Abraço
 

joaortnt

GF Ouro
Entrou
Mai 20, 2007
Mensagens
885
Gostos Recebidos
0
MrBouli Lamento não te poder responder, o entendido em linux nesta matéria é o Gforum Expert SEMPRE, tens de aguardar que ele te responda. eu em linux sei apenas o básico amigo.. não domino Linux. Domino sim sistemas em Windows, se fosse esse o caso, era bem diferente... :espi28:
 

sempre

GF Prata
Entrou
Set 23, 2006
Mensagens
242
Gostos Recebidos
0
No ffmpeg faz apenas "./configure --prefix=/usr/local" sem mais nada!
A seguir,se não der erro, "make" e depois "make install".
Fácil:espi28:
 

avilaverde

GF Bronze
Membro Inactivo
Entrou
Out 11, 2006
Mensagens
15
Gostos Recebidos
0
boas
estou a seguir o manual mas na parte final ( penso que é quando se instala o vdr) dá-me o seguinte erro

avilaverde@carolina:~/Desktop/vdr-1.6.0$ sudo cp -fv ./vdr /usr/local/bin/
[sudo] password for avilaverde:
cp: não é possível executar stat `./vdr': Ficheiro ou directoria inexistente
avilaverde@carolina:~/Desktop/vdr-1.6.0$ sudo make install
make: *** No rule to make target `csa.h', needed by `audio.o'. Stop.

alguém pode dizer o que se passa??
obrigado
 

MrBouli

GF Bronze
Membro Inactivo
Entrou
Jan 23, 2007
Mensagens
16
Gostos Recebidos
0
No ffmpeg faz apenas "./configure --prefix=/usr/local" sem mais nada!
A seguir,se não der erro, "make" e depois "make install".
Fácil:espi28:

Antes de mais muito obrigado amigo sempre e ao João tb.

Segui o processo como dizes sempre... e cá está

bruno@Bruno-Linux:~/Área de Trabalho/ffmpeg-0.cvs20070307$ ./configure --prefix=/usr/local

Ainstall prefix /usr/local
source path /home/bruno/Área de Trabalho/ffmpeg-0.cvs20070307
C compiler gcc
make make
.align is power-of-two no
ARCH x86_32 (generic)
big-endian no
MMX enabled yes
CMOV enabled no
CMOV is fast no
gprof enabled no
debug symbols yes
strip symbols yes
optimize yes
static yes
shared no
postprocessing support no
software scaler enabled no
video hooking yes
Imlib2 support yes
FreeType support yes
network support yes
IPv6 support yes
threading support no
SDL support yes
Sun medialib support no
AVISynth enabled no
liba52 support no
liba52 dlopened no
libdts support no
libfaac enabled no
libfaad enabled no
faadbin enabled no
libgsm enabled no
libmp3lame enabled no
libnut enabled no
libogg enabled no
libtheora enabled no
libvorbis enabled no
x264 enabled no
XviD enabled no
zlib enabled yes
AMR-NB float support no
AMR-NB fixed support no
AMR-WB float support no
AMR-WB IF2 support no
License: LGPL
Creating config.mak and config.h...

de seguida fiz o make... e tudo ok....

Quando passo para o make install é que surgem novos problemas...

bruno@Bruno-Linux:~/Área de Trabalho/ffmpeg-0.cvs20070307$ make install
make -C vhook install
make[1]: Entering directory `/home/bruno/Área de Trabalho/ffmpeg-0.cvs20070307/vhook'
install -d "/usr/local/lib/vhook"
install -m 755 null.so fish.so ppm.so watermark.so imlib2.so drawtext.so "/usr/local/lib/vhook"
install: não é possível remover `/usr/local/lib/vhook/null.so': Permissão negada
install: não é possível remover `/usr/local/lib/vhook/fish.so': Permissão negada
install: não é possível remover `/usr/local/lib/vhook/ppm.so': Permissão negada
install: não é possível remover `/usr/local/lib/vhook/watermark.so': Permissão negada
install: não é possível criar o ficheiro regular `/usr/local/lib/vhook/imlib2.so': Permissão negada
install: não é possível criar o ficheiro regular `/usr/local/lib/vhook/drawtext.so': Permissão negada
make[1]: *** [install] Error 1
make[1]: Leaving directory `/home/bruno/Área de Trabalho/ffmpeg-0.cvs20070307/vhook'
make: *** [install-vhook] Error 2
 

sempre

GF Prata
Entrou
Set 23, 2006
Mensagens
242
Gostos Recebidos
0
Tudo leva a crer tratar-se de um problema de permissões... hehehe.

Como disse não conheço o ubuntu mas pelo que tenho visto tenta dar o mesmo comando mas ponto "sudo" antes. Ou seja "sudo make install" ou algo do género.

sudo = "Super User do!" ou faz algo com permissões de super utilizador.
 

avilaverde

GF Bronze
Membro Inactivo
Entrou
Out 11, 2006
Mensagens
15
Gostos Recebidos
0
boas
eu fiz
:~/ffmpeg-0.cvs20070307$ sudo make install
e não problemas.


Antes de mais muito obrigado amigo sempre e ao João tb.

Segui o processo como dizes sempre... e cá está

bruno@Bruno-Linux:~/Área de Trabalho/ffmpeg-0.cvs20070307$ ./configure --prefix=/usr/local

Ainstall prefix /usr/local
source path /home/bruno/Área de Trabalho/ffmpeg-0.cvs20070307
C compiler gcc
make make
.align is power-of-two no
ARCH x86_32 (generic)
big-endian no
MMX enabled yes
CMOV enabled no
CMOV is fast no
gprof enabled no
debug symbols yes
strip symbols yes
optimize yes
static yes
shared no
postprocessing support no
software scaler enabled no
video hooking yes
Imlib2 support yes
FreeType support yes
network support yes
IPv6 support yes
threading support no
SDL support yes
Sun medialib support no
AVISynth enabled no
liba52 support no
liba52 dlopened no
libdts support no
libfaac enabled no
libfaad enabled no
faadbin enabled no
libgsm enabled no
libmp3lame enabled no
libnut enabled no
libogg enabled no
libtheora enabled no
libvorbis enabled no
x264 enabled no
XviD enabled no
zlib enabled yes
AMR-NB float support no
AMR-NB fixed support no
AMR-WB float support no
AMR-WB IF2 support no
License: LGPL
Creating config.mak and config.h...

de seguida fiz o make... e tudo ok....

Quando passo para o make install é que surgem novos problemas...

bruno@Bruno-Linux:~/Área de Trabalho/ffmpeg-0.cvs20070307$ make install
make -C vhook install
make[1]: Entering directory `/home/bruno/Área de Trabalho/ffmpeg-0.cvs20070307/vhook'
install -d "/usr/local/lib/vhook"
install -m 755 null.so fish.so ppm.so watermark.so imlib2.so drawtext.so "/usr/local/lib/vhook"
install: não é possível remover `/usr/local/lib/vhook/null.so': Permissão negada
install: não é possível remover `/usr/local/lib/vhook/fish.so': Permissão negada
install: não é possível remover `/usr/local/lib/vhook/ppm.so': Permissão negada
install: não é possível remover `/usr/local/lib/vhook/watermark.so': Permissão negada
install: não é possível criar o ficheiro regular `/usr/local/lib/vhook/imlib2.so': Permissão negada
install: não é possível criar o ficheiro regular `/usr/local/lib/vhook/drawtext.so': Permissão negada
make[1]: *** [install] Error 1
make[1]: Leaving directory `/home/bruno/Área de Trabalho/ffmpeg-0.cvs20070307/vhook'
make: *** [install-vhook] Error 2
 

MrBouli

GF Bronze
Membro Inactivo
Entrou
Jan 23, 2007
Mensagens
16
Gostos Recebidos
0
Done....

Thk's

bruno@Bruno-Linux:~/Área de Trabalho/ffmpeg-0.cvs20070307$ sudo make install
[sudo] password for bruno:
make -C vhook install
make[1]: Entering directory `/home/bruno/Área de Trabalho/ffmpeg-0.cvs20070307/vhook'
install -d "/usr/local/lib/vhook"
install -m 755 null.so fish.so ppm.so watermark.so imlib2.so drawtext.so "/usr/local/lib/vhook"
make[1]: Leaving directory `/home/bruno/Área de Trabalho/ffmpeg-0.cvs20070307/vhook'
install -d "/usr/local/man/man1"
install -m 644 doc/ffmpeg.1 doc/ffplay.1 doc/ffserver.1 "/usr/local/man/man1"
make -C libavutil all
make[1]: Entering directory `/home/bruno/Área de Trabalho/ffmpeg-0.cvs20070307/libavutil'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/bruno/Área de Trabalho/ffmpeg-0.cvs20070307/libavutil'
make -C libavcodec all
make[1]: Entering directory `/home/bruno/Área de Trabalho/ffmpeg-0.cvs20070307/libavcodec'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/bruno/Área de Trabalho/ffmpeg-0.cvs20070307/libavcodec'
make -C libavformat all
make[1]: Entering directory `/home/bruno/Área de Trabalho/ffmpeg-0.cvs20070307/libavformat'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/bruno/Área de Trabalho/ffmpeg-0.cvs20070307/libavformat'
install -d "/usr/local/bin"
install -c -m 755 ffmpeg ffplay ffserver "/usr/local/bin"
make -C libavutil install-libs
make[1]: Entering directory `/home/bruno/Área de Trabalho/ffmpeg-0.cvs20070307/libavutil'
install -d "/usr/local/lib"
install -m 644 libavutil.a "/usr/local/lib"
ranlib "/usr/local/lib/libavutil.a"
make[1]: Leaving directory `/home/bruno/Área de Trabalho/ffmpeg-0.cvs20070307/libavutil'
make -C libavcodec install-libs
make[1]: Entering directory `/home/bruno/Área de Trabalho/ffmpeg-0.cvs20070307/libavcodec'
install -d "/usr/local/lib"
install -m 644 libavcodec.a "/usr/local/lib"
ranlib "/usr/local/lib/libavcodec.a"
make[1]: Leaving directory `/home/bruno/Área de Trabalho/ffmpeg-0.cvs20070307/libavcodec'
make -C libavformat install-libs
make[1]: Entering directory `/home/bruno/Área de Trabalho/ffmpeg-0.cvs20070307/libavformat'
install -d "/usr/local/lib"
install -m 644 libavformat.a "/usr/local/lib"
ranlib "/usr/local/lib/libavformat.a"
make[1]: Leaving directory `/home/bruno/Área de Trabalho/ffmpeg-0.cvs20070307/libavformat'
make -C libavutil install-headers
make[1]: Entering directory `/home/bruno/Área de Trabalho/ffmpeg-0.cvs20070307/libavutil'
install -d "/usr/local/include/ffmpeg"
install -d "/usr/local/lib/pkgconfig"
install -m 644 "/home/bruno/Área de Trabalho/ffmpeg-0.cvs20070307/libavutil"/avutil.h "/home/bruno/Área de Trabalho/ffmpeg-0.cvs20070307/libavutil"/common.h "/home/bruno/Área de Trabalho/ffmpeg-0.cvs20070307/libavutil"/mathematics.h "/home/bruno/Área de Trabalho/ffmpeg-0.cvs20070307/libavutil"/integer.h "/home/bruno/Área de Trabalho/ffmpeg-0.cvs20070307/libavutil"/rational.h "/home/bruno/Área de Trabalho/ffmpeg-0.cvs20070307/libavutil"/intfloat_readwrite.h "/home/bruno/Área de Trabalho/ffmpeg-0.cvs20070307/libavutil"/md5.h "/home/bruno/Área de Trabalho/ffmpeg-0.cvs20070307/libavutil"/adler32.h "/home/bruno/Área de Trabalho/ffmpeg-0.cvs20070307/libavutil"/log.h "/home/bruno/Área de Trabalho/ffmpeg-0.cvs20070307/libavutil"/fifo.h "/home/bruno/Área de Trabalho/ffmpeg-0.cvs20070307/libavutil"/lzo.h "/home/bruno/Área de Trabalho/ffmpeg-0.cvs20070307/libavutil"/random.h "/usr/local/include/ffmpeg"
install -m 644 "/home/bruno/Área de Trabalho/ffmpeg-0.cvs20070307"/libavutil.pc "/usr/local/lib/pkgconfig"
make[1]: Leaving directory `/home/bruno/Área de Trabalho/ffmpeg-0.cvs20070307/libavutil'
make -C libavcodec install-headers
make[1]: Entering directory `/home/bruno/Área de Trabalho/ffmpeg-0.cvs20070307/libavcodec'
install -d "/usr/local/include/ffmpeg"
install -d "/usr/local/lib/pkgconfig"
install -m 644 "/home/bruno/Área de Trabalho/ffmpeg-0.cvs20070307/libavcodec"/avcodec.h "/home/bruno/Área de Trabalho/ffmpeg-0.cvs20070307/libavcodec"/opt.h "/usr/local/include/ffmpeg"
install -m 644 "/home/bruno/Área de Trabalho/ffmpeg-0.cvs20070307"/libavcodec.pc "/usr/local/lib/pkgconfig"
make[1]: Leaving directory `/home/bruno/Área de Trabalho/ffmpeg-0.cvs20070307/libavcodec'
make -C libavformat install-headers
make[1]: Entering directory `/home/bruno/Área de Trabalho/ffmpeg-0.cvs20070307/libavformat'
install -d "/usr/local/include/ffmpeg"
install -d "/usr/local/lib/pkgconfig"
install -m 644 "/home/bruno/Área de Trabalho/ffmpeg-0.cvs20070307/libavformat"/avformat.h "/home/bruno/Área de Trabalho/ffmpeg-0.cvs20070307/libavformat"/avio.h "/home/bruno/Área de Trabalho/ffmpeg-0.cvs20070307/libavformat"/rtp.h "/home/bruno/Área de Trabalho/ffmpeg-0.cvs20070307/libavformat"/rtsp.h "/home/bruno/Área de Trabalho/ffmpeg-0.cvs20070307/libavformat"/rtspcodes.h "/usr/local/include/ffmpeg"
install -m 644 "/home/bruno/Área de Trabalho/ffmpeg-0.cvs20070307"/libavformat.pc "/usr/local/lib/pkgconfig"
make[1]: Leaving directory `/home/bruno/Área de Trabalho/ffmpeg-0.cvs20070307/libavformat'
make -C libswscale install-headers
make[1]: Entering directory `/home/bruno/Área de Trabalho/ffmpeg-0.cvs20070307/libswscale'
install -d "/usr/local/include/ffmpeg"
install -d "/usr/local/lib/pkgconfig"
install -m 644 "/home/bruno/Área de Trabalho/ffmpeg-0.cvs20070307/libswscale"/swscale.h "/home/bruno/Área de Trabalho/ffmpeg-0.cvs20070307/libswscale"/rgb2rgb.h "/usr/local/include/ffmpeg"
install -m 644 "/home/bruno/Área de Trabalho/ffmpeg-0.cvs20070307"/libswscale.pc "/usr/local/lib/pkgconfig"
make[1]: Leaving directory `/home/bruno/Área de Trabalho/ffmpeg-0.cvs20070307/libswscale'
 

MrBouli

GF Bronze
Membro Inactivo
Entrou
Jan 23, 2007
Mensagens
16
Gostos Recebidos
0
Agora vem a pergunta mais parva de todas....

Como começar a usar isto agora??

Abraço
 

avilaverde

GF Bronze
Membro Inactivo
Entrou
Out 11, 2006
Mensagens
15
Gostos Recebidos
0
MrBouli
não tiveste problemas no "make install" do vdr?
é dos últimos passos! e eu não consigo passar esse.
 

MrBouli

GF Bronze
Membro Inactivo
Entrou
Jan 23, 2007
Mensagens
16
Gostos Recebidos
0
MrBouli
não tiveste problemas no "make install" do vdr?
é dos últimos passos! e eu não consigo passar esse.

Boas amigo...

Pelo que entendi o problema que tu estas a ter eu tb ja o tive...

Acho que nesta versão do VDR não se faz essa parte...

Já não me recordo a 100%...
 

avilaverde

GF Bronze
Membro Inactivo
Entrou
Out 11, 2006
Mensagens
15
Gostos Recebidos
0
Boas amigo...

Pelo que entendi o problema que tu estas a ter eu tb ja o tive...

Acho que nesta versão do VDR não se faz essa parte...

Já não me recordo a 100%...

hummm
então esta-mos na mesma situação.
como se coloca esta "coisa" a funcionar?!!!
 

sempre

GF Prata
Entrou
Set 23, 2006
Mensagens
242
Gostos Recebidos
0
Aos dois, vamos por partes!

Já têm o ffmpeg!
Dentro de "....vdr-1.6.0/PLUGINS/src/softdevice" já fizeram "./configure" e não deu erros!
Dentro de "....vdr-1.6.0" já fizeram "make plugins" e não deu erros!
Dentro de "....vdr-1.6.0" já fizeram "make vdr" e não deu erros!

Agora é só fazer dentro de "....vdr-1.6.0" "make install" deve dar uns erros ou avisos de que as libs dos plugins têm a mesma versão ou algo do género mas passem por cima!

É só verificar que têm os ficheiros "vdr","runvdr" e um outro que não me lembro o nome.... em "/usr/local/bin". ( é só fazer "ls /usr/local/bin" e ver o que retorna! )

Quando chegarem até este ponto digam, porque ainda não está tudo... hehehe:shy_4_02:
 
Topo