[FFmpeg-user] FFmpeg, please talk to me.

Bouke / VideoToolShed bouke at videotoolshed.com
Fri Aug 4 17:25:04 EEST 2017


Guys,
Trying to listen to FFmpeg output, and ‘sometimes’ strange things happen.

On Windows 10, tried running FFmpeg from a batch file while redirecting the FFMpeg output to a file.
Then, during it’s work, my work copies the file to a fresh one, open it and read the contents.
When FFmpeg tells my work that it’s done, I try to delete the output.txt files.
However, sometimes they are locked. Any clues how that can happen?

Now, I switched to plan B. Shelling to FFmpeg and listen to StdOut.
(Ok, a more logical approach, but there was a reason for Plan A, don’t ask…)
This all seems to work fine, except that FFmpeg every now and then returns:
    Exiting normally, received signal 15
(Here I've switched to Win 7 for testing)
But I’m pretty sure I did not send a cmd-Q or alike…
And it’s totally random when it happens. FFmpeg is just rewrapping ProRes QT with a bit of audio patching.

It’s not a biggy, as I can catch it and fire the same command again, but nevertheless I’d like to know what I’m doing wrong.

thx,

Bouke

ffmpeg version 3.2.2 Copyright (c) 2000-2016 the FFmpeg developers
  built with gcc 5.4.0 (GCC)
  configuration: --enable-gpl --enable-version3 --enable-dxva2 --enable-libmfx --enable-nvenc --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenh264 --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-libzimg --enable-lzma --enable-decklink --enable-zlib
  libavutil      55. 34.100 / 55. 34.100
  libavcodec     57. 64.101 / 57. 64.101
  libavformat    57. 56.100 / 57. 56.100
  libavdevice    57.  1.100 / 57.  1.100
  libavfilter     6. 65.100 /  6. 65.100
  libswscale      4.  2.100 /  4.  2.100
  libswresample   2.  3.100 /  2.  3.100
  libpostproc    54.  1.100 / 54.  1.100
Guessed Channel Layout for Input Stream #0.1 : hexadecagonal
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'M:\Petar\input\Capture0000 - Copy (9).mov':
  Metadata:
    creation_time   : 2017-01-24T03:15:23.000000Z
    timecode        : 01:02:40:28
  Duration: 00:00:25.17, start: 0.000000, bitrate: 164864 kb/s
    Stream #0:0(eng): Video: prores (apcn / 0x6E637061), yuv422p10le(bt709, progressive), 1920x1080, 146776 kb/s, SAR 1:1 DAR 16:9, 30 fps, 30 tbr, 3k tbn, 3k tbc (default)
    Metadata:
      creation_time   : 2017-01-24T03:15:23.000000Z
      handler_name    : Apple Alias Data Handler
      encoder         : Apple ProRes 422
    Stream #0:1(eng): Audio: pcm_s24le (lpcm / 0x6D63706C), 48000 Hz, hexadecagonal, s32 (24 bit), 18432 kb/s (default)
    Metadata:
      creation_time   : 2017-01-24T03:15:23.000000Z
      handler_name    : Apple Alias Data Handler
    Stream #0:2(eng): Data: none (tmcd / 0x64636D74), 0 kb/s (default)
    Metadata:
      creation_time   : 2017-08-04T12:45:41.000000Z
      handler_name    : Apple Alias Data Handler
      reel_name       : input
      timecode        : 01:02:40:28
-map_channel is forwarded to lavfi similarly to -af pan=0x4|c0=c0.
[pan @ 02f95a00] Pure channel mapping detected: 0
-map_channel is forwarded to lavfi similarly to -af pan=0x4|c0=c1.
[pan @ 02f78060] Pure channel mapping detected: 1
-map_channel is forwarded to lavfi similarly to -af pan=0x4|c0=c2.
[pan @ 02f78360] Pure channel mapping detected: 2
-map_channel is forwarded to lavfi similarly to -af pan=0x4|c0=c3.
[pan @ 02f78660] Pure channel mapping detected: 3
Output #0, mov, to 'M:\Petar\output\Capture0000 - Copy (9).mov':
  Metadata:
    timecode        : 01:02:40:28
    encoder         : Lavf57.56.100
    Stream #0:0(eng): Video: prores (apcn / 0x6E637061), yuv422p10le(bt709, progressive), 1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 146776 kb/s, 30 fps, 30 tbr, 12k tbn, 3k tbc (default)
    Metadata:
      creation_time   : 2017-01-24T03:15:23.000000Z
      handler_name    : Apple Alias Data Handler
      encoder         : Apple ProRes 422
      reel_name       : input
    Stream #0:1(eng): Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz, mono, s32 (24 bit), 1152 kb/s (default)
    Metadata:
      creation_time   : 2017-01-24T03:15:23.000000Z
      handler_name    : Apple Alias Data Handler
      encoder         : Lavc57.64.101 pcm_s24le
    Stream #0:2(eng): Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz, mono, s32 (24 bit), 1152 kb/s (default)
    Metadata:
      creation_time   : 2017-01-24T03:15:23.000000Z
      handler_name    : Apple Alias Data Handler
      encoder         : Lavc57.64.101 pcm_s24le
    Stream #0:3(eng): Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz, mono, s32 (24 bit), 1152 kb/s (default)
    Metadata:
      creation_time   : 2017-01-24T03:15:23.000000Z
      handler_name    : Apple Alias Data Handler
      encoder         : Lavc57.64.101 pcm_s24le
    Stream #0:4(eng): Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz, mono, s32 (24 bit), 1152 kb/s (default)
    Metadata:
      creation_time   : 2017-01-24T03:15:23.000000Z
      handler_name    : Apple Alias Data Handler
      encoder         : Lavc57.64.101 pcm_s24le
Stream mapping:
  Stream #0:0 -> #0:0 (copy)
  Stream #0:1 -> #0:1 (pcm_s24le (native) -> pcm_s24le (native))
  Stream #0:1 -> #0:2 (pcm_s24le (native) -> pcm_s24le (native))
  Stream #0:1 -> #0:3 (pcm_s24le (native) -> pcm_s24le (native))
  Stream #0:1 -> #0:4 (pcm_s24le (native) -> pcm_s24le (native))
Press [q] to stop, [?] for help
Exiting normally, received signal 15.




More information about the ffmpeg-user mailing list