&& sscanf( psz, "%ux%u", ¶m->i_width, ¶m->i_height ) == 2 )
{
if( param->i_log_level >= X264_LOG_INFO )
- fprintf( stderr, "x264 [info]: file name gives %dx%d\n", param->i_width, param->i_height );
+ fprintf( stderr, "x264 [info]: %dx%d (given by file name) @ %.2f fps\n", param->i_width, param->i_height, (double)param->i_fps_num / (double)param->i_fps_den);
break;
}
}
else
{
sscanf( argv[optind++], "%ux%u", ¶m->i_width, ¶m->i_height );
+ if( param->i_log_level >= X264_LOG_INFO )
+ fprintf( stderr, "x264 [info]: %dx%d @ %.2f fps\n", param->i_width, param->i_height, (double)param->i_fps_num / (double)param->i_fps_den);
}
}