Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cvbs-decode vhsdecode.sync Error #138

Open
aldude999 opened this issue Mar 3, 2024 · 3 comments
Open

cvbs-decode vhsdecode.sync Error #138

aldude999 opened this issue Mar 3, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@aldude999
Copy link

Bug Description

Running cvbs-decode produces the following output

Traceback (most recent call last):
  File "/home/alex/Projects/vhs-decode/vhs-decode/Home_Movies_Alexander_9_4_94/../cvbs-decode", line 2, in <module>
    from cvbsdecode.main import main
  File "/home/alex/Projects/vhs-decode/vhs-decode/cvbsdecode/main.py", line 9, in <module>
    from cvbsdecode.process import CVBSDecode
  File "/home/alex/Projects/vhs-decode/vhs-decode/cvbsdecode/process.py", line 14, in <module>
    import vhsdecode.sync as sync
ModuleNotFoundError: No module named 'vhsdecode.sync'

Steps to Reproduce

  1. Install vhs-decode using the instructions in the README.md
  2. Create a capture of a composite input using a cxadc card
  3. Run: ../cvbs-decode --debug --ntsc -A --cxadc Test_COMPOSITE.u8 composite-test

Expected Behaviour

cvbs-decode properly decodes a file

Environment

  • Decode version: d43225a
  • Operating System: Ubuntu 22.04.4 LTS

Is it related to tbc-video-export?

No

@aldude999 aldude999 added the bug Something isn't working label Mar 3, 2024
@aldude999
Copy link
Author

It appears I can workaround this issue by adding:

import pyximport
pyximport.install()

near the top of cvbsdecode/process.py

@oyvindln
Copy link
Owner

oyvindln commented Mar 3, 2024

The steps in the readme don't cover running the python modules from the git folder directly, it should work if you run the installed python binaries. If you want to run from the folder you have to run python setup.py build_ext --inplace in the vhs-decode folder to build the cython extension modules.

The lines you added in the last commend does the same thing when script is ran. It's currently done in vhs-decode but could add that to cvbs.decode as well

@aldude999
Copy link
Author

aldude999 commented Mar 4, 2024

I think this section might need to be updated then:
https://github.com/oyvindln/vhs-decode/wiki/Command-List#cvbs-composite-decode

Example Usage Command:

./cvbs-decode --debug --pal -A --cxadc composite-test.u8 composite-test

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants