Re: [FFmpeg-user] Concat movies with different timebase

2017-11-01 Thread Cley Faye
2017-11-01 8:34 GMT+01:00 T4ng10r :

>
> I'm using this script to convert movies (insert timestamp) ->
> https://gist.github.com/T4ng10r/4f57212465a32172e4a4bb7a654fcd0e


​You should post here a single call to ffmpeg with all arguments, and the
complete output it gives​ (for a problematic case). This would probably
help a lot in providing an answer.
___
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] LATM demuxer

2017-11-01 Thread Andy Furniss

Carl Eugen Hoyos wrote:

2017-10-31 15:54 GMT+01:00 Andy Furniss :

Sometime this year I thought I saw mention of ffmpeg and a
LATM standalone demuxer.


I committed it six years ago.
(The technical name of the file format is "loas", "latm" is one
of the things you can put into loas.)

Your question was possibly: "Why does fdk not decode latm?"
The answer is related to a decision FFmpeg developers made
long ago (they knew it wasn't a very good idea), not
implementing a bitstream filter that converts latm to aac and
allowing to decode the result with any aac decoder but
instead implementing an assigned latm decoder that cannot
be replaced so easily.


OK, thanks for the info.
FWIW I eventually found the "mention of ffmpeg and LATM" that I referred to.
It was in a devel mail suggesting some possible gsoc 2017 qualification
tasks, one of which was a -bsf for LATM.
I guess it wasn't actually used/taken.


Carl Eugen

PS: Concerning "clean-up": Instead of fixing issues like the
above, known for nearly a decade, for example configure
was changed so that on some systems, building takes
(literally!) hours instead of minutes now.


Oh, nasty, it always did/does seem a bit long, but then not seeing
stuff scrolling past may make the wait seem longer.
___
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] Support for the HLS Muxer on Linux

2017-11-01 Thread Carl Eugen Hoyos
2017-11-01 19:15 GMT+01:00 Patel (Audible), Ronak :

> We’re trying to use ffmpeg’s HLS Muxer on Linux so we can
> create/manipulate hls manifests & fragmented MP4s, but it seems
> like the binary distributions for Linux are missing the HLS muxer

This seems extremely unlikely / commandline and complete, uncut
console output missing.

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] Support for the HLS Muxer on Linux

2017-11-01 Thread Patel (Audible), Ronak
Hi,

We’re trying to use ffmpeg’s HLS Muxer on Linux so we can create/manipulate hls 
manifests & fragmented MP4s, but it seems like the binary distributions for 
Linux are missing the HLS muxer: https://ffmpeg.org/ffmpeg-formats.html#hls-2.

Is there a way to get support for this muxer on Linux?

Thanks,

Ronak


___
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] ffmpeg error opening filters at mobile browser

2017-11-01 Thread Carl Eugen Hoyos
2017-11-01 18:39 GMT+01:00 Reindl Harald :

> ffmpeg-3.1.9.tar.xz  2017-06-22 05:06  7.5M

This is misleading, the source is 16 months old.
(otoh, there is so little difference between 3.1.9 and 3.1, if
one would be supported here, both would be.)

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] ffmpeg error opening filters at mobile browser

2017-11-01 Thread Carl Eugen Hoyos
2017-11-01 8:13 GMT+01:00 lzmhhh123 :
> I use the ffmpeg at mobile browser.

Did you try to run fate (our testing sequence) using this toolchain
without --disable-all?
I wonder if it is supposed to work at all...

> But it responds `Error opening filter`

The error message does not exist anymore, please
test current FFmpeg git head.

Does the toolchain support heap allocation?
(From a quick look, oom may be the reason for the error you see)

Note that FFmpeg runs natively on both ios and android.

> --disable-all

I suspect you want --disable-everything which allows
to build ffmpeg by default.

> --enable-demuxer=avi --enable-demuxer=mov

The following is possible for many years:
--enable-demuxer=avi,mov
Similar for decoders etc.

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] ffmpeg error opening filters at mobile browser

2017-11-01 Thread Paul B Mahol
On 11/1/17, lzmhhh123  wrote:
> I use the ffmpeg at mobile browser. But it responds `Error opening filter`
> both at safari and chrome. I need help. The log are as following.
>

You disabled too much.
___
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] ffmpeg error opening filters at mobile browser

2017-11-01 Thread Reindl Harald


Am 01.11.2017 um 08:13 schrieb lzmhhh123:

