Coder Social home page Coder Social logo

(MacOS) Make sure the audio file is in the mapset folder or try moving the osr2mp4 folder to somewhere else because the current path might have some special characters. about osr2mp4-core HOT 28 CLOSED

uyitroa avatar uyitroa commented on May 18, 2024
(MacOS) Make sure the audio file is in the mapset folder or try moving the osr2mp4 folder to somewhere else because the current path might have some special characters.

from osr2mp4-core.

Comments (28)

uyitroa avatar uyitroa commented on May 18, 2024

send logs

from osr2mp4-core.

brickyosu avatar brickyosu commented on May 18, 2024

send logs

/Users/dax/pythonapps/osr2mp4-app/main.py:172: DeprecationWarning: an integer is required (got type float). Implicit conversion to integers using int is deprecated, and may be removed in a future version of Python.
self.resize(self.width(), height)
Updated
QSoundEffect(qaudio): Error decoding source file:blank

from osr2mp4-core.

uyitroa avatar uyitroa commented on May 18, 2024

can you zip all logs and send it

from osr2mp4-core.

brickyosu avatar brickyosu commented on May 18, 2024

can you zip all logs and send it

logs.zip

all logs.zip

edit edit edit edit: idk what you mean btw because im new to computers and i learned how to compress files.

from osr2mp4-core.

uyitroa avatar uyitroa commented on May 18, 2024

Run the app,
Click start, wait for the error to appear.
Then right click on the Logs folder, choose compress.
Send the compressed folder here.

from osr2mp4-core.

brickyosu avatar brickyosu commented on May 18, 2024

Run the app,
Click start, wait for the error to appear.
Then right click on the Logs folder, choose compress.
Send the compressed folder here.

Logs.zip

from osr2mp4-core.

uyitroa avatar uyitroa commented on May 18, 2024

do brew install zlib jpeg freetype xz ffmpeg in terminal.
What does it print?

from osr2mp4-core.

brickyosu avatar brickyosu commented on May 18, 2024

do brew install zlib jpeg freetype xz ffmpeg in terminal.
What does it print?

curl: (35) error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version
Error: Failed to download resource "theora"
Download failed: https://downloads.xiph.org/releases/theora/libtheora-1.1.1.tar.bz2

from osr2mp4-core.

uyitroa avatar uyitroa commented on May 18, 2024

do brew install ffmpeg

from osr2mp4-core.

brickyosu avatar brickyosu commented on May 18, 2024

do brew install ffmpeg

did the same, error downloading theora.

from osr2mp4-core.

uyitroa avatar uyitroa commented on May 18, 2024

https://evermeet.cx/ffmpeg/ffmpeg-102787-gec8e95296e.7z

Download this,
Unzip it, then put the file ffmpeg in osr2mp4 folder then run the app again.

from osr2mp4-core.

brickyosu avatar brickyosu commented on May 18, 2024

from osr2mp4-core.

brickyosu avatar brickyosu commented on May 18, 2024

https://evermeet.cx/ffmpeg/ffmpeg-102787-gec8e95296e.7z

Download this,
Unzip it, then put the file ffmpeg in osr2mp4 folder then run the app again.

does not work,

/Users/dax/pythonapps/osr2mp4-app/main.py:172: DeprecationWarning: an integer is required (got type float). Implicit conversion to integers using __int__ is deprecated, and may be removed in a future version of Python. self.resize(self.width(), height) Updated QSoundEffect(qaudio): Error decoding source file:blank objc[94819]: Class FIFinderSyncExtensionHost is implemented in both /System/Library/PrivateFrameworks/FinderKit.framework/Versions/A/FinderKit (0x7fffa6ebbcd0) and /System/Library/PrivateFrameworks/FileProvider.framework/OverrideBundles/FinderSyncCollaborationFileProviderOverride.bundle/Contents/MacOS/FinderSyncCollaborationFileProviderOverride (0x11f917cd8). One of the two will be used. Which one is undefined.

from osr2mp4-core.

brickyosu avatar brickyosu commented on May 18, 2024

https://evermeet.cx/ffmpeg/ffmpeg-102787-gec8e95296e.7z
Download this,
Unzip it, then put the file ffmpeg in osr2mp4 folder then run the app again.

does not work,

`/Users/dax/pythonapps/osr2mp4-app/main.py:172: DeprecationWarning: an integer is required (got type float). Implicit conversion to integers using int is deprecated, and may be removed in a future version of Python.
self.resize(self.width(), height)
Updated
QSoundEffect(qaudio): Error decoding source file:blank
objc[94819]: Class FIFinderSyncExtensionHost is implemented in both /System/Library/PrivateFrameworks/FinderKit.framework/Versions/A/FinderKit (0x7fffa6ebbcd0) and /System/Library/PrivateFrameworks/FileProvider.framework/OverrideBundles/FinderSyncCollaborationFileProviderOverride.bundle/Contents/MacOS/FinderSyncCollaborationFileProviderOverride (0x11f917cd8). One of the two will be used. Which one is undefined.

`

