File tree Expand file tree Collapse file tree 1 file changed +16
-4
lines changed Expand file tree Collapse file tree 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<()> {
327327 match video_input. codec ( ) . id ( ) {
328328 Id :: H264 => {
329329 video_filters. push ( init_bsf (
330- "h264_metadata " ,
330+ "h264_mp4toannexb " ,
331331 & video_parameters,
332332 time_base,
333- & [ ( "aud" . into ( ) , "insert" . into ( ) ) ] ,
333+ & [ ] ,
334334 ) ?) ;
335+ // video_filters.push(init_bsf(
336+ // "h264_metadata",
337+ // &video_parameters,
338+ // time_base,
339+ // &[("aud".into(), "insert".into())],
340+ // )?);
335341 }
336342 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+ // )?);
337349 video_filters. push ( init_bsf (
338- "hevc_metadata " ,
350+ "hevc_mp4toannexb " ,
339351 & video_parameters,
340352 time_base,
341- & [ ( "aud" . into ( ) , "insert" . into ( ) ) ] ,
353+ & [ ] ,
342354 ) ?) ;
343355 }
344356 _ => { }
You can’t perform that action at this time.
0 commit comments