From: "Евгений Терешков" <evg-krsk@yandex.ru> To: devel@lists.altlinux.org Subject: Re: [devel] Q: mpv update Date: Thu, 23 Jul 2020 08:50:52 +0700 Message-ID: <m3zh7rov7n.fsf@latitude.evg-krsk.dyndns.org> (raw) In-Reply-To: <20200721133024.GA2857160@lks.home> Konstantin Lepikhov пишет: > On 07/21/2020, at 02:15:05 PM you wrote: >> > Я тоже пробовал собрать 0.32, но выкладывать никуда не стал потому что там >> > отломали tv:// а av:// у меня так и не заработал (возможно, по вине >> > libavformat): >> > =8<============================================================================= >> > # ~ mpv av://v4l2:/dev/video0 --profile=low-latency --untimed >> > Playing: av://v4l2:/dev/video0 >> > [lavf] Unknown lavf format v4l2 >> > Failed to recognize file format. >> > Exiting... (Errors when loading file) >> > =8<============================================================================= >> > (это 0.29.1, в 0.32 так же) >> Мне кажется, это что-то в нашем ffmpeg отсутствует, т.к. >> https://wiki.archlinux.org/index.php/Webcam_setup упоминает, что ffmpeg >> должен быть собран с поддержкой v4l2. Судя по флагам (ffmpeg -h 2>&1 |egrep 4l даёт --enable-libv4l2) он и собран. Поэтому я не уверен, точно ли проблема в libavformat. > Евгений, а вы можете проверить это еще раз со сборкой выше, > работает ли оно если указать --demuxer-lavf-format=video4linux2 ? > $ mpv --demuxer-lavf-format=video4linux2 > --demuxer-lavf-o-set=input_format=mjpeg av://v4l2:/dev/video0 > $ mpv --demuxer-lavf-format=video4linux2 av://v4l2:/dev/video0 > --profile=low-latency --untimed Я читал арчвики и в моей сборке это не работало с такими же симптомами. Сейчас только добрался проверить таск и там это выглядит точно также: =8<================================================================== ➜ ~ mpv --demuxer-lavf-format=video4linux2 --demuxer-lavf-o-set=input_format=mjpeg av://v4l2:/dev/video0 [lavf] Unknown lavf format video4linux2 Failed to recognize file format. Exiting... (Errors when loading file) ➜ ~ mpv --demuxer-lavf-format=video4linux2 av://v4l2:/dev/video0 --profile=low-latency --untimed [lavf] Unknown lavf format video4linux2 Failed to recognize file format. Exiting... (Errors when loading file) =8<================================================================== -- С уважением, Терешков Евгений. Jabber ID: evg@altlinux.org, evg_krsk@jabber.ru
next prev parent reply other threads:[~2020-07-23 1:50 UTC|newest] Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top 2020-07-21 11:23 Konstantin Lepikhov 2020-07-21 11:38 ` Sergey Bolshakov 2020-07-21 11:49 ` Alexey V. Vissarionov 2020-07-21 11:51 ` Konstantin Lepikhov 2020-07-21 11:48 ` Евгений Терешков 2020-07-21 12:15 ` Konstantin Lepikhov 2020-07-21 13:30 ` Konstantin Lepikhov 2020-07-23 1:50 ` Евгений Терешков [this message] 2020-07-23 8:12 ` Konstantin Lepikhov 2020-11-24 17:21 ` Konstantin Lepikhov 2020-07-23 9:27 ` Vladimir D. Seleznev 2020-07-23 13:09 ` Евгений Терешков
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=m3zh7rov7n.fsf@latitude.evg-krsk.dyndns.org \ --to=evg-krsk@yandex.ru \ --cc=devel@lists.altlinux.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
ALT Linux Team development discussions This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \ devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru public-inbox-index devel Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.devel AGPL code for this site: git clone https://public-inbox.org/public-inbox.git