Projekat

Općenito

Profil

Akcije

Podrška #19211

Zatvoren

pulseaudio, sox, rec, lame, ffmpeg

Dodano od Ernad Husremović prije oko 15 godina. Izmjenjeno prije više od 14 godina.

Status:
Zatvoreno
Prioritet:
Normalan
Odgovorna osoba:
Kategorija:
-
Početak:
25.12.2009
Završetak:
% završeno:

0%

Procjena vremena:

Fajlovi

pactl_list.txt (23,4 KB) pactl_list.txt Ernad Husremović, 25.12.2009 09:33
test.wav (848 KB) test.wav Ernad Husremović, 25.12.2009 09:34

Povezani tiketi 1 (0 otvoreno1 zatvoren)

korelira sa developer toolbox - Podrška #19372: checkinstall je super stvarka za buildanje deb paketaZatvorenoErnad Husremović11.01.2010

Akcije
Akcije #1

Izmjenjeno od Ernad Husremović prije oko 15 godina

bringout@desk-c2:~$ parec -d alsa_input.pci-0000_00_1b.0.analog-stereo | sox -t raw -r 44k -sLb 16 -c 2 - test.wav

Akcije #3

Izmjenjeno od Ernad Husremović prije oko 15 godina

bringout@desk-c2:~$ paplay test.wav

Akcije #5

Izmjenjeno od Ernad Husremović prije oko 15 godina

bringout@desk-c2:~$ padsp cat /dev/sndstat

Sound Driver:3.8.1a-980706 (PulseAudio Virtual OSS)
Kernel: POSIX
Config options: 0

Installed drivers:
Type 255: PulseAudio Virtual OSS

Card config:
PulseAudio Virtual OSS

Audio devices:
0: PulseAudio Virtual OSS

Synth devices: NOT ENABLED IN CONFIG

Midi devices:

Timers:

Mixers:
0: PulseAudio Virtual OSS

Akcije #6

Izmjenjeno od Ernad Husremović prije oko 15 godina

bringout@desk-c2:~$ sudo apt-get install alsa-oss

bringout@desk-c2:~$ cat /dev/sndstat

Sound Driver:3.8.1a-980706 (ALSA v1.0.20 emulation code)
Kernel: Linux desk-c2 2.6.31-16-generic #53-Ubuntu SMP Tue Dec 8 04:02:15 UTC 2009 x86_64
Config options: 0

Installed drivers: 
Type 10: ALSA emulation

Card config: 
HDA Intel at 0xf9ff8000 irq 22

Audio devices:
0: ALC883 Analog (DUPLEX)

Synth devices: NOT ENABLED IN CONFIG

Midi devices: NOT ENABLED IN CONFIG

Timers:
31: system timer

Mixers:
0: Realtek ALC883

Akcije #7

Izmjenjeno od Ernad Husremović prije oko 15 godina

  • Naslov promijenjeno iz pulseaudio, sox, rec u pulseaudio, sox, rec, lame
Akcije #8

Izmjenjeno od Ernad Husremović prije oko 15 godina

parec i pacat su par

bringout@desk-c2:~$ parec -d alsa_input.pci-0000_00_1b.0.analog-stereo > test.raw

bringout@desk-c2:~$ pacat test.raw

paplay ne zna raw play-ati

Akcije #9

Izmjenjeno od Ernad Husremović prije oko 15 godina

bringout@desk-c2:~$ lame -r test.raw test.mp3

