Mostrando postagens com marcador arch linux. Mostrar todas as postagens
Mostrando postagens com marcador arch linux. Mostrar todas as postagens

Consertando erro no codec h264 do vlc

No meu Arch linux depois de tentar instalar o sucessor do ffmpeg "avconv" o meu VLC parou de rodar videos mp4.

A mensagem de erro se parece com isso:

VLC does not support the audio or video format "h264"
 

A Solução veio do forum do Chakara Linux

Basta rodar este comando como root

pacman -S x264

Baixe todos os vídeos facinho - Roda Viva - JON 'MADDOG' HALL


apt-get install -y youtube-dl
youtube-dl http://www.youtube.com/watch?v=w5Eu7SiIiRQ&feature=related
youtube-dl http://www.youtube.com/watch?v=B34hU1rFo9Y&feature=related
youtube-dl http://www.youtube.com/watch?v=_LvEx5MmdAU&feature=related
youtube-dl http://www.youtube.com/watch?v=SpCkQk-diMo&feature=related
youtube-dl http://www.youtube.com/watch?v=b05cJETuFxk&feature=related
youtube-dl http://www.youtube.com/watch?v=KHqAE9uiOEM&feature=related
youtube-dl http://www.youtube.com/watch?v=bQ3VqH9j_jw&feature=related
youtube-dl http://www.youtube.com/watch?v=e9YwGnUtcjI&feature=related
youtube-dl http://www.youtube.com/watch?v=cbDsb20ZCsY&feature=related
youtube-dl http://www.youtube.com/watch?v=wX_X-Qgm-JE&feature=related
youtube-dl http://www.youtube.com/watch?v=9njdNs_ZeH4&feature=related


########################################################################
# ########## não testei assim, mas acho que dá certo: #################
########################################################################

#!/bin/bash
# Criado em:Qua 04/Nov/2009 hs 13:00
# Last Change: Qua 04/Nov/2009 hs 13:00
# vim:ft=sh:fdm=syntax:nu:
# Instituicao: <+nome+>
# Proposito do script: baixar entrevista Roda Viva - JON 'MADDOG' HALL
# Autor: Sérgio Luiz Araújo Silva
# site: http://vivaotux.blogspot.com

# se existe o youtube-dl
if which youtube-dl >/dev/null; then
youtube-dl http://www.youtube.com/watch?v=w5Eu7SiIiRQ&feature=related
youtube-dl http://www.youtube.com/watch?v=B34hU1rFo9Y&feature=related
youtube-dl http://www.youtube.com/watch?v=_LvEx5MmdAU&feature=related
youtube-dl http://www.youtube.com/watch?v=SpCkQk-diMo&feature=related
youtube-dl http://www.youtube.com/watch?v=b05cJETuFxk&feature=related
youtube-dl http://www.youtube.com/watch?v=KHqAE9uiOEM&feature=related
youtube-dl http://www.youtube.com/watch?v=bQ3VqH9j_jw&feature=related
youtube-dl http://www.youtube.com/watch?v=e9YwGnUtcjI&feature=related
youtube-dl http://www.youtube.com/watch?v=cbDsb20ZCsY&feature=related
youtube-dl http://www.youtube.com/watch?v=wX_X-Qgm-JE&feature=related
youtube-dl http://www.youtube.com/watch?v=9njdNs_ZeH4&feature=related
else
echo "instale o youtube-dl"
echo "apt-get install -y youtube-dl"
echo "e rode novamente o programa"
fi

mv w5Eu7SiIiRQ.flv 01.flv
mv B34hU1rFo9Y.flv 02.flv
mv _LvEx5MmdAU.flv 03.flv
mv SpCkQk-diMo.flv 04.flv
mv b05cJETuFxk.flv 05.flv
mv KHqAE9uiOEM.flv 06.flv
mv bQ3VqH9j_jw.flv 07.flv
mv e9YwGnUtcjI.flv 08.flv
mv cbDsb20ZCsY.flv 09.flv
mv wX_X-Qgm-JE.flv 10.flv
mv 9njdNs_ZeH4.flv 11.flv

for i in `ls *.flv`; do
ffmpeg2theora $i
done

# se estiver numa pasta exclusiva
rm -f *.flv

Boot mais rápido no arch linux

Para acelerar o processo de boot no Arch Linux você pode colocar alguns serviços para iniciarem em segundo plano.

Edite o arquivo /etc/rc.conf e coloque "@" no começo do nome dos serviços que deseja que iniciem em segundo plano.

DAEMONS=(!syslog-ng @alsa @hal @fam @samba @cups network netfs @mpd)


Dica esperta do bash: Se você deseja instalar vários pacotes que começam com o mesmo prefixo faça:

pacman -S kdemod-{applets,theme,tools}
# o comando acima instala kdemod-applets, kdemod-theme, kdemod-tools
Leia também:
...

Como estou me saindo no Arch LInux

Estou aprendendo os conceitos do Arch, o pacman é um excepcional gerenciador de pacotes e segundo o que li será em breve como o conary do Foresight Linux, ou seja, na hora de uma atualização ele não tem que baixar tudo novamente, é tipo um rsync dos pacotes instalados.

  • Muito mais rápido que o ubuntu
  • Demora mais pra deixar redondo
Leia também:

Finalmente estou atualizando o arch aqui no notebook

Arch linux recém instalado e aguradando a instalação do gnome, estou postando no note do meu primo. Só não instalei antes pois havia um infimo erro no arquivo rc.conf (depois vou postar sobre este erro).
http://archlinux.us/logo.png

linux-cookbook

Grupos do Google
Participe do grupo linux-cookbook
E-mail:
Visitar este grupo