Skip to content

Commit

Permalink
error in pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
marianodominguez committed Dec 2, 2022
1 parent 113b246 commit 11fd3bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Emulator.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ def run_emulator(backend, message, config):
if os.path.exists("working/movie.fmf"):
logger.info("converting fmf")

result = os.system(f'fmfconv -C {cut_time} working/movie.fmf | ffmpeg -y -i working/OUTPUT_BIG.mp4 -c:v libx264 -sws_flags accurate_rnd -pix_fmt yuv420p -r 30 -vf "pad=ceil(iw/2)*2:ceil(ih/2)*2" -b:v 5M -t 2:20 -acodec aac -ar 44100 -ac 2 working/OUTPUT_SMALL.mp4')
result = os.system(f'fmfconv -C {cut_time} working/movie.fmf | ffmpeg -y -c:v libx264 -sws_flags accurate_rnd -pix_fmt yuv420p -r 30 -vf "pad=ceil(iw/2)*2:ceil(ih/2)*2" -b:v 5M -t 2:20 -acodec aac -ar 44100 -ac 2 working/OUTPUT_SMALL.mp4')
logger.debug(result)
else:
logger.error("Emulator was unable to run, skipping video")
Expand Down

0 comments on commit 11fd3bc

Please sign in to comment.