Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
19th June 2015, 12:36 | #21 | Link |
I'm Siri
Join Date: Oct 2012
Location: void
Posts: 2,633
|
okay, I been messing with gdb for the last 1.5 hours and still got no clue about how to get it to debug, literally.
so I made a broken binary of Chikuzen's original code here: https://github.com/IFeelBloated/vsra...eases/tag/test a little help here, tell me what I'm doing wrong plz? |
19th June 2015, 12:49 | #22 | Link |
unsigned int
Join Date: Oct 2012
Location: 🇪🇺
Posts: 760
|
Make sure to add
Code:
-ggdb -g3 -O0 Code:
gdb --args <command that crashes> run bt full
__________________
Buy me a "coffee" and/or hire me to write code! |
19th June 2015, 14:04 | #23 | Link |
I'm Siri
Join Date: Oct 2012
Location: void
Posts: 2,633
|
sorry for the dumbness but, I'm still confused with gdb, like, what kind of command do I have to put in "<command that crashes>", sure it can't be that core.raws.Source.... vaporsynth command, right? it crashes vaporsynth if you try to load any file with core.raws.Source (...)
I updated a new broken x64 binary with debug symbols, someone kind plz, help me do the gdb test. Last edited by feisty2; 19th June 2015 at 14:06. |
19th June 2015, 16:15 | #27 | Link |
I'm Siri
Join Date: Oct 2012
Location: void
Posts: 2,633
|
but 1.rgb is only about 30MB, vspipe should've done the work within seconds, not stuck for 15 minutes, and when I terminated vspipe.exe in taskmgr, t.rgb was still 0kb
and I loaded 1.vpy in vseditor and tried to preview it, it got stuck as well and taskmgr told me it stopped responding Last edited by feisty2; 19th June 2015 at 16:19. |
19th June 2015, 16:43 | #29 | Link |
I'm Siri
Join Date: Oct 2012
Location: void
Posts: 2,633
|
1.rgb https://mega.nz/#!FxIRHZRS!l_Vu7N_0A...BSyK0pemTgDDtY
1.vpy Code:
import vapoursynth as vs core = vs.get_core() clp = core.raws.Source("1.rgb",720,576,src_fmt="GRAY16") clp.set_output () edit: and broken x64 binary with debug symbols https://github.com/IFeelBloated/vsra...eases/tag/test in case you missed #21 Last edited by feisty2; 19th June 2015 at 17:16. |
19th June 2015, 17:52 | #32 | Link |
Pajas Mentales...
Join Date: Dec 2004
Location: Spanishtán
Posts: 496
|
then works ok for me
EDIT: oh. wait. i use this fork https://github.com/myrsloik/vsrawsource sorry :S |
20th June 2015, 05:21 | #37 | Link |
I'm Siri
Join Date: Oct 2012
Location: void
Posts: 2,633
|
reinstalled gcc and things worked out alright, finally
so, new version here v0.3.3 update: added support to GrayS (tested) and GrayH (not tested, cuz I can't find any float16 clip and fmtc got no support for GrayH so no way to test) https://github.com/IFeelBloated/vsra...ases/tag/0.3.3 Last edited by feisty2; 20th June 2015 at 05:29. |
28th January 2016, 03:29 | #38 | Link |
Registered User
Join Date: Jan 2016
Posts: 8
|
I have fixed a bunch of bugs in vsrawsource and almost done adding tests. Also I have added capability to read from a pipe (not tested on windows yet).
I have not compiled or tested on windows yet, if you want to help go for it. https://github.com/walisser/vsrawsource |
2nd April 2016, 15:17 | #39 | Link | |
Registered User
Join Date: Aug 2008
Location: Krasnoyarsk, Russian Federation
Posts: 90
|
Quote:
Code:
video = core.raws.Source(sys.stdin, 1920, 1080, 30000, 1001) # Here goes some processing video.set_output() Code:
ffmpeg -i input.mts -pix_fmt yuv420p -f rawvideo - | \ env PYTHONPATH=/usr/local/lib/python3.4/site-packages vspipe --y4m proc_vs.py - | \ ffmpeg -i pipe: output.mkv Code:
Script evaluation failed: Python exception: 'utf-8' codec can't decode byte 0x80 in position 7291: invalid start byte Last edited by Efenstor; 2nd April 2016 at 15:20. |
|
2nd April 2016, 19:12 | #40 | Link | |
unsigned int
Join Date: Oct 2012
Location: 🇪🇺
Posts: 760
|
Quote:
Code:
video = core.raws.Source("/dev/stdin", 1920, 1080, 30000, 1001)
__________________
Buy me a "coffee" and/or hire me to write code! |
|
|
|