> What if you use libvpx-vp9 for video, opus for audio, and use an mkv file
extension? Does it work better?

No, it doesn't  ...

$ wf-recorder -c libvpx-vp9 -C opus -f recording.mkv
$ file recording.mkv
recording.mkv: Matroska data

... but it still takes a looong time to build the index.

On VP9:
Maybe I'll just settle on libvpx-vp9 and patch the source so that on SIGINT
it prints "SIGINT received: please wait for index building". That's the
easiest fix - but maybe we'll get 'oh fedora is soooo sloooow' whinges.

On VP8:
alabastr gave me the hint that using "--muxer webm" would make v8 work -
and it terminates quickly, so this is another possibility.
The only question is - is it naf to have a webm in an mp4? Also, is it too
naf to patch the source to force '--muxer webm' if codec is detected as
libvpx?

$ wf-recorder -c libvpx -m webm
Output file "recording.mp4" exists. Overwrite? Y/n: y
selected region 0,0 0x0
Using video filter: null
[libvpx @ 0x7f6d40001e80] v1.12.0
[libvpx @ 0x7f6d40001e80] Neither bitrate nor constrained quality
specified, using default CRF of 32 and bitrate of 256kbit/sec
Output #0, webm, to 'recording.mp4':
  Stream #0:0: Video: vp8, yuv420p(pc), 1920x1080 [SAR 1:1 DAR 16:9],
q=2-31, 256 kb/s
^C
$ file recording.mp4
recording.mp4: WebM  <<<<< TOO NAF?

On Sun, 18 Dec 2022 at 10:54, Neal Gompa <ngomp...@gmail.com> wrote:

> On Sat, Dec 17, 2022 at 7:49 PM Bob Hepple <bob.hep...@gmail.com> wrote:
> >
> > Thanks to all of you for the helpful hints!
> >
> > I will release in f37 too as suggested - I understand that I can only
> retire from rpmfusion in rawhide/f38, but I guess that's OK.
> >
> > libvpx-vp9 does indeed work in both ffmpegs - the only downside is that
> it takes >25s to terminate on SIGINT ^C (the normal way to stop
> wf-recorder). Many users will grow impatient and use pkill/SIGTERM and get
> a corrupt mp4 file - I certainly did at first. Not the best experience. I
> have taken this up with upstream.
> >
> > libvpx (vp8) does not work at all - again, maybe an upstream issue.
> >
> > So I don't have an ideal codec candidate that I am quite happy to
> unleash on the world at the moment - upstream may give me a clue.
> >
> > Or should I just go ahead with libvpx-vp9?
> >
>
> What if you use libvpx-vp9 for video, opus for audio, and use an mkv
> file extension? Does it work better?
>
>
>
> --
> 真実はいつも一つ!/ Always, there's only one truth!
> _______________________________________________
> devel mailing list -- devel@lists.fedoraproject.org
> To unsubscribe send an email to devel-le...@lists.fedoraproject.org
> Fedora Code of Conduct:
> https://docs.fedoraproject.org/en-US/project/code-of-conduct/
> List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
> List Archives:
> https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
> Do not reply to spam, report it:
> https://pagure.io/fedora-infrastructure/new_issue
>
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to