View Issue Details

IDCategoryLast Update
0008279bugs2021-03-27 22:38
ReporterTBLAssigned To 
Reproducibilityalways 
Status newResolutionopen 
PlatformDebian GNUOSLinuxOS Version(any)
Product Version6.0 
Fixed in Version 
Summary0008279: Duration of exported video with negative video position in timeline wrong
DescriptionThe duration flags given to ffmpeg when exporting a video with negative start position leads to premature end of the video.

The reason seems to be the wrong usage of the -itsoffset <offset> and -t <duration> parameters for ffmpeg: the total duration of the exported video is truncated at <duration> + <offset> (note the sign of <offset>)

Having a negative <offset> value prematurely truncates the resulting video by <offset>.

The ffmpeg command line created by ardour would be:
/usr/bin/ffmpeg_harvid -itsoffset -20 -i input_video.mp4 -i vtl_mysession.wav [...] -t 150 output.mp4

The result would be a output file where the video stream ends at 130s.
Steps To Reproduce1. create project with audio
2. mmport video
3. move video to a negative starting position.
4. export video
Additional InformationThis bug happens with Ardour 6.0.0 and ffmpeg 4.2.3
Tags6.0, export, video

Activities

antgel

2021-03-27 22:38

reporter   ~0025650

Interesting, in 0007312 (Ardour 5.8) I and another user get no video output at all. I wonder if it was (partially) fixed between Andour versions.

Issue History

Date Modified Username Field Change
2020-06-30 23:22 TBL New Issue
2020-06-30 23:22 TBL Tag Attached: 6.0
2020-06-30 23:22 TBL Tag Attached: export
2020-06-30 23:22 TBL Tag Attached: video
2021-03-27 22:38 antgel Note Added: 0025650