You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Additional frame created with tensorflow_stream example #207
When I process an input file using the tensorflow_stream example (without applying "deepdream") the resulting output file has one extra frame. This occurs for video files of different lenght (tested with 1 sec, 10 sec, 1min, 10min). I inspect the number of frames in the input/output video using the command
There's no code snippet from my side. I am using the tensorflow_stream example and I count the frames using ffprobe (check my original post for command).
I figured out how to get rid of the extra frame - at least according to the nb_frames key of ffprobe. By adding vsync='0' to the output of the ffmpeg reader process, video file created by the writer process will have the same number of frames as the input file. Unfortunately I can't test this using a range of video files, but at the very least this resolves the problem on my one input file :-)
Activity
RomanSteinberg commentedon May 24, 2019
Hi @elemakil
My guess is that you counted frame which has no bytes actually. Anyway, you'd better provide the code snippet for counting those frames.
elemakil commentedon May 24, 2019
There's no code snippet from my side. I am using the tensorflow_stream example and I count the frames using ffprobe (check my original post for command).
kkroening commentedon Jun 3, 2019
Hmm, interesting. Marking as bug. Thanks for reporting.
elemakil commentedon Jun 14, 2019
I figured out how to get rid of the extra frame - at least according to the
nb_frameskey of ffprobe. By addingvsync='0'to the output of the ffmpeg reader process, video file created by the writer process will have the same number of frames as the input file. Unfortunately I can't test this using a range of video files, but at the very least this resolves the problem on my one input file :-)Offene Issues des Originals sichten (offline): Nummern 1 bis 273