I use the ffmpeg at mobile browser. But it responds `Error opening filter`
both at safari and chrome. I need help. The log are as following.

The IOS 11.0.2 Safari logs:

[Log] ffmpeg version n3.1.2 Copyright (c) 2000-2016 the FFmpeg
developers (bundle.js, line 43469)


couldn't you find something older?
https://ffmpeg.org/releases/

the latest 3.1:
ffmpeg-3.1.9.tar.xz  2017-06-22 05:06  7.5M

recent 3.4:
ffmpeg-3.4.tar.xz2017-10-15 20:35  8.1M
___
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] Concat movies with different timebase

2017-11-01 Thread T4ng10r

Hi,

I've got around 100 movies. Part of them are AVI:

[avi @ 0x561e6733c640] non-interleaved AVI
Input #0, avi, from 'V-0018.AVI':
  Duration: 00:00:11.04, start: 0.00, bitrate: 4571 kb/s
    Stream #0:0: Video: mjpeg (MJPG / 0x47504A4D), yuvj422p(pc, 
bt470bg/unknown/unknown), 640x480, 4515 kb/s, 28.18 fps, 28.18 tbr, 
28.18 tbn, 28.18 tbc
    Stream #0:1: Audio: pcm_u8 ([1][0][0][0] / 0x0001), 8000 Hz, 1 
channels, u8, 64 kb/s



rest are MP4:

Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'MAH00607.MP4':
  Metadata:
    major_brand : MSNV
    minor_version   : 22675568
    compatible_brands: MSNVmp42isom
    creation_time   : 2017-06-14T20:20:24.00Z
  Duration: 00:00:12.48, start: 0.00, bitrate: 2795 kb/s
    Stream #0:0(und): Video: h264 (Main) (avc1 / 0x31637661), 
yuv420p(tv, bt709/bt709/iec61966-2-4), 1280x720 [SAR 1:1 DAR 16:9], 2664 
kb/s, 25 fps, 25 tbr, 25k tbn, 50 tbc (default)

    Metadata:
  creation_time   : 2017-06-14T20:20:24.00Z
  handler_name    : Video Media Handler
  encoder : AVC Coding
    Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, 
stereo, fltp, 127 kb/s (default)

    Metadata:
  creation_time   : 2017-06-14T20:20:24.00Z
  handler_name    : Sound Media Handler


I'm using this script to convert movies (insert timestamp) -> 
https://gist.github.com/T4ng10r/4f57212465a32172e4a4bb7a654fcd0e


As you see - timebase for both movies are different. When I concat 
converted movies time duration of movie is distorted, after few first 
AVI videos movie freeze. And in console I see lots of


"Non-monotonous DTS in output stream 0:0; previous: 131753981, current: 
3274138; changing to 131753982. This may result in incorrect timestamps 
in the output file."


I've tried with adding  -r 25 to convert function for avi, with no 
result. The same with https://stackoverflow.com/a/41744007/603044 Mulvya 
- converting AVI takes ages.



How should I treat AVI (which are far more less then MP4) so the final 
movie be correct?


___
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] ffmpeg error opening filters at mobile browser

2017-11-01 Thread lzmhhh123
I use the ffmpeg at mobile browser. But it responds `Error opening filter`
both at safari and chrome. I need help. The log are as following.

The IOS 11.0.2 Safari logs:

[Log] ffmpeg version n3.1.2 Copyright (c) 2000-2016 the FFmpeg
developers (bundle.js, line 43469)
  built with emcc (Emscripten gcc/clang-like replacement) 1.36.7 ()
  configuration: --cc=emcc --enable-cross-compile --target-os=none
--arch=x86 --disable-runtime-cpudetect --disable-asm
--disable-fast-unaligned --disable-pthreads --disable-w32threads
--disable-os2threads --disable-debug --disable-stripping --disable-all
--enable-ffmpeg --enable-avcodec --enable-avformat --enable-avutil
--enable-swresample --enable-swscale --enable-avfilter --disable-network
--disable-d3d11va --disable-dxva2 --disable-vaapi --disable-vda
--disable-vdpau --enable-decoder=vp8 --enable-decoder=vp9
--enable-decoder=theora --enable-decoder=mpeg2video --enable-decoder=mpeg4
--enable-decoder=h264 --enable-decoder=hevc --enable-decoder=png
--enable-decoder=mjpeg --enable-decoder=vorbis --enable-decoder=opus
--enable-decoder=mp3 --enable-decoder=ac3 --enable-decoder=aac
--enable-decoder=ass --enable-decoder=ssa --enable-decoder=srt
--enable-decoder=webvtt --enable-demuxer=matroska --enable-demuxer=ogg
--enable-demuxer=avi --enable-demuxer=mov --enable-demuxer=flv
--enable-demuxer=mpegps --enable-demuxer=image2 --enable-demuxer=mp3
--enable-demuxer=concat --enable-protocol=file --enable-filter=aresample
--enable-filter=scale --enable-filter=crop --enable-filter=overlay
--disable-bzlib --disable-iconv --disable-libxcb --disable-lzma
--disable-sdl --disable-securetransport --disable-xlib --disable-zlib
--enable-encoder=libx264 --enable-encoder=libmp3lame --enable-encoder=aac
--enable-muxer=mp4 --enable-muxer=mp3 --enable-muxer=null --enable-gpl
--enable-libmp3lame --enable-libx264 --extra-cflags=-I../lame/dist/include
--extra-ldflags=-L../lame/dist/lib
  libavutil  55. 28.100 / 55. 28.100
  libavcodec 57. 48.101 / 57. 48.101
  libavformat57. 41.100 / 57. 41.100
  libavfilter 6. 47.100 /  6. 47.100
  libswscale  4.  1.100 /  4.  1.100
  libswresample   2.  1.100 /  2.  1.100
[h264 @ 0x809df0] Warning: not compiled with thread support, using
thread emulation
[aac @ 0x80e380] Warning: not compiled with thread support, using thread
emulation
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from
'53119917068__7A6AFE7C-86EC-42F4-8995-A9B09B16C2DB.MOV':
  Metadata:
major_brand : qt  
minor_version   : 0
compatible_brands: qt  
creation_time   : 2017-11-01 03:19:31
com.apple.quicktime.make: Apple
com.apple.quicktime.model: iPhone 6
com.apple.quicktime.software: 11.0.2
com.apple.quicktime.creationdate: 2017-11-01T11:19:31+0800
  Duration: 00:00:00.20, start: 0.00, bitrate: 1467 kb/s
Stream #0:0(und): Video: h264 (Baseline) (avc1 / 0x31637661),
yuv420p(tv, smpte170m/bt709/bt709), 480x360, 1131 kb/s, 30 fps, 30 tbr, 600
tbn, 1200 tbc (default)
Metadata:
  rotate  : 90
  creation_time   : 2017-11-01 03:19:31
  handler_name: Core Media Data Handler
  encoder : H.264
Side data:
  displaymatrix: rotation of -90.00 degrees
Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz,
mono, fltp, 80 kb/s (default)
Metadata:
  creation_time   : 2017-11-01 03:19:31
  handler_name: Core Media Data Handler
Stream #0:2(und): Data: none (mebx / 0x7862656D), 0 kb/s (default)
Metadata:
  creation_time   : 2017-11-01 03:19:31
  handler_name: Core Media Data Handler
Stream #0:3(und): Data: none (mebx / 0x7862656D), 0 kb/s (default)
Metadata:
  creation_time   : 2017-11-01 03:19:31
  handler_name: Core Media Data Handler
Error opening filters!

The Android 7.0 Chrome logs: 

ffmpeg version n3.1.2 Copyright (c) 2000-2016 the FFmpeg developers
  built with emcc (Emscripten gcc/clang-like replacement) 1.36.7 ()
  configuration: --cc=emcc --enable-cross-compile --target-os=none
--arch=x86 --disable-runtime-cpudetect --disable-asm
--disable-fast-unaligned --disable-pthreads --disable-w32threads
--disable-os2threads --disable-debug --disable-stripping --disable-all
--enable-ffmpeg --enable-avcodec --enable-avformat --enable-avutil
--enable-swresample --enable-swscale --enable-avfilter --disable-network
--disable-d3d11va --disable-dxva2 --disable-vaapi --disable-vda
--disable-vdpau --enable-decoder=vp8 --enable-decoder=vp9
--enable-decoder=theora --enable-decoder=mpeg2video --enable-decoder=mpeg4
--enable-decoder=h264 --enable-decoder=hevc --enable-decoder=png
--enable-decoder=mjpeg --enable-decoder=vorbis --enable-decoder=opus
--enable-decoder=mp3 --enable-decoder=ac3 --enable-decoder=aac
--enable-decoder=ass --enable-decoder=ssa --enable-decoder=srt

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 @