https://evermeet.cx/ffmpeg/ffmpeg-102787-gec8e95296e.7z

Download this,
Unzip it, then put the file ffmpeg in osr2mp4 folder then run the app again.

wait a min, install.py does this:

skipping 'ccurves.cpp' Cython extension (up-to-date)

Done compiling ccurves module. osr2mp4 should run properly now.

Trying to compile optional feature ffmpeg video writer...
running build_ext
skipping 'PyFrameWriter.cpp' Cython extension (up-to-date)
building 'osr2mp4cv' extension
clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Iinclude -I/Users/dax/.brew/lib/python3.9/site-packages/numpy/core/include -I/Users/dax/.brew/include -I/Users/dax/.brew/opt/[email protected]/include -I/Users/dax/.brew/opt/sqlite/include -I/Users/dax/.brew/opt/[email protected]/Frameworks/Python.framework/Versions/3.9/include/python3.9 -c FrameWriter.cpp -o build/temp.macosx-10.13-x86_64-3.9/FrameWriter.o -std=c++11 -w
clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Iinclude -I/Users/dax/.brew/lib/python3.9/site-packages/numpy/core/include -I/Users/dax/.brew/include -I/Users/dax/.brew/opt/[email protected]/include -I/Users/dax/.brew/opt/sqlite/include -I/Users/dax/.brew/opt/[email protected]/Frameworks/Python.framework/Versions/3.9/include/python3.9 -c PyFrameWriter.cpp -o build/temp.macosx-10.13-x86_64-3.9/PyFrameWriter.o -std=c++11 -w
clang++ -bundle -undefined dynamic_lookup build/temp.macosx-10.13-x86_64-3.9/FrameWriter.o build/temp.macosx-10.13-x86_64-3.9/PyFrameWriter.o -Llib -L/Users/dax/.brew/lib -L/Users/dax/.brew/opt/[email protected]/lib -L/Users/dax/.brew/opt/sqlite/lib -lavcodec -lavutil -lavformat -lswresample -lswscale -o /Users/dax/.brew/lib/python3.9/site-packages/osr2mp4/VideoProcess/FFmpegWriter/osr2mp4cv.cpython-39-darwin.so
ld: library not found for -lavcodec
clang: error: linker command failed with exit code 1 (use -v to see invocation)
error: command '/usr/bin/clang++' failed with exit code 1
Traceback (most recent call last):
  File "/Users/dax/pythonapps/osr2mp4-app/install.py", line 35, in <module>
    subprocess.check_call([sys.executable, "setup.py", "build_ext", "--inplace"])
  File "/Users/dax/.brew/Cellar/[email protected]/3.9.5/Frameworks/Python.framework/Versions/3.9/lib/python3.9/subprocess.py", line 373, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['/Users/dax/.brew/opt/[email protected]/bin/python3.9', 'setup.py', 'build_ext', '--inplace']' returned non-zero exit status 1.

from osr2mp4-core.

uyitroa avatar uyitroa commented on May 18, 2024

you are using python3.9, you need python3.7.8 to work.

from osr2mp4-core.

uyitroa avatar uyitroa commented on May 18, 2024

also what error are you getting when clicking start? Still "make sure audio file is blabla"?

from osr2mp4-core.

brickyosu avatar brickyosu commented on May 18, 2024

also what error are you getting when clicking start? Still "make sure audio file is blabla"?

make sure audio file is in mapset folder

from osr2mp4-core.

brickyosu avatar brickyosu commented on May 18, 2024

you are using python3.9, you need python3.7.8 to work.

when I do the pyenv init thingy it does not work. i use bash_profile.

from osr2mp4-core.

uyitroa avatar uyitroa commented on May 18, 2024

when I do the pyenv init thingy it does not work. i use bash_profile.

what? what does not work?

did you use pyenv to install python or did you install python manually?
If you followed correctly the tutorial you should have installed python3.7.8, not python3.9.

Well you can just uninstall pyenv then download python3.7.8 and install it manually which will be easier. (Just search python on google then click on the first link, then choose python version 3.7.8 then download and install it).

Also repeat this:

Run the app,
Click start, wait for the error to appear.
Then right click on the Logs folder, choose compress.
Send the compressed folder here.

from osr2mp4-core.

brickyosu avatar brickyosu commented on May 18, 2024

when I do the pyenv init thingy it does not work. i use bash_profile.

what? what does not work?

