File tree 1 file changed +16
-4
lines changed
1 file changed +16
-4
lines changed Original file line number Diff line number Diff line change @@ -327,18 +327,30 @@ fn handle(params: HandleParams) -> anyhow::Result<()> {
327
327
match video_input. codec ( ) . id ( ) {
328
328
Id :: H264 => {
329
329
video_filters. push ( init_bsf (
330
- "h264_metadata " ,
330
+ "h264_mp4toannexb " ,
331
331
& video_parameters,
332
332
time_base,
333
- & [ ( "aud" . into ( ) , "insert" . into ( ) ) ] ,
333
+ & [ ] ,
334
334
) ?) ;
335
+ // video_filters.push(init_bsf(
336
+ // "h264_metadata",
337
+ // &video_parameters,
338
+ // time_base,
339
+ // &[("aud".into(), "insert".into())],
340
+ // )?);
335
341
}
336
342
Id :: HEVC | Id :: H265 => {
343
+ // video_filters.push(init_bsf(
344
+ // "hevc_metadata",
345
+ // &video_parameters,
346
+ // time_base,
347
+ // &[("aud".into(), "insert".into())],
348
+ // )?);
337
349
video_filters. push ( init_bsf (
338
- "hevc_metadata " ,
350
+ "hevc_mp4toannexb " ,
339
351
& video_parameters,
340
352
time_base,
341
- & [ ( "aud" . into ( ) , "insert" . into ( ) ) ] ,
353
+ & [ ] ,
342
354
) ?) ;
343
355
}
344
356
_ => { }
You can’t perform that action at this time.
0 commit comments