Hi, After applying the patch, it can't even find sources anymore.
Here is the console output: ffmpeg -f libndi_newtek -find_sources 1 -i dummy -loglevel debug ffmpeg version 3.4.git Copyright (c) 2000-2018 the FFmpeg developers built with gcc 5.4.0 (Ubuntu 5.4.0-6ubuntu1~16.04.10) 20160609 configuration: --enable-libndi_newtek --extra-cflags='-I/home/ls/iohub/ndi/include -I/home/ls/iohub/bm_sdk/Linux/include' --extra-ldflags=-L/home/ls/iohub/ndi/lib/x86_64-linux-gnu --enable-libsrt --enable-ffplay --enable-decklink --enable-libx264 --enable-nonfree --enable-gpl --enable-libfdk-aac --enable-libx265 --enable-openssl libavutil 56. 19.100 / 56. 19.100 libavcodec 58. 27.101 / 58. 27.101 libavformat 58. 17.106 / 58. 17.106 libavdevice 58. 4.101 / 58. 4.101 libavfilter 7. 26.100 / 7. 26.100 libswscale 5. 2.100 / 5. 2.100 libswresample 3. 2.100 / 3. 2.100 libpostproc 55. 2.100 / 55. 2.100 Splitting the commandline. Reading option '-f' ... matched as option 'f' (force format) with argument 'libndi_newtek'. Reading option '-find_sources' ... matched as AVOption 'find_sources' with argument '1'. Reading option '-i' ... matched as input url with argument 'dummy'. Reading option '-loglevel' ... matched as option 'loglevel' (set logging level) with argument 'debug'. Finished splitting the commandline. Parsing a group of options: global . Applying option loglevel (set logging level) with argument debug. Successfully parsed a group of options. Parsing a group of options: input url dummy. Applying option f (force format) with argument libndi_newtek. Successfully parsed a group of options. Opening an input file: dummy. [libndi_newtek @ 0x3857380] Opening 'dummy' for reading [file @ 0x3857c40] Setting default whitelist 'file,crypto' dummy: No such file or directory R, Mustafa On Tue, Sep 4, 2018 at 12:40 AM Carl Eugen Hoyos <[email protected]> wrote: > 2018-09-01 20:18 GMT+02:00, Mustafa Al Ani <[email protected]>: > > > In my setup I'm playing out NDI stream using decklink. everything > > looks good and both the NDI and the decklink playout are very > > stable.. but when the NDI stream stops and starts again later.. the > > decklink starts giving Non-monotonous DTS in output stream 0:1 > > which makes sense because the DTS has been changed since the > > last frame in previous NDI stream. > > > > Here is my command > > > > fmpeg -f libndi_newtek -i "NDI_SOURCE_NAME_1" -f decklink 'DeckLink Duo > (1)' > > > > The same happens when I restream NDI to NDI. > > > > ffmpeg -f libndi_newtek -i "NDI_SOURCE_NAME_1" -f libndi_newtek > > NDI_SOURCE_NAME_2 > > > > Is there any way I can force ffmpeg to ignore the DTS? > > You could test adding the AVFMT_TS_DISCONT flag: > (inlined) > > diff --git a/libavdevice/libndi_newtek_dec.c > b/libavdevice/libndi_newtek_dec.c > index 4fb7197..04eec31 100644 > --- a/libavdevice/libndi_newtek_dec.c > +++ b/libavdevice/libndi_newtek_dec.c > @@ -337,4 +337,5 @@ AVInputFormat ff_libndi_newtek_demuxer = { > .read_header = ndi_read_header, > .read_packet = ndi_read_packet, > .read_close = ndi_read_close, > + .flags = AVFMT_TS_DISCONT, > }; > > > Please report back, Carl Eugen > _______________________________________________ > ffmpeg-user mailing list > [email protected] > http://ffmpeg.org/mailman/listinfo/ffmpeg-user > > To unsubscribe, visit link above, or email > [email protected] with subject "unsubscribe". _______________________________________________ ffmpeg-user mailing list [email protected] http://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email [email protected] with subject "unsubscribe".
