Importing video ardour

Hello

I’m using last Ardour downloadable install from this web site.

Xubuntu 13.04 (installed from unity not a fresh install)

Jack installed and working

2x Intel® Core™2 CPU T5500 @ 1.66GHz
Memory 2055MB

HDA-Intel - HDA Intel
USB-Audio - MobilePre

When importing video (mov file :

fps 25
codec : h264 [H.264/AVC/MPEG-4 AVC/MPEG-4 part 10] (avc1) Geometry 1920x1080

it only opens the video successfully with the three lowest scaling settings
176, 320 and 352

Which will have to do, if there’s no fix, since i’m just creating OST content not the final product.

Above that i get the following message in the video import console:

[INFO]: LV2: Discovering 0 plugins
[INFO]: Loading menus from /opt/Ardour-3.2-dbg/etc/ardour.menus
[INFO]: Loaded mixer bindings from /opt/Ardour-3.2-dbg/etc/mixer.bindings
[INFO]: Loading bindings from /opt/Ardour-3.2-dbg/etc/mnemonic-us.bindings
Loading 82 MIDI patches from /home/rui/.config/ardour3/patchfiles:/opt/Ardour-3.2-dbg/share/patchfiles
[INFO]: Loading history from /home/rui/Pela Terra a Dentro/Pela Terra a Dentro.history
[INFO]: Loading ui configuration file /opt/Ardour-3.2-dbg/etc/ardour3_ui_light.rc
[INFO]: Loading ui configuration file /opt/Ardour-3.2-dbg/etc/ardour3_ui_dark.rc
[WARNING]: Parsing video file info failed. Is the Video Server running? Is the file readable by the Video Server? Does the docroot match? Is it a video file?

Is there something I can do to improve this? I don’t need it all the way up there in resolution but it would make my life easier (and more enjoyable) if I got a larger scaling.

Read the FAQ and bits of the manual, hope I didn’t miss anything relevant.

Excellent work with the software

(by the way I can’t find a way to search the forum site, so hope I didn’t miss anything again)

Thank you and hope you can help

Rui Carvalho

There’s likely a solution to that; it works just fine on other systems.
Yet, the actual cause of the behaviour that you describe is currently not clear. It’s strange that down-scaling helps. Can you reproduce it with other video files?
While 1920x1080 might be rather heavy for your CPU to play back without stuttering, it should not produce this error…

When importing the video can you select the checkbox “Debug Mode: Print ffmpeg Command and Output to stdout.” and paste the output that ardour prints, please? That may shed some light onto what’s going on. Thanks.

I checked the box

but ardour-log prints a similar message:

[INFO]: LV2: Discovering 0 plugins
[INFO]: Loading menus from /opt/Ardour-3.2-dbg/etc/ardour.menus
[INFO]: Loaded mixer bindings from /opt/Ardour-3.2-dbg/etc/mixer.bindings
[INFO]: Loading bindings from /opt/Ardour-3.2-dbg/etc/mnemonic-us.bindings
Loading 82 MIDI patches from /home/rui/.config/ardour3/patchfiles:/opt/Ardour-3.2-dbg/share/patchfiles
[WARNING]: Parsing video file info failed. Is the Video Server running? Is the file readable by the Video Server? Does the docroot match? Is it a video file?
[INFO]: Loading history from /home/rui/home/rui/teste/teste.history

Will try with a similar file tomorrow (codecs, containers, resolution, etc)

Thanks for the help

Rui

forgot to say that this time I tried a 720 scaling option

Hello again

tried with a different file with similar size, h264 etc. almost the same specs (mkv container this time) ardour identified in the original file, checked the debug mode, 720 scaling…same result.

ardour log :

[INFO]: LV2: Discovering 29 plugins
[INFO]: Loading menus from /opt/Ardour-3.2-dbg/etc/ardour.menus
[INFO]: Loaded mixer bindings from /opt/Ardour-3.2-dbg/etc/mixer.bindings
[INFO]: Loading bindings from /home/rui/.config/ardour3/ardour.bindings
Loading 82 MIDI patches from /home/rui/.config/ardour3/patchfiles:/opt/Ardour-3.2-dbg/share/patchfiles
[WARNING]: Parsing video file info failed. Is the Video Server running? Is the file readable by the Video Server? Does the docroot match? Is it a video file?
[INFO]: Loading history from /home/rui/home/rui/teste/teste.history
[WARNING]: Parsing video file info failed. Is the Video Server running? Is the file readable by the Video Server? Does the docroot match? Is it a video file?

is there any other log to debug?

thanks

Rui

The debug info is printed to stdout, not the ardour log window. You need to start ardour in a terminal.

Should have known that…sorry

Tried to transcode into session the already transcoded .mkv file from last time and it opened although not completely due to lack of space. I’m cleaning my system and will try again with the original file and see what ardour says.

thank you for your time

output hangs at last step… altough ardour remains responsive and showing the ardour log window with the info I previously posted.

here it is:
TRANSCODE VIDEO:
/opt/Ardour-3.2-dbg/bin/ffmpeg_harvid -i /home/rui/Desktop/pelaterraadentro.mov -b:v 5100k -s 720x405 -y -vcodec mpeg4 -an -intra -g 1 /home/rui/home/rui/teste/interchange/teste/videofiles/a3_pelaterraadentro.avi
ffmpeg: ‘ffmpeg version 1.2.1 Copyright © 2000-2013 the FFmpeg developers
built on Jun 10 2013 19:01:03 with gcc 4.7 (Debian 4.7.2-5)
configuration: --enable-gpl --enable-libmp3lame --enable-libx264 --enable-libxvid --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libopenjpeg --enable-libopus --enable-libschroedinger --enable-libspeex --enable-libbluray --enable-libgsm --disable-vaapi --disable-x11grab --disable-devices --enable-shared --enable-static --prefix=/root/local
libavutil 52. 18.100 / 52. 18.100
libavcodec 54. 92.100 / 54. 92.100
libavformat 54. 63.104 / 54. 63.104
libavdevice 54. 3.103 / 54. 3.103
libavfilter 3. 42.103 / 3. 42.103
libswscale 2. 2.100 / 2. 2.100
libswresample 0. 17.102 / 0. 17.102
libpostproc 52. 2.100 / 52. 2.100’
ffmpeg: ‘Guessed Channel Layout for Input Stream #0.0 : stereo
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from ‘/home/rui/Desktop/pelaterraadentro.mov’:
Metadata:
major_brand : qt
minor_version : 537199360
compatible_brands: qt
creation_time : 2013-05-29 20:32:29
Duration: 01:13:50.24, start: 0.000000, bitrate: 6413 kb/s’
ffmpeg: ’ Stream #0:0(eng): Audio: pcm_s16be (twos / 0x736F7774), 48000 Hz, stereo, s16, 1536 kb/s
Metadata:
creation_time : 2013-05-29 20:32:29
handler_name : Apple Alias Data Handler
Stream #0:1(eng): Video: h264 (Constrained Baseline) (avc1 / 0x31637661), yuv420p, 1920x1080, 4895 kb/s, 25 fps, 25 tbr, 25 tbn, 50 tbc
Metadata:
creation_time : 2013-05-29 20:32:29
handler_name : Apple Alias Data Handler’
ffmpeg: ‘Output #0, avi, to ‘/home/rui/home/rui/teste/interchange/teste/videofiles/a3_pelaterraadentro.avi’:
Metadata:
major_brand : qt
minor_version : 537199360
compatible_brands: qt
ISFT : Lavf54.63.104
Stream #0:0(eng): Video: mpeg4 (FMP4 / 0x34504D46), yuv420p, 720x405, q=2-31, 5100 kb/s, 25 tbn, 25 tbc
Metadata:
creation_time : 2013-05-29 20:32:29
handler_name : Apple Alias Data Handler
Stream mapping:
Stream #0:1 -> #0:0 (h264 -> mpeg4)
Press [q] to stop, [?] for help’

Well it seems like ffmpeg may be having issues with that file, but that output doesn’t quite look right to me, Ill let x42 jump in though as he would know far better than me. My first thought would be to try the command in the output seperately and see ift here is any difference in ffmpeg running or not.

Seablade

Tried another h264 .mov file that I previously worked on with Nuendo :

TRANSCODE VIDEO: /opt/Ardour-3.2-dbg/bin/ffmpeg_harvid -i /media/rui/memline/Quadro Branco/QBFINAL - Rough.mov -b:v 4530k -s 720x360 -y -vcodec mpeg4 -an -intra -g 1 /home/rui/home/rui/teste/interchange/teste/videofiles/a3_QBFINAL - Rough.avi ffmpeg: 'ffmpeg version 1.2.1 Copyright (c) 2000-2013 the FFmpeg developers built on Jun 10 2013 19:01:03 with gcc 4.7 (Debian 4.7.2-5) configuration: --enable-gpl --enable-libmp3lame --enable-libx264 --enable-libxvid --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libopenjpeg --enable-libopus --enable-libschroedinger --enable-libspeex --enable-libbluray --enable-libgsm --disable-vaapi --disable-x11grab --disable-devices --enable-shared --enable-static --prefix=/root/local libavutil 52. 18.100 / 52. 18.100 libavcodec 54. 92.100 / 54. 92.100 libavformat 54. 63.104 / 54. 63.104 libavdevice 54. 3.103 / 54. 3.103 libavfilter 3. 42.103 / 3. 42.103 libswscale 2. 2.100 / 2. 2.100 libswresample 0. 17.102 / 0. 17.102 libpostproc 52. 2.100 / 52. 2.100' ffmpeg: 'Guessed Channel Layout for Input Stream #0.1 : stereo Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/media/rui/memline/Quadro Branco/QBFINAL - Rough.mov': Metadata: major_brand : qt minor_version : 537199360 compatible_brands: qt creation_time : 2013-03-12 13:24:20 encoder : Lavf54.3.100 Duration: 01:20:08.12, start: 0.000000, bitrate: 4797 kb/s Stream #0:0(eng): Video: h264 (Constrained Baseline) (avc1 / 0x31637661), yuv420p, 1024x512, 3260 kb/s, 25 fps, 25 tbr, 25 tbn, 50 tbc Metadata: creation_time : 2013-03-12 13:24:20 handler_name : Apple Alias Data Handler' ffmpeg: ' Stream #0:1(eng): Audio: pcm_s16le (sowt / 0x74776F73), 48000 Hz, stereo, s16, 1536 kb/s Metadata: creation_time : 2013-03-12 13:24:20 handler_name : Apple Alias Data Handler' ffmpeg: 'Output #0, avi, to '/home/rui/home/rui/teste/interchange/teste/videofiles/a3_QBFINAL - Rough.avi': Metadata: major_brand : qt minor_version : 537199360 compatible_brands: qt ISFT : Lavf54.63.104 Stream #0:0(eng): Video: mpeg4 (FMP4 / 0x34504D46), yuv420p, 720x360, q=2-31, 4530 kb/s, 25 tbn, 25 tbc Metadata: creation_time : 2013-03-12 13:24:20 handler_name : Apple Alias Data Handler Stream mapping: Stream #0:0 -> #0:0 (h264 -> mpeg4) Press [q] to stop, [?] for help' ffmpeg: ' video:2619100kB audio:0kB subtitle:0 global headers:0kB muxing overhead 0.102450%'

All these .mov files present image preview info request failed when selected at ardour “open video” window but not other containers i tried.

an mp4 version of this file failed to import giving the same output

all the ffmpeg/ardour transcoded files can be read by vlc (not sure if this is relevant, sorry for the newbiness) but not imported into ardour unless with very low scaling settings.

Rui

Thanks Seablade will try later, in the meantime I have to try and get some work done :slight_smile:

Actually i went on and tried it immediately:

comand in separate terminal:
/opt/Ardour-3.2-dbg/bin/ffmpeg_harvid -i /media/rui/memline/Quadro\ Branco/QBFINAL.mp4 -b:v 4530k -s 720x360 -y -vcodec mpeg4 -an -intra -g 1 /home/rui/home/rui/teste/interchange/teste/videofiles/a3_QBFINAL.avi

i do not have ffmpeg installed separately in my system should I install and try again?

terminal output:
rui@rui-ubuntu:~$ /opt/Ardour-3.2-dbg/bin/ffmpeg_harvid -i /media/rui/memline/Quadro\ Branco/QBFINAL.mp4 -b:v 4530k -s 720x360 -y -vcodec mpeg4 -an -intra -g 1 /home/rui/home/rui/teste/interchange/teste/videofiles/a3_QBFINAL.avi
ffmpeg version 1.2.1 Copyright © 2000-2013 the FFmpeg developers
built on Jun 10 2013 19:01:03 with gcc 4.7 (Debian 4.7.2-5)
configuration: --enable-gpl --enable-libmp3lame --enable-libx264 --enable-libxvid --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libopenjpeg --enable-libopus --enable-libschroedinger --enable-libspeex --enable-libbluray --enable-libgsm --disable-vaapi --disable-x11grab --disable-devices --enable-shared --enable-static --prefix=/root/local
libavutil 52. 18.100 / 52. 18.100
libavcodec 54. 92.100 / 54. 92.100
libavformat 54. 63.104 / 54. 63.104
libavdevice 54. 3.103 / 54. 3.103
libavfilter 3. 42.103 / 3. 42.103
libswscale 2. 2.100 / 2. 2.100
libswresample 0. 17.102 / 0. 17.102
libpostproc 52. 2.100 / 52. 2.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from ‘/media/rui/memline/Quadro Branco/QBFINAL.mp4’:
Metadata:
major_brand : mp42
minor_version : 1
compatible_brands: mp42mp41
creation_time : 2013-03-06 02:16:00
Duration: 01:20:08.12, start: 0.000000, bitrate: 3424 kb/s
Stream #0:0(eng): Video: h264 (Constrained Baseline) (avc1 / 0x31637661), yuv420p, 1024x512, 3260 kb/s, 25 fps, 25 tbr, 25 tbn, 50 tbc
Metadata:
creation_time : 2013-03-06 02:16:00
handler_name : Apple Video Media Handler
Stream #0:1(eng): Audio: aac (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 159 kb/s
Metadata:
creation_time : 2013-03-06 02:16:00
handler_name : Apple Sound Media Handler
Output #0, avi, to ‘/home/rui/home/rui/teste/interchange/teste/videofiles/a3_QBFINAL.avi’:
Metadata:
major_brand : mp42
minor_version : 1
compatible_brands: mp42mp41
ISFT : Lavf54.63.104
Stream #0:0(eng): Video: mpeg4 (FMP4 / 0x34504D46), yuv420p, 720x360, q=2-31, 4530 kb/s, 25 tbn, 25 tbc
Metadata:
creation_time : 2013-03-06 02:16:00
handler_name : Apple Video Media Handler
Stream mapping:
Stream #0:0 -> #0:0 (h264 -> mpeg4)
Press [q] to stop, [?] for help
frame=120203 fps=132 q=1.6 Lsize= 2621783kB time=01:20:08.12 bitrate=4467.0kbits/s
video:2619100kB audio:0kB subtitle:0 global headers:0kB muxing overhead 0.102450%

produces a readable avi file which ardour can’t import (reference from current location) with no additional stdout on terminal

Probably better to file a bug then…just wasn’t sure if it was something fixable on my system rather than a Ardour’s/video server bug

The only strange thing is

ffmpeg: 'Guessed Channel Layout for Input Stream #0.1 : stereo

I’ve never seen that before.
Yes please file a bug report - I’m not much of a web-forum person, mantis’ email interaction is much preferred to track this down.

I have similar problem. I cannot open the AVI file produced by the Ardour video conversion. The terminal window just says “image preview info request failed”, nothing else happens (no other error displayed). I have several AVI files produced by the Ardour conversion, all of them can be opened by Ardour, except this one. The codec of all the files is the same (obviously). The only difference I can see is that the problematic video file is longer than all the others…

I think I found out what the problem is: The resulting converted file MUST BE SMALLER THAN 2 GB. Then it works.

What is the output if you run ffprobe on that file?

      Seablade

My Xubuntu 14.04 doesn’t have “ffprobe” command installed and it’s not in the repositories (“sudo apt-get install ffprobe” does nothing).

@fuxoft

I believe in the Ardour installation you can find it called harvid-ffprobe (The ‘harvid’ identifier just to make sure you don’t get a conflict with a distro installed ffprobe.

     Seablade

@seablade

Here is the output of ffprobe for the “big” file (that cannot be imported) and “small” file (that can be imported). Both were generated using Ardour importer from the same source video:

fuxoft@fuxoft-asus:/opt/Ardour-4.0.0/bin$ ./ffprobe_harvid ~/Documents/bethesda\ big.avi
ffprobe version 2.2.13 Copyright © 2007-2015 the FFmpeg developers
built on Mar 2 2015 23:28:47 with gcc 4.7 (Debian 4.7.2-5)
configuration: --enable-gpl --enable-libmp3lame --enable-libx264 --enable-libxvid --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libopenjpeg --enable-libopus --enable-libschroedinger --enable-libspeex --enable-libbluray --enable-libgsm --disable-vaapi --disable-x11grab --disable-devices --enable-shared --enable-static --prefix=/root/local
libavutil 52. 66.100 / 52. 66.100
libavcodec 55. 52.102 / 55. 52.102
libavformat 55. 33.100 / 55. 33.100
libavdevice 55. 10.100 / 55. 10.100
libavfilter 4. 2.100 / 4. 2.100
libswscale 2. 5.102 / 2. 5.102
libswresample 0. 18.100 / 0. 18.100
libpostproc 52. 3.100 / 52. 3.100
Input #0, avi, from ‘/home/fuxoft/Documents/bethesda big.avi’:
Metadata:
encoder : Lavf55.33.100
Duration: 02:29:05.10, start: 0.000000, bitrate: 4834 kb/s
Stream #0:0: Video: mjpeg (MJPG / 0x47504A4D), yuvj420p(pc), 640x360 [SAR 1:1 DAR 16:9], 30 tbr, 30 tbn, 30 tbc

fuxoft@fuxoft-asus:/opt/Ardour-4.0.0/bin$ ./ffprobe_harvid ~/Documents/bethesdasmall.avi
ffprobe version 2.2.13 Copyright © 2007-2015 the FFmpeg developers
built on Mar 2 2015 23:28:47 with gcc 4.7 (Debian 4.7.2-5)
configuration: --enable-gpl --enable-libmp3lame --enable-libx264 --enable-libxvid --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libopenjpeg --enable-libopus --enable-libschroedinger --enable-libspeex --enable-libbluray --enable-libgsm --disable-vaapi --disable-x11grab --disable-devices --enable-shared --enable-static --prefix=/root/local
libavutil 52. 66.100 / 52. 66.100
libavcodec 55. 52.102 / 55. 52.102
libavformat 55. 33.100 / 55. 33.100
libavdevice 55. 10.100 / 55. 10.100
libavfilter 4. 2.100 / 4. 2.100
libswscale 2. 5.102 / 2. 5.102
libswresample 0. 18.100 / 0. 18.100
libpostproc 52. 3.100 / 52. 3.100
Input #0, avi, from ‘/home/fuxoft/Documents/bethesdasmall.avi’:
Metadata:
encoder : Lavf55.33.100
Duration: 02:29:05.10, start: 0.000000, bitrate: 386 kb/s
Stream #0:0: Video: mjpeg (MJPG / 0x47504A4D), yuvj420p(pc), 176x99 [SAR 1:1 DAR 16:9], 30 tbr, 30 tbn, 30 tbc
fuxoft@fuxoft-asus:/opt/Ardour-4.0.0/bin$