{"action":"created","issue":{"url":"https://api.github.com/repos/bavc/qctools/issues/80","labels_url":"https://api.github.com/repos/bavc/qctools/issues/80/labels{/name}","comments_url":"https://api.github.com/repos/bavc/qctools/issues/80/comments","events_url":"https://api.github.com/repos/bavc/qctools/issues/80/events","html_url":"https://github.com/bavc/qctools/issues/80","id":82112280,"number":80,"title":"Prores.mov with 8 audio tracks using up too much memory (60+gigs)","user":{"login":"kieranjol","id":1127102,"avatar_url":"https://avatars.githubusercontent.com/u/1127102?v=3","gravatar_id":"","url":"https://api.github.com/users/kieranjol","html_url":"https://github.com/kieranjol","followers_url":"https://api.github.com/users/kieranjol/followers","following_url":"https://api.github.com/users/kieranjol/following{/other_user}","gists_url":"https://api.github.com/users/kieranjol/gists{/gist_id}","starred_url":"https://api.github.com/users/kieranjol/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kieranjol/subscriptions","organizations_url":"https://api.github.com/users/kieranjol/orgs","repos_url":"https://api.github.com/users/kieranjol/repos","events_url":"https://api.github.com/users/kieranjol/events{/privacy}","received_events_url":"https://api.github.com/users/kieranjol/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-05-28T20:32:20Z","updated_at":"2015-05-28T20:38:11Z","closed_at":null,"body":"Hello,\r\n\r\nI've found that Prores quicktimes with 8 audio tracks can cause qctools to use up so much memory (60+gigs) that the program can freeze or quit. I've only tested shorter v210 clips with 8 audio tracks but even they are using what appears to be far too much memory (12 gigs). These are legacy files from when we were creating mezzanine files rather than preservation copies. I will run a test on 8 audio track v210.mov tomorrow. \r\n\r\nI am using the latest version of Qctools.\r\n\r\nThe Prores files are straight from the capture scratch in FCP 7. Uncompressed (v210) or lossy files with 2 tracks of audio work perfectly in qctools regardless of duration/filesize. We had one short Prores clip of a umatic ingest (1 gig) and even though it used up around 10 gigs of memory (on a mini mac with 16gigs of ram), it opened up in QCtools (and the graphs immediately pointed out all sort of artefacts thanks to your amazing software).\r\n\r\nI've noticed that short AS-11 files with 16 channels of audio load very slowly in qctools, but they do not cause any freezes or take up much memory. Other video files with fewer audio tracks cause qctools to use an insignificant amount of memory. http://www.digitalproductionpartnership.co.uk/compliance-programme-player-testing-file-download/\r\nThe issue has occurred with a 16 gig mac mini running Mavericks, and an 8 gig yosemite hackintosh.\r\n\r\n Is the problem on my end (aside from previously setting up our ingests to capture 8 tracks of audio with lossy video) or is there some workaround? Is it possible to disable audio processing in order to just see video issues?\r\nAny help would be greatly appreciated. I showed the qctools analysis of the 1 gig umatic ingest to some of my colleagues and we were really excited to see the graphs point out artefacts for us. I can easily see us using the software as part of our QC process.\r\n\r\nHere's an ffmpeg readout of a file that used up 60 gigs of memory in qctools and caused it to stall.\r\n\r\nffmpeg version 2.6.2 Copyright (c) 2000-2015 the FFmpeg developers\r\n  built with llvm-gcc 4.2.1 (LLVM build 2336.11.00)\r\n  configuration: --prefix=/Volumes/Ramdisk/sw --enable-gpl --enable-pthreads --enable-version3 --enable-libspeex --enable-libvpx --disable-decoder=libvpx --enable-libmp3lame --enable-libtheora --enable-libvorbis --enable-libx264 --enable-avfilter --enable-libopencore_amrwb --enable-libopencore_amrnb --enable-filters --enable-libgsm --enable-libvidstab --enable-libx265 --disable-doc --arch=x86_64 --enable-runtime-cpudetect\r\n  libavutil      54. 20.100 / 54. 20.100\r\n  libavcodec     56. 26.100 / 56. 26.100\r\n  libavformat    56. 25.101 / 56. 25.101\r\n  libavdevice    56.  4.100 / 56.  4.100\r\n  libavfilter     5. 11.102 /  5. 11.102\r\n  libswscale      3.  1.101 /  3.  1.101\r\n  libswresample   1.  1.100 /  1.  1.100\r\n  libpostproc    53.  3.100 / 53.  3.100\r\nGuessed Channel Layout for  Input Stream #0.1 : mono\r\nGuessed Channel Layout for  Input Stream #0.2 : mono\r\nGuessed Channel Layout for  Input Stream #0.3 : mono\r\nGuessed Channel Layout for  Input Stream #0.4 : mono\r\nGuessed Channel Layout for  Input Stream #0.5 : mono\r\nGuessed Channel Layout for  Input Stream #0.6 : mono\r\nGuessed Channel Layout for  Input Stream #0.7 : mono\r\nGuessed Channel Layout for  Input Stream #0.8 : mono\r\nInput #0, mov,mp4,m4a,3gp,3g2,mj2, from '/Users/kieranoleary/Desktop/pro res 30.mov':\r\n  Metadata:\r\n    major_brand     : qt  \r\n    minor_version   : 537199360\r\n    compatible_brands: qt  \r\n    creation_time   : 2015-05-28 20:00:59\r\n  Duration: 00:31:42.70, start: 0.000000, bitrate: 47529 kb/s\r\n    Stream #0:0(eng): Video: prores (apcn / 0x6E637061), yuv422p10le(bt470bg/smpte240m/bt709), 720x486, 41363 kb/s, SAR 10:11 DAR 400:297, 29.97 fps, 29.97 tbr, 2997 tbn, 2997 tbc (default)\r\n    Metadata:\r\n      creation_time   : 2015-05-28 20:00:59\r\n      handler_name    : Apple Alias Data Handler\r\n      encoder         : Apple ProRes 422\r\n      timecode        : 01:00:00:00\r\n    Stream #0:1(eng): Audio: pcm_s16le (sowt / 0x74776F73), 48000 Hz, 1 channels, s16, 768 kb/s (default)\r\n    Metadata:\r\n      creation_time   : 2015-05-28 20:00:59\r\n      handler_name    : Apple Alias Data Handler\r\n    Stream #0:2(eng): Audio: pcm_s16le (sowt / 0x74776F73), 48000 Hz, 1 channels, s16, 768 kb/s (default)\r\n    Metadata:\r\n      creation_time   : 2015-05-28 20:00:59\r\n      handler_name    : Apple Alias Data Handler\r\n    Stream #0:3(eng): Audio: pcm_s16le (sowt / 0x74776F73), 48000 Hz, 1 channels, s16, 768 kb/s (default)\r\n    Metadata:\r\n      creation_time   : 2015-05-28 20:00:59\r\n      handler_name    : Apple Alias Data Handler\r\n    Stream #0:4(eng): Audio: pcm_s16le (sowt / 0x74776F73), 48000 Hz, 1 channels, s16, 768 kb/s (default)\r\n    Metadata:\r\n      creation_time   : 2015-05-28 20:00:59\r\n      handler_name    : Apple Alias Data Handler\r\n    Stream #0:5(eng): Audio: pcm_s16le (sowt / 0x74776F73), 48000 Hz, 1 channels, s16, 768 kb/s (default)\r\n    Metadata:\r\n      creation_time   : 2015-05-28 20:00:59\r\n      handler_name    : Apple Alias Data Handler\r\n    Stream #0:6(eng): Audio: pcm_s16le (sowt / 0x74776F73), 48000 Hz, 1 channels, s16, 768 kb/s (default)\r\n    Metadata:\r\n      creation_time   : 2015-05-28 20:00:59\r\n      handler_name    : Apple Alias Data Handler\r\n    Stream #0:7(eng): Audio: pcm_s16le (sowt / 0x74776F73), 48000 Hz, 1 channels, s16, 768 kb/s (default)\r\n    Metadata:\r\n      creation_time   : 2015-05-28 20:00:59\r\n      handler_name    : Apple Alias Data Handler\r\n    Stream #0:8(eng): Audio: pcm_s16le (sowt / 0x74776F73), 48000 Hz, 1 channels, s16, 768 kb/s (default)\r\n    Metadata:\r\n      creation_time   : 2015-05-28 20:00:59\r\n      handler_name    : Apple Alias Data Handler\r\n    Stream #0:9(eng): Data: none (tmcd / 0x64636D74) (default)\r\n    Metadata:\r\n      creation_time   : 2015-05-28 20:09:04\r\n      handler_name    : Apple Alias Data Handler\r\n      timecode        : 01:00:00:00\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/bavc/qctools/issues/comments/106589036","html_url":"https://github.com/bavc/qctools/issues/80#issuecomment-106589036","issue_url":"https://api.github.com/repos/bavc/qctools/issues/80","id":106589036,"user":{"login":"dericed","id":762604,"avatar_url":"https://avatars.githubusercontent.com/u/762604?v=3","gravatar_id":"","url":"https://api.github.com/users/dericed","html_url":"https://github.com/dericed","followers_url":"https://api.github.com/users/dericed/followers","following_url":"https://api.github.com/users/dericed/following{/other_user}","gists_url":"https://api.github.com/users/dericed/gists{/gist_id}","starred_url":"https://api.github.com/users/dericed/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dericed/subscriptions","organizations_url":"https://api.github.com/users/dericed/orgs","repos_url":"https://api.github.com/users/dericed/repos","events_url":"https://api.github.com/users/dericed/events{/privacy}","received_events_url":"https://api.github.com/users/dericed/received_events","type":"User","site_admin":false},"created_at":"2015-05-28T20:38:11Z","updated_at":"2015-05-28T20:38:11Z","body":"Yes, perhaps adding 8 or 16 concurrent ebur128 filters to an already intensive mutli-threaded video filter of cropdetect, signalstats, and psnr, is a bit much. [Aside: do you really have so much source media to digitize that has 8 or 16 tracks of mono audio?] Not sure the best way to address this, qctools is really intended as a video analyzer, so we could provide a way to not process audio or downmix all the audio to one input to one ebur128 (though a downmix of 16 mono tracks would probably not be useful)."}}