Open Sirius-1110 opened 5 months ago
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
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}...
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?