Skip to content
This repository has been archived by the owner on Feb 22, 2020. It is now read-only.

Commit

Permalink
fix ffmpeg could not find codec parameters for stream 0 video h264 none
Browse files Browse the repository at this point in the history
  • Loading branch information
felix committed Sep 3, 2019
1 parent 926250d commit 167968b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion gnes/preprocessor/io_utils/video.py
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,8 @@ def capture_frames(input_fn: str = 'pipe:',
output_kwargs = {
'format': 'image2pipe',
'pix_fmt': pix_fmt,
'vcodec': 'rawvideo'
'vcodec': 'rawvideo',
'movflags': 'frag_keyframe+empty_moov',
}

cmd_args = compile_args(
Expand Down

0 comments on commit 167968b

Please sign in to comment.