Github messages for voidlinux
 help / color / mirror / Atom feed
From: voidlinux-github@inbox.vuxu.org
To: ml@inbox.vuxu.org
Subject: Re: [ISSUE] [CLOSED] handbrake-1.2.2 broken for MUSL
Date: Wed, 25 Dec 2019 08:39:46 +0100	[thread overview]
Message-ID: <20191225073946.EDzrex-6RgljHWMdGn3aSkRl0woq7509LD2njdqrw2w@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-17212@inbox.vuxu.org>

[-- Attachment #1: Type: text/plain, Size: 1851 bytes --]

Closed issue by oliver-cfc on void-packages repository

https://github.com/void-linux/void-packages/issues/17212

Description:
### System
* xuname:  
  * Void 5.3.15_1 x86_64-musl GenuineIntel uptodate rrnDFFF

* package:  
  * handbrake-1.2.2-4

### Expected behavior
Convert media successfully

### Actual behavior
Encoding generates following errors:
[19:12:13] decavcodec: hb_audio_resample_update() failed
[SWR @ 0x564eb6f9ba40] Requested input sample rate 0 is invalid
[19:12:13] decavcodec: hb_audio_resample_update() failed
[SWR @ 0x564eb6f9ba40] Requested input sample rate 0 is invalid
[19:12:13] decavcodec: hb_audio_resample_update() failed
[19:12:13] decavcodec: hb_audio_resample_update() failed
[19:12:13] decavcodec: hb_audio_resample_update() failed
[19:12:13] decavcodec: hb_audio_resample_update() failed
[19:12:13] decavcodec: hb_audio_resample_update() failed

The finished file has no audio.  Tested with converting .mkv/.avi/.mp4 all to m4v with the same results

### Steps to reproduce the behavior
Go to https://sample-videos.com/index.php and pick a video.  Convert to m4v.  Same behaviour in both GUI and handbrake-cli
Does work in MUSL from flatpak and works in glibc.

Upgrading to 1.3.0 fixes this but I had to do the following:

* remove 1.2.2 patches from patches dir and add 4 new ones (found in Gentoo repo)
* in hostmakedepends, swap yasm for nasm (build failed with yasm); removed python (see patches) and added meson and libnuma-devel
* added patch_args="-Np1"

Didn't really want to do a pull request because the pkg already has an owner and there's a lot of stuff going on in the template that I don't really understand

Attachment is a zip file of the 4 patches and the template
[handbrake.zip](https://github.com/void-linux/void-packages/files/3935755/handbrake.zip)




           reply	other threads:[~2019-12-25  7:39 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-17212@inbox.vuxu.org>]

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=20191225073946.EDzrex-6RgljHWMdGn3aSkRl0woq7509LD2njdqrw2w@z \
    --to=voidlinux-github@inbox.vuxu.org \
    --cc=ml@inbox.vuxu.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
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).