Re: [FFmpeg-user] NDI issues

2017-11-01 Thread Burner

On 01/11/17 15:18, Carl Eugen Hoyos wrote:


No!
(Thank you for not using pastebin)

[...]


Thread 6 "ffmpeg_g" received signal SIGILL, Illegal instruction.
[Switching to Thread 0x7fffe8b8e700 (LWP 6652)]
0x779b199b in ?? () from /home/burner/ffmpeg_build/lib/libndi.so.3

This look as if the crash is not related to FFmpeg, I suggest
you report to the libndi developers.

(In theory, FFmpeg may abuse the api but this will be easier
to decide for them.)

Carl Eugen
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".


I'll do that, thank you for your help :)

//Burner

___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] NDI issues

2017-11-01 Thread Carl Eugen Hoyos
2017-11-01 15:06 GMT+01:00 Burner :
> On 01/11/17 13:10, Carl Eugen Hoyos wrote:
>>
>> 2017-11-01 9:53 GMT+01:00 Burner :
>>>
>>> I'm attempting to capture and record an NDI stream, but
>>> I keep getting an "Illegal instruction" error
>>
>> Please provide backtrace, disassembly and register dump,
>> see https://ffmpeg.org/bugreports.html
>> (I would not be surprised if the crash cannot be fixed
>> within FFmpeg, let's check that before opening a ticket.)
>
> Here we go, sorry about the size of the message, should i
> use pastebin in future?

No!
(Thank you for not using pastebin)

[...]

> Thread 6 "ffmpeg_g" received signal SIGILL, Illegal instruction.
> [Switching to Thread 0x7fffe8b8e700 (LWP 6652)]
> 0x779b199b in ?? () from /home/burner/ffmpeg_build/lib/libndi.so.3

This look as if the crash is not related to FFmpeg, I suggest
you report to the libndi developers.

(In theory, FFmpeg may abuse the api but this will be easier
to decide for them.)

Carl Eugen
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] NDI issues

2017-11-01 Thread Burner

On 01/11/17 13:10, Carl Eugen Hoyos wrote:

2017-11-01 9:53 GMT+01:00 Burner :

I'm attempting to capture and record an NDI stream, but
I keep getting an "Illegal instruction" error

Please provide backtrace, disassembly and register dump,
see https://ffmpeg.org/bugreports.html
(I would not be surprised if the crash cannot be fixed
within FFmpeg, let's check that before opening a ticket.)


Here we go, sorry about the size of the message, should i use pastebin 
in future?


~/ffmpeg_sources/ffmpeg$ gdb ./ffmpeg_g
GNU gdb (Debian 7.12-6) 7.12.0.20161007-git
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later 


This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
.
Find the GDB manual and other documentation resources online at:
.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from ./ffmpeg_g...done.
(gdb) r -loglevel debug -f libndi_newtek -i 'DESKTOP-6GEPVNC (vMix - 
Output 1)' -pix_fmt yuv420p -preset veryfast -threads 1 -s 1280x720 -r:v 
3/1001 -y test.mp4
Starting program: /home/burner/ffmpeg_sources/ffmpeg/ffmpeg_g -loglevel 
debug -f libndi_newtek -i 'DESKTOP-6GEPVNC (vMix - Output 1)' -pix_fmt 
yuv420p -preset veryfast -threads 1 -s 1280x720 -r:v 3/1001 -y test.mp4

