Skip to content
GitLab
    • Explore Projects Groups Snippets
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • F ffmpeg-python
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 402
    • Issues 402
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 34
    • Merge requests 34
  • 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
  • Karl Kroening
  • ffmpeg-python
  • Merge requests
  • !375

add "-async" option support

  • Review changes

  • Download
  • Email patches
  • Plain diff
Closed Administrator requested to merge github/fork/mats16/master into master 5 years ago
  • Overview 0
  • Commits 2
  • Pipelines 0
  • Changes 1

Created by: mats16

In python, we can not use 'async' param.

I want to add alias such as 'audio_sync' .

Compare
  • master (base)

and
  • latest version
    37c79b93
    2 commits, 2 years ago

1 file
+ 4
- 0

    Preferences

    File browser
    Compare changes
ffmpeg/_run.py
+ 4
- 0
  • View file @ 37c79b93


@@ -134,6 +134,10 @@ def _get_output_args(node, stream_name_map):
@@ -134,6 +134,10 @@ def _get_output_args(node, stream_name_map):
args += ['-b:v', str(kwargs.pop('video_bitrate'))]
args += ['-b:v', str(kwargs.pop('video_bitrate'))]
if 'audio_bitrate' in kwargs:
if 'audio_bitrate' in kwargs:
args += ['-b:a', str(kwargs.pop('audio_bitrate'))]
args += ['-b:a', str(kwargs.pop('audio_bitrate'))]
 
if 'video_sync' in kwargs:
 
args += ['-vsync', str(kwargs.pop('video_sync'))]
 
if 'audio_sync' in kwargs:
 
args += ['-async', str(kwargs.pop('audio_sync'))]
if 'video_size' in kwargs:
if 'video_size' in kwargs:
video_size = kwargs.pop('video_size')
video_size = kwargs.pop('video_size')
if not isinstance(video_size, basestring) and isinstance(
if not isinstance(video_size, basestring) and isinstance(
0 Assignees
None
Assign to
0 Reviewers
None
Request review from
Labels
2
CLA Signed tag: underlying tools
2
CLA Signed tag: underlying tools
    Assign labels
  • Manage project labels

Milestone
3.3
3.3
None
Time tracking
No estimate or time spent
Lock merge request
Unlocked
0
0 participants
Reference: facebook/create-react-app!7986
Source branch: github/fork/mats16/master

Menu

Explore Projects Groups Snippets