Assuming raw pcm input file
LAME 3.98.2 64bits (http://www.mp3dev.org/)
Using polyphase lowpass filter, transition band: 16538 Hz - 17071 Hz
Encoding test.raw to test.mp3
Encoding as 44.1 kHz j-stereo MPEG-1 Layer III (11x) 128 kbps qval=3
    Frame          |  CPU time/estim | REAL time/estim | play/CPU |    ETA 
   177/177   (100%)|    0:00/    0:00|    0:00/    0:00|   22.017x|    0:00 
-------------------------------------------------------------------------------
   kbps        MS  %     long switch short %
  128.0      100.0        97.2   1.7   1.1
Writing LAME Tag...done
ReplayGain: +16.6dB

Akcije #10

Izmjenjeno od Ernad Husremović prije oko 15 godina

  • Naslov promijenjeno iz pulseaudio, sox, rec, lame u pulseaudio, sox, rec, lame, ffmpeg
Akcije #11

Izmjenjeno od Ernad Husremović prije oko 15 godina

Fixing FFmpeg on Ubuntu

For a litany of legal reasons, FFmpeg does not come with all of the necessary things enabled for you to encode video for the iPod Video by default. Therefore, we need to build it from source and install some other libraries and programs, as well. Make sure you have the Multiverse and Universe repositories enabled.

Akcije #12

Izmjenjeno od Ernad Husremović prije oko 15 godina

git clone git://git.ffmpeg.org/ffmpeg/
cd ffmpeg
git clone git://git.ffmpeg.org/libswscale/

git clone git://git.videolan.org/x264.git

Akcije #13

Izmjenjeno od Ernad Husremović prije oko 15 godina

HOWTO: Easily enable MP3, MPEG4, AAC, and other restricted encoding in FFmpeg

A common question is "why doesn't the repository FFmpeg convert to mp3, aac, mpeg4, etc?". Ubuntu doesn't make it very clear to the general user as to why to repo FFmpeg is so limited or how to fix this issue. This is reflected in the number of forum questions relating to this topic.

Why is FFmpeg from the repository so limited?
Legal reasons. Some software is limited due to geographical differences in software patents, legal restrictions on free speech, and restrictions on certain technologies. Ubuntu sidesteps these legal restrictions by not including some restricted packages by default. Users must install these packages on their own. See Restricted Formats Ubuntu Community Documentation and FFmpeg License and Legal Considerations for more details.

How do I fix FFmpeg?
There are several options:

A. Compile FFmpeg yourself
B. Install the unstripped or extra libraries
C. Medibuntu

Akcije #14

Izmjenjeno od Ernad Husremović prije oko 15 godina

VDPAU

VDPAU is an open source library (libvdpau) and API designed by NVIDIA originally for its GeForce 8 series and later GPU hardware12, targeted at the X Window System on Unix operating-systems (including Linux, FreeBSD, and Solaris).[3]45 This VDPAU API allows video programs to offload portions of the video decoding process and video post-processing to the GPU video-hardware.

http://cgit.freedesktop.org/~aplattner/libvdpau

Akcije #16

Izmjenjeno od Ernad Husremović prije oko 15 godina

bringout@desk-c2:~/devel/ubuntu/xvidcap/src$ pactl load-module module-pipe-sink file=/tmp/sound ??

Akcije #17

Izmjenjeno od Ernad Husremović prije oko 15 godina

sound ?

bringout@desk-c2:~/devel/ubuntu/xvidcap/src$ ffmpeg -f x11grab -s 1024x768 -r 25 -i :0.0 -f alsa -i pulse /tmp/out.mpg

Akcije #18

Izmjenjeno od Ernad Husremović prije oko 15 godina

ovaj daje odličan video, ovaj ranije vrlo loš video

ffmpeg -an -f x11grab -r 25 -s 1024x768 -i ":0.0" -vcodec mpeg4 -sameq /tmp/bla.mp4

Akcije #19

Izmjenjeno od Ernad Husremović prije oko 15 godina

ovo bi trebala biti dobitna kombinacija:

$ ffmpeg -an -f x11grab -r 25 -s 1024x768 -i ":0.0" -vcodec mpeg4 -sameq -f alsa -i pulse /tmp/bla.mp4

Akcije #20

Izmjenjeno od Ernad Husremović prije oko 15 godina

ovo je idealno:

bringout@desk-c2:~$ ffmpeg -f x11grab -s 1024x768 -r 25 -i :0.0 -vcodec mpeg4 -sameq -f alsa -i pulse /tmp/bla.mp4

ffmpeg kvalitet slike -sameq

šta mu je sameq ?

Akcije #21

Izmjenjeno od Ernad Husremović prije oko 15 godina

evo u čemu je kvaka:

-sameq - Use same video quality as source (implies VBR).

Akcije #23

Izmjenjeno od Ernad Husremović prije oko 15 godina

build ffmpeg na vostro-u

sudo apt-get install build-essential subversion git-core checkinstall yasm texi2html libfaac-dev libfaad-dev libmp3lame-dev libopencore-amrnb-dev libopencore-amrwb-dev libsdl1.2-dev libx11-dev libxfixes-dev libxvidcore4-dev zlib1g-dev

Akcije #24

Izmjenjeno od Ernad Husremović prije oko 15 godina

pulseaudio volume control

bringout@ubuntu:~$ sudo apt-get install pavucontrol

Akcije #25

Izmjenjeno od Ernad Husremović prije više od 14 godina

  • Status promijenjeno iz Dodijeljeno u Zatvoreno
Akcije

Također dostupno kao Atom PDF