Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
mplayer : Не могу открыть демуксер
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Russian
View previous topic :: View next topic  
Author Message
bobdva
Apprentice
Apprentice


Joined: 25 Nov 2003
Posts: 207
Location: Moscow

PostPosted: Sat Oct 28, 2006 5:18 pm    Post subject: mplayer : Не могу открыть демуксер Reply with quote

Пытаюсь записать с tv (tvtime работает с теле нормально)

Code:

#!/bin/bash
#
# usage: ./spbrec.sh
#
# for example, ./spbrec.sh 15 120
#
CH=$1
if [ "$1" = "" ] ; then
echo "Please give number of channel";
exit
fi
case $CH in
1) FREQ=49.75;; #ОРТ
2) FREQ=191.25;; #Россия
3) FREQ=77.25;; #ТРК Петербург
4) FREQ=175.25;; #СТС
5) FREQ=215.25;; #ТНТ
6) FREQ=567.25;; #НТВ
7) FREQ=623.25;; #REN-TV
8 ) FREQ=519.25;; #ТВ-3
9) FREQ=535.25;; #Культура
10) FREQ=551.25;; #СТО
11) FREQ=479.25;; #Rambler-NBN
12) FREQ=695.25;; #OTB
13) FREQ=591.25;; #Домашний
14) FREQ=607.25;; #Муз-ТВ
15) FREQ=647.25;; #Спорт
16) FREQ=503.25;; #7TB
17) FREQ=711.25;; #MTV
esac
if [ "$2" = "" ] ; then
echo "Please give recording time in minutes!";
echo "60 min will be used by default.";
TIME=60
#exit
else
TIME=$2
TIME=$[TIME*60]
fi
#record from line-in, not mic
aumix -l R -m P
aumix -l 0
mencoder -tv driver=v4l2:normid=5:audiorate=44100:alsa:\
volume=100:amode=1:fps=25:freq=$FREQ \
-ovc lavc -lavcopts vcodec=msmpeg4v2:vbitrate=1200 \
-oac lavc -lavcopts acodec=mp3:abitrate=96 -endpos $TIME -vf pp=lb -o record.avi tv://


при этом получается ошибка:
Code:

 $ ./tvrec.sh 1
Please give recording time in minutes!
60 min will be used by default.
MEncoder 1.0pre8-3.4.6 (C) 2000-2006 MPlayer Team
CPU: Intel(R) Pentium(R) III CPU             1200MHz (Family: 6, Model: 11, Stepping: 1)
MMX2 supported but disabled
CPUflags: Type: 6 MMX: 1 MMX2: 0 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 0
Скомпилировано для определения типа процессора во время выполнения - ПРЕДУПРЕЖДЕНИЕ - это
не оптимально! Для получения максимальной производительности, перекомпилируйте MPlayer
c --disable-runtime-cpudetection.
93 аудио & 211 видео кодеков
успех: формат: 9  данные: 0x0 - 0x0
Selected driver: v4l2
 name: Video 4 Linux 2 input
 author: Martin Olschewski <olschewski@zpr.uni-koeln.de>
 comment: first try, more to come ;-)
Selected device: Avermedia AVerTV Studio 307
 Tuner cap: STEREO LANG1 LANG2
 Tuner rxs: MONO
 Capabilites:  video capture  video overlay  VBI capture device  tuner  read/write  streaming
 supported norms: 0 = PAL; 1 = PAL-BG; 2 = PAL-I; 3 = PAL-DK; 4 = NTSC; 5 = SECAM; 6 = PAL-M; 7 = PAL-Nc; 8 = PAL-60;
 inputs: 0 = Television; 1 = Composite1; 2 = Composite2; 3 = S-Video;
 Current input: 0
 Current format: BGR24
v4l2: current audio mode is : STEREO
ALSA lib pcm_dmix.c:803:(snd_pcm_dmix_open) The dmix plugin supports only playback stream
Error opening audio: Invalid argument
ALSA lib pcm_dmix.c:803:(snd_pcm_dmix_open) The dmix plugin supports only playback stream
Error opening audio: Invalid argument
ALSA lib pcm_dmix.c:803:(snd_pcm_dmix_open) The dmix plugin supports only playback stream
Error opening audio: Invalid argument
v4l2: 0 frames successfully processed, 0 frames dropped.
======= Извините, формат этого файла не распознан/не поддерживается ==========
===== Если это AVI, ASF или MPEG поток, пожалуйста свяжитесь с автором! ======
Не могу открыть демуксер [demuxer].

Выходим...


Куда копать ?
Back to top
View user's profile Send private message
046
Apprentice
Apprentice


Joined: 21 Jul 2004
Posts: 231
Location: Yaroslavl, Russia

PostPosted: Sat Oct 28, 2006 8:00 pm    Post subject: Reply with quote

Скажи mplayer откуда музыку брать.

А то он не знает, и лезет куда-то не туда :)
Back to top
View user's profile Send private message
bobdva
Apprentice
Apprentice


Joined: 25 Nov 2003
Posts: 207
Location: Moscow

PostPosted: Sun Oct 29, 2006 5:01 am    Post subject: Reply with quote

046 wrote:
Скажи mplayer откуда музыку брать.

А то он не знает, и лезет куда-то не туда :)


т.е ? руками покажи(те)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Russian All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum