No content in captured files

#1
Hello,

I'm having problems capturing video to the disk consumer. Ought to work...

Test source is a CasparCG box playing a movie out a decklink card; that's cabled to the input of the test server. Without CCG running, the expected input can be seen via BMD's MediaExpress program (and can capture into -huge- files). Both player and test server Decklinks are configured for NTSC.

When the CCG server is running, entering

Code: Select all

play 1-1 decklink device 1
gives

Code: Select all

[2016-12-30 18:58:17.594] [7420] [info]    Received message from 198.3.161.221: play 1-1 decklink device 1\r\n
[2016-12-30 18:58:17.598] [1960] [debug]   DeckLink SDI 4K [1|NTSC] allocated buffer of size: 774720 for a total of 774720
etc etc etc trimmed for brevity
[2016-12-30 18:58:17.682] [1960] [debug]   DeckLink SDI 4K [1|NTSC] allocated buffer of size: 774720 for a total of 50356800
[2016-12-30 18:58:17.683] [5344] [info]    DeckLink SDI 4K [1|NTSC] Initialized.
[2016-12-30 18:58:17.685] [5344] [info]    transition[empty=>DeckLink SDI 4K [1|NTSC]] Initialized.
[2016-12-30 18:58:17.685] [5344] [debug]   Executed command: PlayCommand
[2016-12-30 18:58:17.685] [5344] [info]    Sent message to 198.3.161.221: 202 PLAY OK\r\n
[2016-12-30 18:58:17.710] [2008] [info]    transition[empty=>DeckLink SDI 4K [1|NTSC]] End Of File.
[2016-12-30 18:58:17.710] [2008] [info]    transition[empty=>DeckLink SDI 4K [1|NTSC]] Uninitialized.
[2016-12-30 18:58:18.005] [5280] [info]
+---------------+
| filter_buffer |default--[720x486 0:1 uyvy422]--auto-inserted scaler 0:default
|   (buffer)    |
+---------------+
                                                              +-------------------+
auto-inserted scaler 0:default--[720x486 0:1 yuv422p]--default| filter_buffersink |
                                                              |   (buffersink)    |
                                                              +-------------------+
                                                     +------------------------+
filter_buffer:default--[720x486 0:1 uyvy422]--default| auto-inserted scaler 0 |default--[720x486 0:1 yuv422p]--filter_buffersink:default
                                                     |        (scale)         |
                                                     +------------------------+
[2016-12-30 18:58:18.005] [5280] [info]    [frame_muxer] simple 720x486i59.94
and now the incoming video shows on the server decklink output.

Start/end the capture with

Code: Select all

add 1 file asdasd.mov -vcodec prores
(wait a bit)
remove 1 file

Code: Select all

[2016-12-30 19:16:01.684] [5704] [info]    Received message from 198.3.161.221: add 1 file asdasd.mov -vcodec prores -profile 3\r\n
[2016-12-30 19:16:01.738] [824]  [info]    [ffmpeg] Output #0, mov, to 'media\ASDASD.MOV':
[2016-12-30 19:16:01.738] [824]  [info]    [ffmpeg]     Stream #0:
[2016-12-30 19:16:01.739] [824]  [info]    [ffmpeg] : Video: prores (apch) (apch / 0x68637061), yuv422p10le, 720x486, q=2-31, 63000 kb/
[2016-12-30 19:16:01.739] [824]  [info]    [ffmpeg] , 90k tb
[2016-12-30 19:16:01.739] [824]  [info]    [ffmpeg] , 29.97 tb
[2016-12-30 19:16:01.739] [824]  [info]    [ffmpeg]
[2016-12-30 19:16:01.739] [824]  [info]    [ffmpeg]     Stream #0:
[2016-12-30 19:16:01.739] [824]  [info]    [ffmpeg] : Audio: aac (libvo_aacenc), 48000 Hz, 2 channels, s16, 128 kb/
[2016-12-30 19:16:01.739] [824]  [info]    [ffmpeg]
[2016-12-30 19:16:01.739] [824]  [info]    ffmpeg[media\ASDASD.MOV] Successfully Initialized.
[2016-12-30 19:16:01.745] [3916] [info]    output[1] ffmpeg[media\ASDASD.MOV] Added.
[2016-12-30 19:16:01.745] [824]  [debug]   Executed command: AddCommand
[2016-12-30 19:16:01.745] [824]  [info]    Sent message to 198.3.161.221: 202 ADD OK\r\n
[2016-12-30 19:16:01.961] [7192] [warning] [audio-resampler] sample-rate: 48000 channels: 2 sample-fmt: s32      32
[2016-12-30 19:16:02.011] [7192] [error]   [ffmpeg] [mov @ 0DF2E600] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 1001 >= 1001
[2016-12-30 19:16:38.312] [5704] [info]    Received message from 198.3.161.221: remove 1 file\r\n
[2016-12-30 19:16:38.347] [824]  [warning] [ffmpeg] [libvo_aacenc @ 0DF75740] not writing 'chan' tag due to lack of channel information
[2016-12-30 19:16:38.347] [824]  [warning] [ffmpeg] [libvo_aacenc @ 0DF75740] 2 frames left in the queue on closing
[2016-12-30 19:16:38.373] [824]  [info]    ffmpeg[media\ASDASD.MOV] Successfully Uninitialized.
[2016-12-30 19:16:38.374] [824]  [info]    output[1] ffmpeg[media\ASDASD.MOV] Removed.
[2016-12-30 19:16:38.374] [824]  [debug]   Executed command: RemoveCommand
[2016-12-30 19:16:38.374] [824]  [info]    Sent message to 198.3.161.221: 202 REMOVE OK\r\n
When played with vlc the picture is all black; when played with the quicktime viewer it's all green; neither has audio.


I've tried this both with my original config (has a decklink consumer) and with a no-consumer config, they behave the same way. server is 2.0.7 with a very modest config

Code: Select all

[2016-12-30 19:08:56.728] [6716] [info]    Starting CasparCG Video and Graphics Playout Server 2.0.7.e9fc25a Stable
[2016-12-30 19:08:56.728] [6716] [info]    on Windows 7 Professional 
[2016-12-30 19:08:56.728] [6716] [info]    Intel(R) Xeon(R) CPU           W3530  @ 2.80GHz Physical Threads: 8
[2016-12-30 19:08:56.728] [6716] [info]    Precision WorkStation T3500
[2016-12-30 19:08:56.735] [6716] [info]    Decklink 10.3.7
[2016-12-30 19:08:56.736] [6716] [info]     - DeckLink SDI 4K [1]
[2016-12-30 19:08:56.737] [6716] [info]    Bluefish Not found
[2016-12-30 19:08:56.738] [6716] [info]    FreeImage 3.15.4
[2016-12-30 19:08:56.738] [6716] [info]    FFMPEG-avcodec 55.52.102
[2016-12-30 19:08:56.738] [6716] [info]    FFMPEG-avformat 55.33.100
[2016-12-30 19:08:56.738] [6716] [info]    FFMPEG-avfilter 4.2.100
[2016-12-30 19:08:56.738] [6716] [info]    FFMPEG-avutil 52.66.100
[2016-12-30 19:08:56.738] [6716] [info]    FFMPEG-swscale 2.5.102
[2016-12-30 19:08:56.738] [6716] [info]    Flash 23.0.0.207
[2016-12-30 19:08:56.739] [6716] [info]    flash[cg20.fth.pal|0] Initialized.
[2016-12-30 19:08:56.739] [6716] [info]    flash[cg20.fth.pal|0] Invoking info-command: <invoke name="GetInfo" returntype="xml"><arguments></arguments></invoke>
[2016-12-30 19:08:56.921] [2656] [debug]   flash-player[cg20.fth.pal|1024x576] [command]      <invoke name="OnCommand" returntype="xml"><arguments><string>Command recieved @GetInfo@?@</string></arguments></invoke>
[2016-12-30 19:08:56.951] [2656] [info]    flash-player[cg20.fth.pal|1024x576] Initialized.
[2016-12-30 19:08:56.952] [2656] [debug]   flash-player[cg20.fth.pal|1024x576] [command]      <invoke name="OnCommand" returntype="xml"><arguments><string>Command recieved @GetInfo@?@</string></arguments></invoke>
[2016-12-30 19:08:57.029] [6716] [trace]   Template-Host 2.0.4.3803 RC
[2016-12-30 19:08:57.030] [6716] [info]    NewTek iVGA unavailable (Processing.AirSend.x86.dll)
[2016-12-30 19:08:57.030] [6716] [info]    casparcg.config:
-----------------------------------------
<?xml version="1.0" encoding="utf-8"?>
<configuration>
   <paths>
      <media-path>media\</media-path>
      <log-path>log\</log-path>
      <data-path>data\</data-path>
      <template-path>templates\</template-path>
      <thumbnails-path>thumbnails\</thumbnails-path>
   </paths>
   <channels>
      <channel>
         <video-mode>NTSC</video-mode>
         <channel-layout>stereo</channel-layout>
         <consumers/>
      </channel>
   </channels>
   <controllers>
      <tcp>
         <port>5250</port>
         <protocol>AMCP</protocol>
      </tcp>
   </controllers>
</configuration>
<osc>
   <default-port>6250</default-port>
   <predefined-clients>
      <predefined-client>
         <address>198.3.161.210</address>
         <port>7250</port>
      </predefined-client>
   </predefined-clients>
</osc>
Seems like there's one small thing missing from the setup but I haven't figured that out. Ideas? I can put up longer logs if needed, but I'm not sure that will be useful.

(This may, or may not, be related to some codec error that will go in another forum topic.)

Thanks,

z!

Re: No content in captured files

#4
I started from here
https://ffmpeg.org/ffmpeg-devices.html#Examples-1
I downloaded latest fame and used it.
My command was:
c:/ffmpeg/Bin/ffmpeg.exe -y -f dshow -video_size 1920x1080 -pixel_format uyvy422 -rtbufsize 1500M -framerate 25 -i video="Decklink Video Capture" -f dshow -i audio="Decklink Audio Capture" -codec:v prores -profile:v 2 -qscale:v 0 -vendor ap10 -b:v 8M -threads 0 -crf 23 -preset ultrafast -tune fastdecode -codec:a pcm_s16le D:\ProRes\output1.mov

There is some errors, I din't get good results. Today we use separate device to make iso recording.

Who is online

Users browsing this forum: No registered users and 3 guests

cron