fprintf(fp,"\n");
fprintf(fp,"echo To burn dvd, load blank media and run:\n");
fprintf(fp,"echo growisofs -dvd-compat -Z /dev/dvd -dvd-video $1/iso\n");
+ fprintf(fp,"kill $$\n");
fprintf(fp,"\n");
fclose(fp);
double new_samplerate = session->sample_rate;
double new_framerate = session->frame_rate;
+ edl->retrack();
edl->rechannel();
edl->resample(old_samplerate, new_samplerate, TRACK_AUDIO);
edl->resample(old_framerate, new_framerate, TRACK_VIDEO);
FFMPEG::load_options(option_path, asset->ff_video_options,
sizeof(asset->ff_video_options));
asset->ff_video_bitrate = vid_bitrate;
- asset->ff_video_quality = 0;
+ asset->ff_video_quality = -1;
}
else {
sprintf(&asset->path[0],"%s/dvd.m2v", asset_dir);
insert_video_plugin("Histogram", &keyframe);
}
char asset_dir[BCTEXTLEN], jobs_path[BCTEXTLEN];
- sprintf(asset_dir, "%s/%s", tmp_path, asset_title);
- sprintf(jobs_path, "%s/dvd.jobs", asset_dir);
+ snprintf(asset_dir, sizeof(asset_dir), "%s/%s", tmp_path, asset_title);
+ snprintf(jobs_path, sizeof(jobs_path), "%s/dvd.jobs", asset_dir);
mwindow->batch_render->reset(jobs_path);
int ret = create_dvd_jobs(&mwindow->batch_render->jobs, asset_dir);
mwindow->undo->update_undo_after(_("create dvd"), LOAD_ALL);