We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I build full static binary with nvenc support, but when i tried to use ffmpeg transcondingi get Segmentation fault.
Successfully opened the file. Parsing a group of options: output url /home/onestream/iptv/storage/app//streams/42462cde-0771-414c-84a0-06251a2c4d2a.m3u8. Applying option vcodec (force video codec ('copy' to copy stream)) with argument h264_nvenc. Applying option acodec (force audio codec ('copy' to copy stream)) with argument copy. Applying option aspect (set aspect ratio (4:3, 16:9 or 1.3333, 1.7777)) with argument 4:3. Applying option sn (disable subtitle) with argument 1. Applying option f (force format) with argument hls. Successfully parsed a group of options. Opening an output file: /home/onestream/iptv/storage/app//streams/42462cde-0771-414c-84a0-06251a2c4d2a.m3u8. Successfully opened the file. ) = ? ERESTARTNOHAND (To be restarted if no handler) --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_DUMPED, si_pid=2237946, si_uid=0, si_status=SIGSEGV, si_utime=6, si_stime=2} --- write(7, "\21", 1) = 1 rt_sigreturn({mask=[]}) = -1 EINTR (Interrupted system call) read(6, "\21", 1) = 1 read(6, 0x7ffd380866c7, 1) = -1 EAGAIN (Resource temporarily unavailable) rt_sigprocmask(SIG_BLOCK, ~[RTMIN RT_1], [], 8) = 0 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 wait4(2237946, [{WIFSIGNALED(s) && WTERMSIG(s) == SIGSEGV && WCOREDUMP(s)}], WNOHANG|WSTOPPED, NULL) = 2237946 rt_sigaction(SIGHUP, {sa_handler=0x562068c60d10, sa_mask=~[KILL STOP RTMIN RT_1], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7fd5f55e9090}, NULL, 8) = 0 rt_sigaction(SIGINT, {sa_handler=0x562068c60d10, sa_mask=~[KILL STOP RTMIN RT_1], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7fd5f55e9090}, NULL, 8) = 0 rt_sigaction(SIGQUIT, {sa_handler=0x562068c60d10, sa_mask=~[KILL STOP RTMIN RT_1], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7fd5f55e9090}, NULL, 8) = 0 rt_sigaction(SIGUSR1, {sa_handler=0x562068c60d10, sa_mask=~[KILL STOP RTMIN RT_1], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7fd5f55e9090}, NULL, 8) = 0 rt_sigaction(SIGUSR2, {sa_handler=0x562068c60d10, sa_mask=~[KILL STOP RTMIN RT_1], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7fd5f55e9090}, NULL, 8) = 0 rt_sigaction(SIGPIPE, {sa_handler=SIG_IGN, sa_mask=~[KILL STOP RTMIN RT_1], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7fd5f55e9090}, NULL, 8) = 0 rt_sigaction(SIGALRM, {sa_handler=0x562068c60d10, sa_mask=~[KILL STOP RTMIN RT_1], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7fd5f55e9090}, NULL, 8) = 0 rt_sigaction(SIGTERM, {sa_handler=0x562068c60d10, sa_mask=~[KILL STOP RTMIN RT_1], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7fd5f55e9090}, NULL, 8) = 0 rt_sigaction(SIGCHLD, {sa_handler=0x562068c60d10, sa_mask=~[KILL STOP RTMIN RT_1], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7fd5f55e9090}, NULL, 8) = 0 rt_sigaction(SIGCONT, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7fd5f55e9090}, NULL, 8) = 0 rt_sigaction(SIGTSTP, {sa_handler=0x562068c60d10, sa_mask=~[KILL STOP RTMIN RT_1], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7fd5f55e9090}, NULL, 8) = 0 close(6) = 0 close(7) = 0 getuid() = 0 openat(AT_FDCWD, "/etc/login.defs", O_RDONLY) = 5 fstat(5, {st_mode=S_IFREG|0644, st_size=10550, ...}) = 0 read(5, "#\n# /etc/login.defs - Configurat"..., 4096) = 4096 read(5, " issuing \n# the \"mesg y\" command"..., 4096) = 4096 read(5, "algorithm compatible with the on"..., 4096) = 2358 close(5) = 0 sendto(4, "<86>Apr 19 10:37:54 sudo: pam_un"..., 78, MSG_NOSIGNAL, NULL, 0) = 78 socket(AF_NETLINK, SOCK_RAW, NETLINK_AUDIT) = 5 fcntl(5, F_SETFD, FD_CLOEXEC) = 0 sendto(5, {{len=176, type=0x452 /* NLMSG_??? */, flags=NLM_F_REQUEST|NLM_F_ACK, seq=5, pid=0}, "\x6f\x70\x3d\x50\x41\x4d\x3a\x73\x65\x73\x73\x69\x6f\x6e\x5f\x63\x6c\x6f\x73\x65\x20\x67\x72\x61\x6e\x74\x6f\x72\x73\x3d\x70\x61"...}, 176, 0, {sa_family=AF_NETLINK, nl_pid=0, nl_groups=00000000}, 12) = 176 poll([{fd=5, events=POLLIN}], 1, 500) = 1 ([{fd=5, revents=POLLIN}]) recvfrom(5, {{len=36, type=NLMSG_ERROR, flags=NLM_F_CAPPED, seq=5, pid=3623589974}, {error=0, msg={len=176, type=0x452 /* AUDIT_??? */, flags=NLM_F_REQUEST|NLM_F_ACK, seq=5, pid=0}}}, 8988, MSG_PEEK|MSG_DONTWAIT, {sa_family=AF_NETLINK, nl_pid=0, nl_groups=00000000}, [12]) = 36 recvfrom(5, {{len=36, type=NLMSG_ERROR, flags=NLM_F_CAPPED, seq=5, pid=3623589974}, {error=0, msg={len=176, type=0x452 /* AUDIT_??? */, flags=NLM_F_REQUEST|NLM_F_ACK, seq=5, pid=0}}}, 8988, MSG_DONTWAIT, {sa_family=AF_NETLINK, nl_pid=0, nl_groups=00000000}, [12]) = 36 close(5) = 0 getuid() = 0 openat(AT_FDCWD, "/etc/login.defs", O_RDONLY) = 5 fstat(5, {st_mode=S_IFREG|0644, st_size=10550, ...}) = 0 read(5, "#\n# /etc/login.defs - Configurat"..., 4096) = 4096 read(5, " issuing \n# the \"mesg y\" command"..., 4096) = 4096 read(5, "algorithm compatible with the on"..., 4096) = 2358 close(5) = 0 socket(AF_NETLINK, SOCK_RAW, NETLINK_AUDIT) = 5 fcntl(5, F_SETFD, FD_CLOEXEC) = 0 sendto(5, {{len=136, type=0x450 /* NLMSG_??? */, flags=NLM_F_REQUEST|NLM_F_ACK, seq=6, pid=0}, "\x6f\x70\x3d\x50\x41\x4d\x3a\x73\x65\x74\x63\x72\x65\x64\x20\x67\x72\x61\x6e\x74\x6f\x72\x73\x3d\x70\x61\x6d\x5f\x70\x65\x72\x6d"...}, 136, 0, {sa_family=AF_NETLINK, nl_pid=0, nl_groups=00000000}, 12) = 136 poll([{fd=5, events=POLLIN}], 1, 500) = 1 ([{fd=5, revents=POLLIN}]) recvfrom(5, {{len=36, type=NLMSG_ERROR, flags=NLM_F_CAPPED, seq=6, pid=3224493434}, {error=0, msg={len=136, type=0x450 /* AUDIT_??? */, flags=NLM_F_REQUEST|NLM_F_ACK, seq=6, pid=0}}}, 8988, MSG_PEEK|MSG_DONTWAIT, {sa_family=AF_NETLINK, nl_pid=0, nl_groups=00000000}, [12]) = 36 recvfrom(5, {{len=36, type=NLMSG_ERROR, flags=NLM_F_CAPPED, seq=6, pid=3224493434}, {error=0, msg={len=136, type=0x450 /* AUDIT_??? */, flags=NLM_F_REQUEST|NLM_F_ACK, seq=6, pid=0}}}, 8988, MSG_DONTWAIT, {sa_family=AF_NETLINK, nl_pid=0, nl_groups=00000000}, [12]) = 36 close(5) = 0 munmap(0x7fd5f581c000, 20712) = 0 munmap(0x7fd5f50f9000, 115680) = 0 munmap(0x7fd5f50ad000, 238280) = 0 munmap(0x7fd5f5042000, 117336) = 0 munmap(0x7fd5f5817000, 16424) = 0 munmap(0x7fd5f5812000, 16448) = 0 munmap(0x7fd5f50f3000, 20496) = 0 munmap(0x7fd5f50ea000, 33112) = 0 munmap(0x7fd5f50a8000, 16624) = 0 munmap(0x7fd5f4fcc000, 479904) = 0 munmap(0x7fd5f4fc7000, 16688) = 0 prlimit64(0, RLIMIT_CORE, NULL, {rlim_cur=0, rlim_max=RLIM64_INFINITY}) = 0 prlimit64(0, RLIMIT_CORE, {rlim_cur=0, rlim_max=0}, NULL) = 0 prctl(PR_GET_DUMPABLE) = 1 (SUID_DUMP_USER) prctl(PR_SET_DUMPABLE, SUID_DUMP_DISABLE) = 0 rt_sigaction(SIGSEGV, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7fd5f55e9090}, NULL, 8) = 0 getpid() = 2237945 kill(2237945, SIGSEGV) = 0 --- SIGSEGV {si_signo=SIGSEGV, si_code=SI_USER, si_pid=2237945, si_uid=0} --- +++ killed by SIGSEGV +++ Segmentation fault (core dumped)
The text was updated successfully, but these errors were encountered:
FFmpeg command that i used sudo ./ffmpeg -y -nostdin -hide_banner -err_detect ignore_err -loglevel debug -hwaccel cuvid -hwaccel_output_format cuda -vcodec h264_cuvid -hwaccel_device 0 -start_at_zero -copyts -vsync 0 -correct_ts_overflow 0 -avoid_negative_ts disabled -max_interleave_delta 0 -probesize 50000 -analyzeduration 50000 -progress "path_data" -i "input_url" -vcodec h264_nvenc -acodec copy -aspect 4:3 -sn -f hls -hls_segment_type mpegts -hls_time 10 -hls_allow_cache 1 -hls_start_number_source epoch -hls_ts_options mpegts_flags=+initial_discontinuity:mpegts_copyts=1 -hls_delete_threshold 5 -hls_list_size 5 -hls_flags delete_segments+append_list+discont_start+omit_endlist -hls_segment_filename "path_for_ts" "path_playlist"
sudo ./ffmpeg -y -nostdin -hide_banner -err_detect ignore_err -loglevel debug -hwaccel cuvid -hwaccel_output_format cuda -vcodec h264_cuvid -hwaccel_device 0 -start_at_zero -copyts -vsync 0 -correct_ts_overflow 0 -avoid_negative_ts disabled -max_interleave_delta 0 -probesize 50000 -analyzeduration 50000 -progress "path_data" -i "input_url" -vcodec h264_nvenc -acodec copy -aspect 4:3 -sn -f hls -hls_segment_type mpegts -hls_time 10 -hls_allow_cache 1 -hls_start_number_source epoch -hls_ts_options mpegts_flags=+initial_discontinuity:mpegts_copyts=1 -hls_delete_threshold 5 -hls_list_size 5 -hls_flags delete_segments+append_list+discont_start+omit_endlist -hls_segment_filename "path_for_ts" "path_playlist"
Sorry, something went wrong.
No branches or pull requests
I build full static binary with nvenc support, but when i tried to use ffmpeg transcondingi get Segmentation fault.
Successfully opened the file. Parsing a group of options: output url /home/onestream/iptv/storage/app//streams/42462cde-0771-414c-84a0-06251a2c4d2a.m3u8. Applying option vcodec (force video codec ('copy' to copy stream)) with argument h264_nvenc. Applying option acodec (force audio codec ('copy' to copy stream)) with argument copy. Applying option aspect (set aspect ratio (4:3, 16:9 or 1.3333, 1.7777)) with argument 4:3. Applying option sn (disable subtitle) with argument 1. Applying option f (force format) with argument hls. Successfully parsed a group of options. Opening an output file: /home/onestream/iptv/storage/app//streams/42462cde-0771-414c-84a0-06251a2c4d2a.m3u8. Successfully opened the file. ) = ? ERESTARTNOHAND (To be restarted if no handler) --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_DUMPED, si_pid=2237946, si_uid=0, si_status=SIGSEGV, si_utime=6, si_stime=2} --- write(7, "\21", 1) = 1 rt_sigreturn({mask=[]}) = -1 EINTR (Interrupted system call) read(6, "\21", 1) = 1 read(6, 0x7ffd380866c7, 1) = -1 EAGAIN (Resource temporarily unavailable) rt_sigprocmask(SIG_BLOCK, ~[RTMIN RT_1], [], 8) = 0 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 wait4(2237946, [{WIFSIGNALED(s) && WTERMSIG(s) == SIGSEGV && WCOREDUMP(s)}], WNOHANG|WSTOPPED, NULL) = 2237946 rt_sigaction(SIGHUP, {sa_handler=0x562068c60d10, sa_mask=~[KILL STOP RTMIN RT_1], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7fd5f55e9090}, NULL, 8) = 0 rt_sigaction(SIGINT, {sa_handler=0x562068c60d10, sa_mask=~[KILL STOP RTMIN RT_1], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7fd5f55e9090}, NULL, 8) = 0 rt_sigaction(SIGQUIT, {sa_handler=0x562068c60d10, sa_mask=~[KILL STOP RTMIN RT_1], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7fd5f55e9090}, NULL, 8) = 0 rt_sigaction(SIGUSR1, {sa_handler=0x562068c60d10, sa_mask=~[KILL STOP RTMIN RT_1], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7fd5f55e9090}, NULL, 8) = 0 rt_sigaction(SIGUSR2, {sa_handler=0x562068c60d10, sa_mask=~[KILL STOP RTMIN RT_1], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7fd5f55e9090}, NULL, 8) = 0 rt_sigaction(SIGPIPE, {sa_handler=SIG_IGN, sa_mask=~[KILL STOP RTMIN RT_1], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7fd5f55e9090}, NULL, 8) = 0 rt_sigaction(SIGALRM, {sa_handler=0x562068c60d10, sa_mask=~[KILL STOP RTMIN RT_1], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7fd5f55e9090}, NULL, 8) = 0 rt_sigaction(SIGTERM, {sa_handler=0x562068c60d10, sa_mask=~[KILL STOP RTMIN RT_1], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7fd5f55e9090}, NULL, 8) = 0 rt_sigaction(SIGCHLD, {sa_handler=0x562068c60d10, sa_mask=~[KILL STOP RTMIN RT_1], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7fd5f55e9090}, NULL, 8) = 0 rt_sigaction(SIGCONT, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7fd5f55e9090}, NULL, 8) = 0 rt_sigaction(SIGTSTP, {sa_handler=0x562068c60d10, sa_mask=~[KILL STOP RTMIN RT_1], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7fd5f55e9090}, NULL, 8) = 0 close(6) = 0 close(7) = 0 getuid() = 0 openat(AT_FDCWD, "/etc/login.defs", O_RDONLY) = 5 fstat(5, {st_mode=S_IFREG|0644, st_size=10550, ...}) = 0 read(5, "#\n# /etc/login.defs - Configurat"..., 4096) = 4096 read(5, " issuing \n# the \"mesg y\" command"..., 4096) = 4096 read(5, "algorithm compatible with the on"..., 4096) = 2358 close(5) = 0 sendto(4, "<86>Apr 19 10:37:54 sudo: pam_un"..., 78, MSG_NOSIGNAL, NULL, 0) = 78 socket(AF_NETLINK, SOCK_RAW, NETLINK_AUDIT) = 5 fcntl(5, F_SETFD, FD_CLOEXEC) = 0 sendto(5, {{len=176, type=0x452 /* NLMSG_??? */, flags=NLM_F_REQUEST|NLM_F_ACK, seq=5, pid=0}, "\x6f\x70\x3d\x50\x41\x4d\x3a\x73\x65\x73\x73\x69\x6f\x6e\x5f\x63\x6c\x6f\x73\x65\x20\x67\x72\x61\x6e\x74\x6f\x72\x73\x3d\x70\x61"...}, 176, 0, {sa_family=AF_NETLINK, nl_pid=0, nl_groups=00000000}, 12) = 176 poll([{fd=5, events=POLLIN}], 1, 500) = 1 ([{fd=5, revents=POLLIN}]) recvfrom(5, {{len=36, type=NLMSG_ERROR, flags=NLM_F_CAPPED, seq=5, pid=3623589974}, {error=0, msg={len=176, type=0x452 /* AUDIT_??? */, flags=NLM_F_REQUEST|NLM_F_ACK, seq=5, pid=0}}}, 8988, MSG_PEEK|MSG_DONTWAIT, {sa_family=AF_NETLINK, nl_pid=0, nl_groups=00000000}, [12]) = 36 recvfrom(5, {{len=36, type=NLMSG_ERROR, flags=NLM_F_CAPPED, seq=5, pid=3623589974}, {error=0, msg={len=176, type=0x452 /* AUDIT_??? */, flags=NLM_F_REQUEST|NLM_F_ACK, seq=5, pid=0}}}, 8988, MSG_DONTWAIT, {sa_family=AF_NETLINK, nl_pid=0, nl_groups=00000000}, [12]) = 36 close(5) = 0 getuid() = 0 openat(AT_FDCWD, "/etc/login.defs", O_RDONLY) = 5 fstat(5, {st_mode=S_IFREG|0644, st_size=10550, ...}) = 0 read(5, "#\n# /etc/login.defs - Configurat"..., 4096) = 4096 read(5, " issuing \n# the \"mesg y\" command"..., 4096) = 4096 read(5, "algorithm compatible with the on"..., 4096) = 2358 close(5) = 0 socket(AF_NETLINK, SOCK_RAW, NETLINK_AUDIT) = 5 fcntl(5, F_SETFD, FD_CLOEXEC) = 0 sendto(5, {{len=136, type=0x450 /* NLMSG_??? */, flags=NLM_F_REQUEST|NLM_F_ACK, seq=6, pid=0}, "\x6f\x70\x3d\x50\x41\x4d\x3a\x73\x65\x74\x63\x72\x65\x64\x20\x67\x72\x61\x6e\x74\x6f\x72\x73\x3d\x70\x61\x6d\x5f\x70\x65\x72\x6d"...}, 136, 0, {sa_family=AF_NETLINK, nl_pid=0, nl_groups=00000000}, 12) = 136 poll([{fd=5, events=POLLIN}], 1, 500) = 1 ([{fd=5, revents=POLLIN}]) recvfrom(5, {{len=36, type=NLMSG_ERROR, flags=NLM_F_CAPPED, seq=6, pid=3224493434}, {error=0, msg={len=136, type=0x450 /* AUDIT_??? */, flags=NLM_F_REQUEST|NLM_F_ACK, seq=6, pid=0}}}, 8988, MSG_PEEK|MSG_DONTWAIT, {sa_family=AF_NETLINK, nl_pid=0, nl_groups=00000000}, [12]) = 36 recvfrom(5, {{len=36, type=NLMSG_ERROR, flags=NLM_F_CAPPED, seq=6, pid=3224493434}, {error=0, msg={len=136, type=0x450 /* AUDIT_??? */, flags=NLM_F_REQUEST|NLM_F_ACK, seq=6, pid=0}}}, 8988, MSG_DONTWAIT, {sa_family=AF_NETLINK, nl_pid=0, nl_groups=00000000}, [12]) = 36 close(5) = 0 munmap(0x7fd5f581c000, 20712) = 0 munmap(0x7fd5f50f9000, 115680) = 0 munmap(0x7fd5f50ad000, 238280) = 0 munmap(0x7fd5f5042000, 117336) = 0 munmap(0x7fd5f5817000, 16424) = 0 munmap(0x7fd5f5812000, 16448) = 0 munmap(0x7fd5f50f3000, 20496) = 0 munmap(0x7fd5f50ea000, 33112) = 0 munmap(0x7fd5f50a8000, 16624) = 0 munmap(0x7fd5f4fcc000, 479904) = 0 munmap(0x7fd5f4fc7000, 16688) = 0 prlimit64(0, RLIMIT_CORE, NULL, {rlim_cur=0, rlim_max=RLIM64_INFINITY}) = 0 prlimit64(0, RLIMIT_CORE, {rlim_cur=0, rlim_max=0}, NULL) = 0 prctl(PR_GET_DUMPABLE) = 1 (SUID_DUMP_USER) prctl(PR_SET_DUMPABLE, SUID_DUMP_DISABLE) = 0 rt_sigaction(SIGSEGV, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7fd5f55e9090}, NULL, 8) = 0 getpid() = 2237945 kill(2237945, SIGSEGV) = 0 --- SIGSEGV {si_signo=SIGSEGV, si_code=SI_USER, si_pid=2237945, si_uid=0} --- +++ killed by SIGSEGV +++ Segmentation fault (core dumped)
The text was updated successfully, but these errors were encountered: