{"action":"created","issue":{"url":"https://api.github.com/repos/stax76/staxrip/issues/53","repository_url":"https://api.github.com/repos/stax76/staxrip","labels_url":"https://api.github.com/repos/stax76/staxrip/issues/53/labels{/name}","comments_url":"https://api.github.com/repos/stax76/staxrip/issues/53/comments","events_url":"https://api.github.com/repos/stax76/staxrip/issues/53/events","html_url":"https://github.com/stax76/staxrip/issues/53","id":147148319,"number":53,"title":"Can't open file with pre-loaded template source script","user":{"login":"eugenesvk","id":12956286,"avatar_url":"https://avatars.githubusercontent.com/u/12956286?v=3","gravatar_id":"","url":"https://api.github.com/users/eugenesvk","html_url":"https://github.com/eugenesvk","followers_url":"https://api.github.com/users/eugenesvk/followers","following_url":"https://api.github.com/users/eugenesvk/following{/other_user}","gists_url":"https://api.github.com/users/eugenesvk/gists{/gist_id}","starred_url":"https://api.github.com/users/eugenesvk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eugenesvk/subscriptions","organizations_url":"https://api.github.com/users/eugenesvk/orgs","repos_url":"https://api.github.com/users/eugenesvk/repos","events_url":"https://api.github.com/users/eugenesvk/events{/privacy}","received_events_url":"https://api.github.com/users/eugenesvk/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-04-09T17:59:32Z","updated_at":"2016-04-09T18:02:31Z","closed_at":null,"body":"Filing a separate issue from https://github.com/stax76/staxrip/issues/51#issuecomment-207187952\r\n\r\n1. Add a template with Source `ffms2` `clip = core.ffms2.Source(r\"%source_file%\", cachefile = r\"%temp_file%.ffindex\")`\r\n![staxrip 1 editor](https://cloud.githubusercontent.com/assets/12956286/14405337/54c7afd6-fe95-11e5-8850-04676b44afb0.PNG)\r\n\r\n2. Restart StaxRip and load this template\r\n![staxrip 2 template](https://cloud.githubusercontent.com/assets/12956286/14405339/5e3b801a-fe95-11e5-8dbf-4a7da9904407.PNG)\r\n\r\n3. Drag&drop a sample [mkv file](http://www.spirton.com/uploads/InterFrame/20110618-Sample-Original.mkv) to get a crash\r\n![staxrip 3 crash](https://cloud.githubusercontent.com/assets/12956286/14405344/8815137e-fe95-11e5-8dc2-30d7c9db6725.PNG)\r\n\r\n4. Follow the suggestion to uses another source filter, choose e.g. \"Automatic Vaporsynth\" (which actually uses the same ffms2).\r\nEnjoy a different looking window with the same error\r\n![staxrip 3 crash2 with vapor auto](https://cloud.githubusercontent.com/assets/12956286/14405359/b7b9d876-fe95-11e5-9f11-b42b5cce28b0.PNG)\r\n\r\n5. Open the mysterious `Sample_x24_new_Source.avs` and see a pretty harmless text\r\n`clip = core.ffms2.Source(r\"C:\\Users\\Evgeny\\Videos\\Sample_x24.mkv\", cachefile = r\"C:\\Users\\Evgeny\\Videos\\Sample_x24_temp\\Sample_x24.ffindex\")`\r\n"},"comment":{"url":"https://api.github.com/repos/stax76/staxrip/issues/comments/207823064","html_url":"https://github.com/stax76/staxrip/issues/53#issuecomment-207823064","issue_url":"https://api.github.com/repos/stax76/staxrip/issues/53","id":207823064,"user":{"login":"eugenesvk","id":12956286,"avatar_url":"https://avatars.githubusercontent.com/u/12956286?v=3","gravatar_id":"","url":"https://api.github.com/users/eugenesvk","html_url":"https://github.com/eugenesvk","followers_url":"https://api.github.com/users/eugenesvk/followers","following_url":"https://api.github.com/users/eugenesvk/following{/other_user}","gists_url":"https://api.github.com/users/eugenesvk/gists{/gist_id}","starred_url":"https://api.github.com/users/eugenesvk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eugenesvk/subscriptions","organizations_url":"https://api.github.com/users/eugenesvk/orgs","repos_url":"https://api.github.com/users/eugenesvk/repos","events_url":"https://api.github.com/users/eugenesvk/events{/privacy}","received_events_url":"https://api.github.com/users/eugenesvk/received_events","type":"User","site_admin":false},"created_at":"2016-04-09T18:02:31Z","updated_at":"2016-04-09T18:02:31Z","body":"And error log `Sample_x24_new_StaxRip.log`\r\n\r\n```\r\n-----------------------------------------------------------\r\n      _________ __                __________.__        \r\n     /   _____//  |______  ___  __\\______   \\__|_____  \r\n     \\_____  \\\\   __\\__  \\ \\  \\/  /|       _/  \\____ \\ \r\n     /        \\|  |  / __ \\_>    < |    |   \\  |  |_> >\r\n    /_______  /|__| (____  /__/\\_ \\|____|_  /__|   __/ \r\n            \\/           \\/      \\/       \\/   |__|   \r\n\r\n------------------------------------------------------------\r\n                        Environment\r\n------------------------------------------------------------\r\n\r\nStaxRip x64 : 1.3.3.6\r\nOS          : Windows 10 Pro\r\nLanguage    : English (United States)\r\nCPU         : Intel(R) Core(TM) i7-3770K CPU @ 3.50GHz\r\nGPU         : NVIDIA GeForce GTX TITAN\r\n\r\n------------------------------------------------------------\r\n                   Source file MediaInfo\r\n------------------------------------------------------------\r\n\r\nC:\\Users\\Evgeny\\Videos\\Sample_x24.mkv\r\n\r\nGeneral\r\nComplete name             : C:\\Users\\Evgeny\\Videos\\Sample_x24.mkv\r\nFormat                    : Matroska\r\nFormat version            : Version 2\r\nFile size                 : 15.9 MiB\r\nDuration                  : 26s 693ms\r\nOverall bit rate          : 4 996 Kbps\r\nWriting application       : x264 r1995 c1e60b9\r\nWriting library           : Haali Matroska Writer b0\r\nIsTruncated               : Yes\r\n\r\nVideo\r\nID                        : 1\r\nFormat                    : AVC\r\nFormat/Info               : Advanced Video Codec\r\nFormat profile            : High@L3.1\r\nFormat settings, CABAC    : Yes\r\nFormat settings, ReFrames : 4 frames\r\nCodec ID                  : V_MPEG4/ISO/AVC\r\nDuration                  : 26s 693ms\r\nBit rate                  : 4 896 Kbps\r\nWidth                     : 1 280 pixels\r\nHeight                    : 720 pixels\r\nDisplay aspect ratio      : 16:9\r\nFrame rate mode           : Constant\r\nFrame rate                : 23.976 (24000/1001) fps\r\nColor space               : YUV\r\nChroma subsampling        : 4:2:0\r\nBit depth                 : 8 bits\r\nScan type                 : Progressive\r\nBits/(Pixel*Frame)        : 0.222\r\nStream size               : 15.6 MiB (98%)\r\nWriting library           : x264 core 115 r1995 c1e60b9\r\nEncoding settings         : cabac=1 / ref=3 / deblock=1:0:0 / analyse=0x3:0x113 / me=hex / subme=7 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=6 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=3 / b_pyramid=2 / b_adapt=1 / b_bias=0 / direct=1 / weightb=1 / open_gop=0 / weightp=2 / keyint=250 / keyint_min=23 / scenecut=40 / intra_refresh=0 / rc_lookahead=40 / rc=crf / mbtree=1 / crf=18.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / ip_ratio=1.40 / aq=1:1.00\r\nLanguage                  : English\r\nDefault                   : Yes\r\nForced                    : No\r\n\r\n\r\n------------------------------------------------------------\r\n                    Error opening source\r\n------------------------------------------------------------\r\n\r\nScript error: expected a , or )\r\n(C:\\Users\\Evgeny\\Videos\\Sample_x24_temp\\Sample_x24_new_Source.avs, line 1, column 65)\r\n\r\nclip = core.ffms2.Source(r\"C:\\Users\\Evgeny\\Videos\\Sample_x24.mkv\", cachefile = r\"C:\\Users\\Evgeny\\Videos\\Sample_x24_temp\\Sample_x24.ffindex\")\r\n```"}}