View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0007312ardourbugspublic2017-04-09 17:552018-09-03 14:51
Assigned To 
PlatformOSUbuntuOS Version16.10
Product Version5.8 
Target VersionFixed in Version 
Summary0007312: Audio export fails with negative -itsoffset for video track -- no video track in output
DescriptionI have a ~10 min recording session in Ardour and a corresponding MP4 video, which starts slightly before the audio session. I import the video and drag the video track backwards to get it to line up with audio. I then only want to export a couple minutes starting about 8 min into the session, so I set the "start" and "end" markers. Everything looks good in Ardour, audio export works perfectly, so I go to video export with the mp4/h264 preset. I check the debug option so it prints the ffmpeg command:

/opt/Ardour-5.8.0/bin/ffmpeg_harvid -itsoffset -471.185 -i <path>.MP4 -i <path>/export/vtl_mysession.wav -acodec aac -strict -2 -t 159.351 -vcodec libx264 -metadata comment="Created with Ardour" -map 0:0 -map 1:0 -y <path>/export/export.mp4

The resulting export.mp4 file has no video track, just audio. I tried replacing the -itsoffset option with -ss (seek), running the following by hand (I manually copied the vtl_mysession.wav intermediate file beforehand):

/opt/Ardour-5.8.0/bin/ffmpeg_harvid -ss 471.185 -i <path>.MP4 -i <path>/export/vtl_mysession2.wav -acodec aac -strict
 -2 -t 159.351 -vcodec libx264 -metadata comment="Created with Ardour" -map 0:0 -map 1:0 -y <path>/export/export2_harvid.mp4

This seems to work perfectly.

Let me know if I can provide more info that will help. It's my first time reporting an Ardour bug so I don't know the ropes. And of course thank you so much for this wonderful wonderful piece of software.
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2017-04-09 17:55 gostevehoward New Issue

Copyright © 2000 - 2018 MantisBT Team
Powered by Mantis Bugtracker