did you use pyenv to install python or did you install python manually?
If you followed correctly the tutorial you should have installed python3.7.8, not python3.9.

Well you can just uninstall pyenv then download python3.7.8 and install it manually which will be easier. (Just search python on google then click on the first link, then choose python version 3.7.8 then download and install it).

Also repeat this:

Run the app,
Click start, wait for the error to appear.
Then right click on the Logs folder, choose compress.
Send the compressed folder here.

wait, when I put in
export PYENV_ROOT="$HOME/.pyenv" export PATH="$PYENV_ROOT/bin:$PATH" eval "$(pyenv init --path)"

(its not one line)

to bash_profile, it just says

WARNING: pyenv init -no longer sets PATH. Runpyenv init to see the necessary changes to make to your configuration.

from osr2mp4-core.

uyitroa avatar uyitroa commented on May 18, 2024

do you have discord or something like that? It will be much easier to debug and fix the issue. Also can you zip the logs folder and send it

from osr2mp4-core.

brickyosu avatar brickyosu commented on May 18, 2024

do you have discord or something like that? It will be much easier to debug and fix the issue. Also can you zip the logs folder and send it

my dad install discord but me is a kid

I looked it up and it say 13+

Logs.zip

from osr2mp4-core.

brickyosu avatar brickyosu commented on May 18, 2024

when I do the pyenv init thingy it does not work. i use bash_profile.

what? what does not work?

did you use pyenv to install python or did you install python manually?
If you followed correctly the tutorial you should have installed python3.7.8, not python3.9.

Well you can just uninstall pyenv then download python3.7.8 and install it manually which will be easier. (Just search python on google then click on the first link, then choose python version 3.7.8 then download and install it).

Also repeat this:

Run the app,
Click start, wait for the error to appear.
Then right click on the Logs folder, choose compress.
Send the compressed folder here.

btw I'm not admin on this macintosh

from osr2mp4-core.

uyitroa avatar uyitroa commented on May 18, 2024

did you put ffmpeg in osr2mp4 folder?

from osr2mp4-core.

uyitroa avatar uyitroa commented on May 18, 2024

If it still doesn't work. Follow these steps:
Put ffmpeg file back to Downloads folder.
Open terminal, do
cd ~/Downloads/
then sudo mkdir -p /usr/local/bin/
(you might need to enter the password, also when you type the password, nothing will be shown in the terminal but you can still type it.)
Then do:
sudo cp ./ffmpeg /usr/local/bin
after that, you do:
sudo chmod ugo+x /usr/local/bin/ffmpeg

after that, open -e ~/.bash_profile

then add this to the file at the end:
export PATH="/usr/local/bin:$PATH"

Then restart terminal.

Now you need to reinstall python because you installed the wrong python version,
brew uninstall pyenv
brew uninstall python

Then download the right version here: https://www.python.org/ftp/python/3.7.8/python-3.7.8-macosx10.9.pkg
Install it. Then restart your pc.
Then redo "Configuring and Running PyEnv and osr2mp4" (of MacOSLinuxInstall.md" starting from step 4.

from osr2mp4-core.

brickyosu avatar brickyosu commented on May 18, 2024

If it still doesn't work. Follow these steps:
Put FFmpeg file back to Downloads folder. Open terminal, do cd ~/Downloads/thensudo mkdir -p /usr/local/bin/(you might need to enter the password, also when you type the password, nothing will be shown in the terminal but you can still type it.) Then do:sudo cp ./ffmpeg /usr/local/binafter that, you do:sudo chmod ugo+x /usr/local/bin/ffmpeg`

after that, open -e ~/.bash_profile

then add this to the file at the end:
export PATH="/usr/local/bin:$PATH"

Then restart terminal.

Now you need to reinstall python because you installed the wrong python version,
brew uninstall pyenv
brew uninstall python

Then download the right version here: https://www.python.org/ftp/python/3.7.8/python-3.7.8-macosx10.9.pkg
Install it. Then restart your pc.
Then redo "Configuring and Running PyEnv and osr2mp4" (of MacOSLinuxInstall.md" starting from step 4.

I'm not a sudoer in the sudoers file, and I am on high sierra and don't have admin perms since my mom is strict and she won't let me download "viruses" on my computer though it isn't a virus.

from osr2mp4-core.

uyitroa avatar uyitroa commented on May 18, 2024

my dad install discord but me is a kid

I looked it up and it say 13+

sorry osr2mp4 is 13+

from osr2mp4-core.

brickyosu avatar brickyosu commented on May 18, 2024

my dad install discord but me is a kid

I looked it up and it say 13+

sorry osr2mp4 is 13+

noooooooooooo

now wut do i do :(

from osr2mp4-core.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.