[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
ffmpeg version N-88409-ga8305b0ea3 Copyright (c) 2000-2017 the FFmpeg 
developers

  built with gcc 6.3.0 (Debian 6.3.0-18) 20170516
  configuration: --prefix=/home/burner/ffmpeg_build 
--pkg-config-flags=--static 
--extra-cflags=-I/home/burner/ffmpeg_build/include 
--extra-ldflags=-L/home/burner/ffmpeg_build/lib --extra-libs='-lpthread 
-lm' --bindir=/home/burner/bin --enable-gpl --enable-libndi_newtek 
--enable-libass --enable-libfdk-aac --enable-libfreetype 
--enable-libmp3lame --enable-libopus --enable-libtheora 
--enable-libvorbis --enable-libvpx --enable-libx264 --enable-libx265 
--enable-nonfree

  libavutil  56.  0.100 / 56.  0.100
  libavcodec 58.  1.100 / 58.  1.100
  libavformat    58.  0.102 / 58.  0.102
  libavdevice    58.  0.100 / 58.  0.100
  libavfilter 7.  0.101 /  7.  0.101
  libswscale  5.  0.101 /  5.  0.101
  libswresample   3.  0.100 /  3.  0.100
  libpostproc    55.  0.100 / 55.  0.100
Splitting the commandline.
Reading option '-loglevel' ... matched as option 'loglevel' (set logging 
level) with argument 'debug'.
Reading option '-f' ... matched as option 'f' (force format) with 
argument 'libndi_newtek'.
Reading option '-i' ... matched as input url with argument 
'DESKTOP-6GEPVNC (vMix - Output 1)'.
Reading option '-pix_fmt' ... matched as option 'pix_fmt' (set pixel 
format) with argument 'yuv420p'.
Reading option '-preset' ... matched as AVOption 'preset' with argument 
'veryfast'.
Reading option '-threads' ... matched as AVOption 'threads' with 
argument '1'.
Reading option '-s' ... matched as option 's' (set frame size (WxH or 
abbreviation)) with argument '1280x720'.
Reading option '-r:v' ... matched as option 'r' (set frame rate (Hz 
value, fraction or abbreviation)) with argument '3/1001'.
Reading option '-y' ... matched as option 'y' (overwrite output files) 
with argument '1'.

Reading option 'test.mp4' ... matched as output url.
Finished splitting the commandline.
Parsing a group of options: global .
Applying option loglevel (set logging level) with argument debug.
Applying option y (overwrite output files) with argument 1.
Successfully parsed a group of options.
Parsing a group of options: input url DESKTOP-6GEPVNC (vMix - Output 1).
Applying option f (force format) with argument libndi_newtek.
Successfully parsed a group of options.
Opening an input file: DESKTOP-6GEPVNC (vMix - Output 1).
[New Thread 0x7fffeab92700 (LWP 6648)]
[New Thread 0x7fffea391700 (LWP 6649)]
[libndi_newtek @ 0x57677bc0] Waiting for sources 1000 miliseconds
[libndi_newtek @ 0x57677bc0] NDIlib_find_wait_for_sources returns 1
[libndi_newtek @ 0x57677bc0] Waiting for sources 1000 miliseconds
[libndi_newtek @ 0x57677bc0] NDIlib_find_wait_for_sources returns 1
[libndi_newtek @ 0x57677bc0] Waiting for sources 1000 miliseconds
[libndi_newtek @ 0x57677bc0] NDIlib_find_wait_for_sources returns 1
[libndi_newtek @ 0x57677bc0] Waiting for sources 1000 miliseconds
[libndi_newtek @ 0x57677bc0] NDIlib_find_wait_for_sources returns 1
[libndi_newtek @ 0x57677bc0] Waiting for sources 1000 miliseconds
[libndi_newtek @ 0x57677bc0] NDIlib_find_wait_for_sources 

Re: [FFmpeg-user] NDI issues

2017-11-01 Thread Carl Eugen Hoyos
2017-11-01 9:53 GMT+01:00 Burner :
> I'm attempting to capture and record an NDI stream, but
> I keep getting an "Illegal instruction" error

Please provide backtrace, disassembly and register dump,
see https://ffmpeg.org/bugreports.html
(I would not be surprised if the crash cannot be fixed
within FFmpeg, let's check that before opening a ticket.)

Carl Eugen
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

[FFmpeg-user] NDI issues

2017-11-01 Thread Burner
I'm attempting to capture and record an NDI stream, but I keep getting 
an "Illegal instruction" error


With ffplay, I'm sometimes able to view a few seconds of the video 
stream, but 9 of 10 times, ffplay just return "Illegal Instruction" as well.


~/ffmpeg_sources$ cat NDISDKforLinux/Version.txt
2017-10-09 @ r82134

~$ ffmpeg -loglevel debug -f libndi_newtek -i 'DESKTOP-6GEPVNC (vMix - 
Output 1)' -pix_fmt yuv420p -preset veryfast -threads 0 -s 1280x720 -r:v 
3/1001 -y test.mp4
ffmpeg version N-88409-ga8305b0ea3 Copyright (c) 2000-2017 the FFmpeg 
developers

  built with gcc 6.3.0 (Debian 6.3.0-18) 20170516
  configuration: --prefix=/home/burner/ffmpeg_build 
--pkg-config-flags=--static 
--extra-cflags=-I/home/burner/ffmpeg_build/include 
--extra-ldflags=-L/home/burner/ffmpeg_build/lib --extra-libs='-lpthread 
-lm' --bindir=/home/burner/bin --enable-gpl --enable-libndi_newtek 
--enable-libass --enable-libfdk-aac --enable-libfreetype 
--enable-libmp3lame --enable-libopus --enable-libtheora 
--enable-libvorbis --enable-libvpx --enable-libx264 --enable-libx265 
--enable-nonfree

  libavutil  56.  0.100 / 56.  0.100
  libavcodec 58.  1.100 / 58.  1.100
  libavformat    58.  0.102 / 58.  0.102
  libavdevice    58.  0.100 / 58.  0.100
  libavfilter 7.  0.101 /  7.  0.101
  libswscale  5.  0.101 /  5.  0.101
  libswresample   3.  0.100 /  3.  0.100
  libpostproc    55.  0.100 / 55.  0.100
Splitting the commandline.
Reading option '-loglevel' ... matched as option 'loglevel' (set logging 
level) with argument 'debug'.
Reading option '-f' ... matched as option 'f' (force format) with 
argument 'libndi_newtek'.
Reading option '-i' ... matched as input url with argument 
'DESKTOP-6GEPVNC (vMix - Output 1)'.
Reading option '-pix_fmt' ... matched as option 'pix_fmt' (set pixel 
format) with argument 'yuv420p'.
Reading option '-preset' ... matched as AVOption 'preset' with argument 
'veryfast'.
Reading option '-threads' ... matched as AVOption 'threads' with 
argument '0'.
Reading option '-s' ... matched as option 's' (set frame size (WxH or 
abbreviation)) with argument '1280x720'.
Reading option '-r:v' ... matched as option 'r' (set frame rate (Hz 
value, fraction or abbreviation)) with argument '3/1001'.
Reading option '-y' ... matched as option 'y' (overwrite output files) 
with argument '1'.

Reading option 'test.mp4' ... matched as output url.
Finished splitting the commandline.
Parsing a group of options: global .
Applying option loglevel (set logging level) with argument debug.
Applying option y (overwrite output files) with argument 1.
Successfully parsed a group of options.
Parsing a group of options: input url DESKTOP-6GEPVNC (vMix - Output 1).
Applying option f (force format) with argument libndi_newtek.
Successfully parsed a group of options.
Opening an input file: DESKTOP-6GEPVNC (vMix - Output 1).
[libndi_newtek @ 0x5637b9b4dbc0] Waiting for sources 1000 miliseconds
[libndi_newtek @ 0x5637b9b4dbc0] NDIlib_find_wait_for_sources returns 1
[libndi_newtek @ 0x5637b9b4dbc0] Waiting for sources 1000 miliseconds
[libndi_newtek @ 0x5637b9b4dbc0] NDIlib_find_wait_for_sources returns 1
[libndi_newtek @ 0x5637b9b4dbc0] Waiting for sources 1000 miliseconds
[libndi_newtek @ 0x5637b9b4dbc0] NDIlib_find_wait_for_sources returns 1
[libndi_newtek @ 0x5637b9b4dbc0] Waiting for sources 1000 miliseconds
[libndi_newtek @ 0x5637b9b4dbc0] NDIlib_find_wait_for_sources returns 1
[libndi_newtek @ 0x5637b9b4dbc0] Waiting for sources 1000 miliseconds
[libndi_newtek @ 0x5637b9b4dbc0] NDIlib_find_wait_for_sources returns 1
[libndi_newtek @ 0x5637b9b4dbc0] Waiting for sources 1000 miliseconds
[libndi_newtek @ 0x5637b9b4dbc0] NDIlib_find_wait_for_sources returns 1
[libndi_newtek @ 0x5637b9b4dbc0] Waiting for sources 1000 miliseconds
[libndi_newtek @ 0x5637b9b4dbc0] NDIlib_find_wait_for_sources returns 0
[libndi_newtek @ 0x5637b9b4dbc0] NDIlib_recv_capture...
[libndi_newtek @ 0x5637b9b4dbc0] NDIlib_recv_capture=100
[libndi_newtek @ 0x5637b9b4dbc0] NDIlib_recv_capture...
[libndi_newtek @ 0x5637b9b4dbc0] NDIlib_recv_capture=100
[libndi_newtek @ 0x5637b9b4dbc0] NDIlib_recv_capture...
[libndi_newtek @ 0x5637b9b4dbc0] NDIlib_recv_capture=3
[libndi_newtek @ 0x5637b9b4dbc0] NDIlib_recv_capture...
[libndi_newtek @ 0x5637b9b4dbc0] NDIlib_recv_capture=3
[libndi_newtek @ 0x5637b9b4dbc0] NDIlib_recv_capture...
[libndi_newtek @ 0x5637b9b4dbc0] NDIlib_recv_capture=3
[libndi_newtek @ 0x5637b9b4dbc0] NDIlib_recv_capture...
[libndi_newtek @ 0x5637b9b4dbc0] NDIlib_recv_capture=2
[libndi_newtek @ 0x5637b9b4dbc0] ndi_set_audio_packet: pkt->dts = 
pkt->pts = 7208296, duration=20, timecode=7208296

[libndi_newtek @ 0x5637b9b4dbc0] NDIlib_recv_capture...
[libndi_newtek @ 0x5637b9b4dbc0] NDIlib_recv_capture=2
[libndi_newtek @ 0x5637b9b4dbc0] ndi_set_audio_packet: pkt->dts = 
pkt->pts = 7208316, duration=20, timecode=7208316

[libndi_newtek @ 0x5637b9b4dbc0] NDIlib_recv_capture...
[libndi_newtek @