mplayer spdif
~/Download$ mplayer -ao alsa:device=iec958 -ac hwac3 -channels 6 ac3_48khz_diatonis_soal.ac3 MPlayer dev-SVN-r29241 Playing ac3_48khz_diatonis_soal.ac3. libavformat file format detected.
[lavf] Audio stream found, -aid 0
Forced audio codec: hwac3 Opening audio decoder: [hwac3] AC3/DTS pass-through S/PDIF No accelerated IMDCT transform found hwac3: switched to AC3, 448000 bps, 48000 Hz AUDIO: 48000 Hz, 2 ch, ac3, 448.0 kbit/29.17% (ratio: 56000->192000)
Selected audio codec: [hwac3] afm: hwac3 (AC3 through S/PDIF)
[format] Sample format big-endian AC3 not yet supported Error at audio filter chain pre-init!
Exiting… (Fatal error)
dost mně irituje i tenhle řádek: AUDIO: 48000 Hz, 2 ch, ac3, 448.0 kbit/29.17% (ratio: 56000->192000), proč je tam 2channel a ne 6 channel Když to přehraji ve vlc tak to jede OK. Skoušel sem i parametr -afm ale pořád je to jen stereo a ne nedekódovaný Dolby Digital
Pre pridávanie komentárov sa musíte prihlásiť.
Distribúcia ?
Taka otazka, odkial mas ten subor s zvukom vo formate ac3?
Takze tento problem mi pripada ako dosledok vojny patentov kde standardne distribucie vyhodili podporu niektorych formatov aby neboli sudne napadnutelne koli poruseniu SW patentov. Ten roblem s formatom urcenym na telefoniu si pametame vsetci, volal sa mp3.
Skus naznacit aku mas distribuciu a aku verziu mplayeru aktualne pouzivas, urcite dostanes odpoved odkial sa da pre nu stiahnut mplayer s plnou podporou. Predpokladam ze si asi v bubuUbuntu neklikol na povolit neslobodne repozitare a nestiahol si automaticky aj najnovsi mplayer hned z internetu. Ak ho teda nechces prekompilovat ako bolo spomenute nizsie.
pozri si diskusiu, v ktorej sa popisuje pre-kompilácia Mplayeru a iné.
https://www.abclinuxu.cz/poradna/linux/show/113129
MPlayer dev-SVN-r29358CPU vendor name: AuthenticAMD max cpuid level: 1
CPU: AMD Turion(tm) 64 X2 Mobile Technology TL-58 (Family: 15, Model: 104, Stepping: 1)
extended cpuid-level: 24
extended cache-info: 33587520
Detected cache-line size is 64 bytes
Testing OS support for SSE... yes.
Tests of OS support for SSE passed.
CPUflags: MMX: 1 MMX2: 1 3DNow: 1 3DNowExt: 1 SSE: 1 SSE2: 1 SSSE3: 0
Compiled with runtime CPU detection.
get_path('codecs.conf') -> '/home/milan/.mplayer/codecs.conf'
Reading /home/milan/.mplayer/codecs.conf: Can't open '/home/milan/.mplayer/codecs.conf': No such file or directory
Reading /etc/mplayer/codecs.conf: Can't open '/etc/mplayer/codecs.conf': No such file or directory
Using built-in default codecs.conf.