Skip to content
GitLab
    • Explore Projects Groups Snippets
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • P PyAV
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 37
    • Issues 37
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 26
    • Merge requests 26
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • PyAV
  • PyAV
  • Issues
  • #702
Something went wrong while setting issue due date.
Closed
Open
Issue created 4 years ago by Mauri Mustonen@Kazhuu
  • New related issue

  • Report abuse to administrator

  • New related issue

  • Report abuse to administrator

Allow user to force audio codec to be used instead of relying the default one

Open

Allow user to force audio codec to be used instead of relying the default one

Overview

Regarding this issue of mine earlier. Would it be possible to expose field AvFormatContext::audio_codec_id for user to force specific audio codec?

Existing FFmpeg API

Documentation of the field here.

Expected PyAV API

Maybe add this to av.open() to be optional argument.

Example:

av.open('alsa-device', format='alsa', audio_codec='pcm_s32le')

I could also take this one and make contribution to this awesome library if this is considered something needed in general. Any thoughts?

  1. Oh no!

    You are trying to upload something other than an image. Please upload a .png, .jpg, .jpeg, .gif, .bmp, .tiff or .ico.

    Incoming!

    Drop your designs to start your upload.
Tasks
0
server returned results with length 1, expected length of 9

Linked items
0

Link issues together to show that they're related. Learn more.

Related merge requests

1
  • Let user specified input audio codec and not relay on the default one
    !816

Activity


  • Mauri Mustonen added enhancement label 4 years ago

    added enhancement label

  • Administrator
    Administrator @root · 4 years ago
    Contributor

    Created by: paulhobbel

    Any news on the implementation of this?

  • Mauri Mustonen
    Mauri Mustonen @Kazhuu · 4 years ago
    Author

    Sorry but I have been busy with so many other things and haven't have time/interest for this one at the moment. Maybe someone else can give this a go instead. I tried to start implementing this but then soon realized that there are so many available codecs that left me wondering should all them be implemented or just selected few.

  • Administrator
    Administrator @root · 4 years ago
    Contributor

    Created by: paulhobbel

    I'm currently trying out your solution but am failing to build PyAV on my raspberry pi. Do you have any tips on how I can build PyAV?

  • Mauri Mustonen
    Mauri Mustonen @Kazhuu · 4 years ago
    Author

    I don't remember the steps out of my head but I think I was needing this package for one of my projects. I cloned it to my project and installed the package from there to my python virtual environment using pipenv install -e ext/PyAV. Then I just modified the sources in place. Of course you need to install Cython and other required packages to build the package. From readme the requirements are installed with pip install --upgrade -r tests/requirements.txt. Hope these helps.

  • Mauri Mustonen mentioned in merge request !816 3 years ago

    mentioned in merge request !816

  • Mauri Mustonen
    Mauri Mustonen @Kazhuu · 3 years ago
    Author

    @paulhobbel I made a PR of this here if you are still interested of this.

  • Administrator
    Administrator @root · 3 years ago
    Contributor

    Created by: github-actions[bot]

    This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

  • Administrator added stale label 3 years ago

    added stale label

  • Jeremy Lainé removed stale label 3 years ago

    removed stale label

  • Administrator
    Administrator @root · 3 years ago
    Contributor

    Created by: github-actions[bot]

    This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

  • Administrator added stale label 3 years ago

    added stale label

  • Mauri Mustonen
    Mauri Mustonen @Kazhuu · 3 years ago
    Author

    I've a holiday coming weeks I could take a look at this.

  • Administrator removed stale label 3 years ago

    removed stale label

  • Administrator
    Administrator @root · 2 years ago
    Contributor

    Created by: github-actions[bot]

    This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

  • Administrator added stale label 2 years ago

    added stale label

  • Mauri Mustonen
    Mauri Mustonen @Kazhuu · 2 years ago
    Author

    ping

  • Administrator removed stale label 2 years ago

    removed stale label

Please register or sign in to reply
0 Assignees
None
Assign to
Labels
0
None
0
None
    Assign labels
  • Manage project labels

Milestone
No milestone
None
Due date
None
None
None
Time tracking
No estimate or time spent
Confidentiality
Not confidential
Not confidential

You are going to turn on confidentiality. Only project members with at least the Reporter role, the author, and assignees can view or be notified about this issue.

Lock issue
Unlocked
1
1 participant
Administrator
Reference:

Menu

Explore Projects Groups Snippets