Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 3105a87

Browse files
Merge pull request #106 from diego-treitos/master
Added adaptation_sets parameter for ffmpeg
2 parents d3ef2c7 + e21a81a commit 3105a87

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

‎ffmpeg_streaming/_command_builder.py‎

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -68,11 +68,12 @@ def _dash(dash):
6868
dirname, name = get_path_info(dash.output_)
6969
_args = dash.format.all
7070
_args.update({
71-
'use_timeline': USE_TIMELINE,
72-
'use_template': USE_TEMPLATE,
73-
'init_seg_name': '{}_init_$RepresentationID$.$ext$'.format(name),
74-
"media_seg_name": '{}_chunk_$RepresentationID$_$Number%05d$.$ext$'.format(name),
75-
'f': 'dash'
71+
'use_timeline': USE_TIMELINE,
72+
'use_template': USE_TEMPLATE,
73+
'init_seg_name': '{}_init_$RepresentationID$.$ext$'.format(name),
74+
"media_seg_name": '{}_chunk_$RepresentationID$_$Number%05d$.$ext$'.format(name),
75+
'f': 'dash',
76+
'adaptation_sets': 'id=0,streams=v id=1,streams=a',
7677
})
7778
_args.update(dash.options)
7879
args = cnv_options_to_args(_args)

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /