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

Program cannot run properly #15

Open
Sirius-1110 opened this issue Mar 18, 2024 · 2 comments
Open

Program cannot run properly #15

Sirius-1110 opened this issue Mar 18, 2024 · 2 comments

Comments

@Sirius-1110
Copy link

Thank you for sharing. When I tried to open the bin file, I encountered the above problem. Then I set up some file links,
sudo ln -s /usr/lib/x86_64-linux-gnu/libva.so.2.700.0 /usr/lib/x86_64-linux-gnu/libva.so.1
sudo ln -s /usr/lib/x86_64-linux-gnu/libx264.so.155 /usr/lib/x86_64-linux-gnu/libx264.so.142
sudo ln -s /usr/lib/x86_64-linux-gnu/libass.so.9.0.2 /usr/lib/x86_64-linux-gnu/libass.so.4

Finally, I ran into this problem again:
./ScreenRecorder: symbol lookup error: ./ScreenRecorder: undefined symbol: x264_bit_depth
Is this because my x264 version is inconsistent with the project?

@Sirius-1110
Copy link
Author

After I recompiled and ran it, the program output the following results

[mp4 @ 0x55a2da6286c0] Using AVStream.codec to pass codec parameters to muxers is deprecated, use AVStream.codecpar instead.
all required functions are registered successfully
enter No. of frames to capture : 1
[mpeg4 @ 0x55a2da629400] AVFrame.format is not set
[mpeg4 @ 0x55a2da629400] AVFrame.width or height is not set

program executed successfully

file closed sucessfully

@Sirius-1110
Copy link
Author

Sirius-1110 commented Mar 18, 2024

After I recompiled and ran it, the program output the following results

[mp4 @ 0x55a2da6286c0] Using AVStream.codec to pass codec parameters to muxers is deprecated, use AVStream.codecpar instead.
all required functions are registered successfully
enter No. of frames to capture : 1
[mpeg4 @ 0x55a2da629400] AVFrame.format is not set
[mpeg4 @ 0x55a2da629400] AVFrame.width or height is not set

program executed successfully

file closed sucessfully

output.mp4 is only 200+ bytes and does not play properly like sample_video.mp4

ffmpeg version:
libavutil 56. 31.100 / 56. 31.100
libavcodec 58. 54.100 / 58. 54.100
libavformat 58. 29.100 / 58. 29.100
libavdevice 58. 8.100 / 58. 8.100
libavfilter 7. 57.100 / 7. 57.100
libavresample 4. 0. 0 / 4. 0. 0
libswscale 5. 5.100 / 5. 5.100
libswresample 3. 5.100 / 3. 5.100
libpostproc 55. 5.100 / 55. 5.100
Hyper fast Audio and Video encoder
usage: ffmpeg [options] [[infile options] -i infile]... {[outfile options] outfile}...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant