Bug 11664 - does not capture tv source (man error?)
Summary: does not capture tv source (man error?)
Status: CLOSED WONTFIX
Alias: None
Product: Sisyphus
Classification: Development
Component: fftv (show other bugs)
Version: unstable
Hardware: all Linux
: P2 normal
Assignee: Vitaly Lipatov
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-04-30 21:24 MSD by Peter V. Saveliev
Modified: 2011-01-22 22:06 MSK (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Peter V. Saveliev 2007-04-30 21:24:27 MSD
по идее, он должен брать video4linux source и лить потомк в feed (согласно 
ману).

нужно или ман поменять, или поведение ffmpeg.
Steps to Reproduce:

$ ffmpeg http://localhost:8090/tv.ffm
FFmpeg SVN, Copyright (c) 2000-2007 Fabrice Bellard, et al.
You can check ffmpeg version by doing `rpm -q ffmpeg`.
All the errors with this package you should report
to ALT Linux Bugzilla (https://bugzilla.altlinux.org),
and NOT to ffmpeg authors.
  libavutil version: 49.4.0
  libavcodec version: 51.40.4
  libavformat version: 51.12.1
  built on Apr 27 2007 21:39:42, gcc: 4.1.1 20070105 (ALT Linux, build 
4.1.1-alt11)
Must supply at least one input file
Comment 1 Konstantin Pavlov 2007-04-30 21:47:24 MSD
не очень понимаю, что это за команда.

вы в ней ffmpeg'у не сообщаете ни одного input file.

данная команда: 
ffmpeg -f audio_device -i /dev/dsp -s 640x480 -f video4linux -i /dev/video0
/tmp/out.mpg

в http:// писать должен ffserver, насколько я понимаю. Ни разу не пробовал, впрочем.
Comment 2 Konstantin Pavlov 2007-04-30 21:48:07 MSD
данная команда работает, имеется в виду.
Comment 3 Peter V. Saveliev 2007-05-01 11:39:10 MSD
man ffmpeg:

EXAMPLES
       Video and Audio grabbing

       FFmpeg can use a video4linux compatible video source and any Open
       Sound System audio source:

               ffmpeg /tmp/out.mpg

       Note that you must activate the right video source and channel before
       launching ffmpeg. You can use any TV viewer such as xawtv
       (<http://bytesex.org/xawtv/>) by Gerd Knorr which I find very good.
       You must also set correctly the audio recording levels with a standard
       mixer.

есчо раз: нужно или ман поменять, или поведение ffmpeg, смотря что проще. 
Потому как и без того там документация расходится с существующим положением 
достаточно, чтобы это было заметно.
Comment 4 Konstantin Pavlov 2007-05-01 13:16:07 MSD
Покажите rpm -q ffmpeg.

У меня в 0.5.0-alt1.svn8850:

Video and Audio grabbing

       FFmpeg can grab video and audio from devices given that you specify the
input format and
       device.

       ffmpeg -f audio_device -i /dev/dsp -f video4linux2 -i /dev/video0
/tmp/out.mpg

       Note that you must activate the right video source and channel before
launching FFmpeg
       with any TV viewer such as xawtv (<http://bytesex.org/xawtv/>) by Gerd
Knorr. You also
       have to set the audio recording levels correctly with a standard mixer.
Comment 5 Peter V. Saveliev 2007-05-01 16:53:30 MSD
[peet@kelisaari peet]$ rpm -ql fftv | grep man
/usr/share/man/man1/ffmpeg.1
/usr/share/man/man1/ffplay.1
/usr/share/man/man1/ffserver.1
[peet@kelisaari peet]$ rpm -ql ffmpeg | grep man
/usr/share/man/man1/ffmpeg.1.gz
[peet@kelisaari peet]$ rpm -ql ffserver | grep man
/usr/share/man/man1/ffserver.1.gz
[peet@kelisaari peet]$ ls -l /usr/share/man/man1/ffserver.1
-rw-r--r-- 1 root root 4805 Май 29  2006 /usr/share/man/man1/ffserver.1
[peet@kelisaari peet]$ ls -l /usr/share/man/man1/ffserver.1*
-rw-r--r-- 1 root root 4805 Май 29  2006 /usr/share/man/man1/ffserver.1
-rw-r--r-- 1 root root 2149 Апр 27 21:39 /usr/share/man/man1/ffserver.1.gz


мда... Видимо, бага на fftv. То-то у меня документы не совпадают с жизнью :)
Comment 6 Peter V. Saveliev 2007-05-01 16:55:59 MSD
беда заключается в том, что при установленном fftv _и_ ffmpeg/ffserver, man 
берёт маны от fftv, которые ни разу не подходят.

возможные пути решения -- или альтернативы (на man-страницы, ffmpeg-fftv, 
ffserver-fftv) или маны переименовать (в ffmpeg-fftv, ffserver-fftv).
Comment 7 Peter V. Saveliev 2007-05-01 16:58:42 MSD
у меня не получается перенести баг на lav@ :( кто-нибудь может это сделать?
Comment 8 Konstantin Pavlov 2007-05-02 19:52:05 MSD
reassign
Comment 9 Mikhail Gusarov 2008-06-13 13:00:39 MSD

    
Comment 10 Andrey Cherepanov 2011-01-22 22:06:17 MSK
Пакет отсутствует в Сизифе и p5