Я недавно купил IP-камеру от Luowice, модель LWS-R8-2MP. Камера обеспечивает функцию, при которой видео загружается на FTP-сервер при обнаружении движения. Камера загружает файлы .264 . Я планирую запустить скрипт после загрузки файла, который преобразует файл в .mp4 и доставляет его через службу мгновенных сообщений. Однако я не могу конвертировать файл, так как он кажется необычным или закрытым форматом. Я пробовал решение, упомянутое здесь, но когда я бегу

ffmpeg -framerate 24 -i A180126_222057_222111.264 -c copy output.mp4

Я получаю следующее сообщение об ошибке (это на macOS, но целевой системой является Linux):

ffmpeg version 3.4.1 Copyright (c) 2000-2017 the FFmpeg developers
  built with Apple LLVM version 9.0.0 (clang-900.0.39.2)
  configuration: --prefix=/usr/local/Cellar/ffmpeg/3.4.1 --enable-shared --enable-pthreads --enable-version3 --enable-hardcoded-tables --enable-avresample --cc=clang --host-cflags= --host-ldflags= --enable-gpl --enable-libmp3lame --enable-libx264 --enable-libxvid --enable-opencl --enable-videotoolbox --disable-lzma
  libavutil      55. 78.100 / 55. 78.100
  libavcodec     57.107.100 / 57.107.100
  libavformat    57. 83.100 / 57. 83.100
  libavdevice    57. 10.100 / 57. 10.100
  libavfilter     6.107.100 /  6.107.100
  libavresample   3.  7.  0 /  3.  7.  0
  libswscale      4.  8.100 /  4.  8.100
  libswresample   2.  9.100 /  2.  9.100
  libpostproc    54.  7.100 / 54.  7.100
[h264 @ 0x7f8678801200] SEI type 128 size 576 truncated at 128
[h264 @ 0x7f8678801200] SEI type 128 size 576 truncated at 95
[h264 @ 0x7f8678801200] non-existing PPS 0 referenced
[h264 @ 0x7f8678801200] decode_slice_header error
[h264 @ 0x7f8678801200] no frame!
[h264 @ 0x7f8678801200] non-existing PPS 0 referenced
[h264 @ 0x7f8678801200] decode_slice_header error
[h264 @ 0x7f8678801200] no frame!
[h264 @ 0x7f8678801200] non-existing PPS 0 referenced
[h264 @ 0x7f8678801200] decode_slice_header error
[h264 @ 0x7f8678801200] no frame!
[h264 @ 0x7f8678801200] non-existing PPS 0 referenced
[h264 @ 0x7f8678801200] decode_slice_header error
[h264 @ 0x7f8678801200] no frame!
[h264 @ 0x7f8678801200] non-existing PPS 0 referenced
[h264 @ 0x7f8678801200] decode_slice_header error
[h264 @ 0x7f8678801200] no frame!
[h264 @ 0x7f8678801200] non-existing PPS 0 referenced
[h264 @ 0x7f8678801200] decode_slice_header error
[h264 @ 0x7f8678801200] no frame!
[h264 @ 0x7f8678801200] non-existing PPS 0 referenced
[h264 @ 0x7f8678801200] decode_slice_header error
[h264 @ 0x7f8678801200] no frame!
[h264 @ 0x7f8678801200] non-existing PPS 0 referenced
[h264 @ 0x7f8678801200] decode_slice_header error
[h264 @ 0x7f8678801200] no frame!
[h264 @ 0x7f8678801200] non-existing PPS 0 referenced
[h264 @ 0x7f8678801200] decode_slice_header error
[h264 @ 0x7f8678801200] no frame!
[h264 @ 0x7f8678801200] non-existing PPS 0 referenced
[h264 @ 0x7f8678801200] decode_slice_header error
[h264 @ 0x7f8678801200] no frame!
[h264 @ 0x7f8678801200] non-existing PPS 0 referenced
[h264 @ 0x7f8678801200] decode_slice_header error
[h264 @ 0x7f8678801200] no frame!
[h264 @ 0x7f8678801200] non-existing PPS 0 referenced
[h264 @ 0x7f8678801200] decode_slice_header error
[h264 @ 0x7f8678801200] no frame!
[h264 @ 0x7f8678801200] non-existing PPS 0 referenced
[h264 @ 0x7f8678801200] decode_slice_header error
[h264 @ 0x7f8678801200] no frame!
[h264 @ 0x7f8678801200] non-existing PPS 0 referenced
[h264 @ 0x7f8678801200] decode_slice_header error
[h264 @ 0x7f8678801200] no frame!
[h264 @ 0x7f8678801200] non-existing PPS 0 referenced
[h264 @ 0x7f8678801200] decode_slice_header error
[h264 @ 0x7f8678801200] no frame!
[h264 @ 0x7f8678801200] non-existing PPS 0 referenced
[h264 @ 0x7f8678801200] decode_slice_header error
[h264 @ 0x7f8678801200] no frame!
[h264 @ 0x7f8678801200] non-existing PPS 0 referenced
[h264 @ 0x7f8678801200] decode_slice_header error
[h264 @ 0x7f8678801200] no frame!
[h264 @ 0x7f8678801200] non-existing PPS 0 referenced
[h264 @ 0x7f8678801200] decode_slice_header error
[h264 @ 0x7f8678801200] no frame!
[h264 @ 0x7f8678801200] non-existing PPS 0 referenced
[h264 @ 0x7f8678801200] decode_slice_header error
[h264 @ 0x7f8678801200] no frame!
[h264 @ 0x7f8678801200] non-existing PPS 0 referenced
[h264 @ 0x7f8678801200] decode_slice_header error
[h264 @ 0x7f8678801200] no frame!
[h264 @ 0x7f8678801200] non-existing PPS 0 referenced
[h264 @ 0x7f8678801200] decode_slice_header error
[h264 @ 0x7f8678801200] no frame!
[h264 @ 0x7f8678801200] non-existing PPS 0 referenced
[h264 @ 0x7f8678801200] decode_slice_header error
[h264 @ 0x7f8678801200] no frame!
[h264 @ 0x7f8678801200] non-existing PPS 0 referenced
[h264 @ 0x7f8678801200] decode_slice_header error
[h264 @ 0x7f8678801200] no frame!
[h264 @ 0x7f8678801200] non-existing PPS 0 referenced
[h264 @ 0x7f8678801200] decode_slice_header error
[h264 @ 0x7f8678801200] no frame!
[h264 @ 0x7f8678801200] non-existing PPS 0 referenced
[h264 @ 0x7f8678801200] decode_slice_header error
[h264 @ 0x7f8678801200] no frame!
[h264 @ 0x7f8678801200] non-existing PPS 0 referenced
[h264 @ 0x7f8678801200] decode_slice_header error
[h264 @ 0x7f8678801200] no frame!
[h264 @ 0x7f8678801200] non-existing PPS 0 referenced
[h264 @ 0x7f8678801200] decode_slice_header error
[h264 @ 0x7f8678801200] no frame!
[h264 @ 0x7f8678801200] non-existing PPS 0 referenced
[h264 @ 0x7f8678801200] decode_slice_header error
[h264 @ 0x7f8678801200] no frame!
[h264 @ 0x7f8678801200] non-existing PPS 0 referenced
[h264 @ 0x7f8678801200] decode_slice_header error
[h264 @ 0x7f8678801200] no frame!
[h264 @ 0x7f8678801200] non-existing PPS 0 referenced
[h264 @ 0x7f8678801200] decode_slice_header error
[h264 @ 0x7f8678801200] no frame!
[h264 @ 0x7f8678801200] non-existing PPS 0 referenced
[h264 @ 0x7f8678801200] decode_slice_header error
[h264 @ 0x7f8678801200] no frame!
[h264 @ 0x7f8678801200] non-existing PPS 0 referenced
[h264 @ 0x7f8678801200] decode_slice_header error
[h264 @ 0x7f8678801200] no frame!
[h264 @ 0x7f8678801200] non-existing PPS 0 referenced
[h264 @ 0x7f8678801200] decode_slice_header error
[h264 @ 0x7f8678801200] no frame!
[h264 @ 0x7f8678801200] non-existing PPS 0 referenced
[h264 @ 0x7f8678801200] decode_slice_header error
[h264 @ 0x7f8678801200] no frame!
[h264 @ 0x7f8678801200] non-existing PPS 0 referenced
[h264 @ 0x7f8678801200] decode_slice_header error
[h264 @ 0x7f8678801200] no frame!
[h264 @ 0x7f8678801200] non-existing PPS 0 referenced
[h264 @ 0x7f8678801200] decode_slice_header error
[h264 @ 0x7f8678801200] no frame!
[h264 @ 0x7f8678801200] non-existing PPS 0 referenced
[h264 @ 0x7f8678801200] decode_slice_header error
[h264 @ 0x7f8678801200] no frame!
[h264 @ 0x7f8678801200] non-existing PPS 0 referenced
[h264 @ 0x7f8678801200] decode_slice_header error
[h264 @ 0x7f8678801200] no frame!
[h264 @ 0x7f8678801200] non-existing PPS 0 referenced
[h264 @ 0x7f8678801200] decode_slice_header error
[h264 @ 0x7f8678801200] no frame!
[h264 @ 0x7f8678801200] non-existing PPS 0 referenced
[h264 @ 0x7f8678801200] decode_slice_header error
[h264 @ 0x7f8678801200] no frame!
[h264 @ 0x7f8678801200] non-existing PPS 0 referenced
[h264 @ 0x7f8678801200] decode_slice_header error
[h264 @ 0x7f8678801200] no frame!
[h264 @ 0x7f8678801200] non-existing PPS 0 referenced
[h264 @ 0x7f8678801200] decode_slice_header error
[h264 @ 0x7f8678801200] no frame!
[h264 @ 0x7f8678801200] non-existing PPS 0 referenced
[h264 @ 0x7f8678801200] decode_slice_header error
[h264 @ 0x7f8678801200] no frame!
[h264 @ 0x7f8678801200] non-existing PPS 0 referenced
[h264 @ 0x7f8678801200] decode_slice_header error
[h264 @ 0x7f8678801200] no frame!
[h264 @ 0x7f8678801200] non-existing PPS 0 referenced
[h264 @ 0x7f8678801200] decode_slice_header error
[h264 @ 0x7f8678801200] no frame!
[h264 @ 0x7f8678801200] non-existing PPS 0 referenced
[h264 @ 0x7f8678801200] decode_slice_header error
[h264 @ 0x7f8678801200] no frame!
[h264 @ 0x7f8678801200] non-existing PPS 0 referenced
[h264 @ 0x7f8678801200] decode_slice_header error
[h264 @ 0x7f8678801200] no frame!
[h264 @ 0x7f8678801200] non-existing PPS 0 referenced
[h264 @ 0x7f8678801200] decode_slice_header error
[h264 @ 0x7f8678801200] no frame!
[h264 @ 0x7f8678801200] non-existing PPS 0 referenced
[h264 @ 0x7f8678801200] decode_slice_header error
[h264 @ 0x7f8678801200] no frame!
[h264 @ 0x7f8678801200] non-existing PPS 0 referenced
[h264 @ 0x7f8678801200] decode_slice_header error
[h264 @ 0x7f8678801200] no frame!
[h264 @ 0x7f8678801200] SEI type 128 size 576 truncated at 128
[h264 @ 0x7f8678801200] SEI type 128 size 576 truncated at 95
[h264 @ 0x7f8678801200] non-existing PPS 0 referenced
[h264 @ 0x7f8678801200] decode_slice_header error
[h264 @ 0x7f8678801200] no frame!
[h264 @ 0x7f8678801200] non-existing PPS 0 referenced
[h264 @ 0x7f8678801200] decode_slice_header error
[h264 @ 0x7f8678801200] no frame!
[h264 @ 0x7f8678801200] non-existing PPS 0 referenced
[h264 @ 0x7f8678801200] decode_slice_header error
[h264 @ 0x7f8678801200] no frame!
[h264 @ 0x7f8678801200] non-existing PPS 0 referenced
[h264 @ 0x7f8678801200] decode_slice_header error
[h264 @ 0x7f8678801200] no frame!
[h264 @ 0x7f8678801200] non-existing PPS 0 referenced
[h264 @ 0x7f8678801200] decode_slice_header error
[h264 @ 0x7f8678801200] no frame!
[h264 @ 0x7f8678801200] non-existing PPS 0 referenced
[h264 @ 0x7f8678801200] decode_slice_header error
[h264 @ 0x7f8678801200] no frame!
[h264 @ 0x7f8678801200] non-existing PPS 0 referenced
[h264 @ 0x7f8678801200] decode_slice_header error
[h264 @ 0x7f8678801200] no frame!
[h264 @ 0x7f8678801200] non-existing PPS 0 referenced
[h264 @ 0x7f8678801200] decode_slice_header error
[h264 @ 0x7f8678801200] no frame!
[h264 @ 0x7f8678801200] non-existing PPS 0 referenced
[h264 @ 0x7f8678801200] decode_slice_header error
[h264 @ 0x7f8678801200] no frame!
[h264 @ 0x7f8678801200] non-existing PPS 0 referenced
[h264 @ 0x7f8678801200] decode_slice_header error
[h264 @ 0x7f8678801200] no frame!
[h264 @ 0x7f8678801200] non-existing PPS 0 referenced
[h264 @ 0x7f8678801200] decode_slice_header error
[h264 @ 0x7f8678801200] no frame!
[h264 @ 0x7f8678801200] non-existing PPS 0 referenced
[h264 @ 0x7f8678801200] decode_slice_header error
[h264 @ 0x7f8678801200] no frame!
[h264 @ 0x7f8678801200] non-existing PPS 0 referenced
[h264 @ 0x7f8678801200] decode_slice_header error
[h264 @ 0x7f8678801200] no frame!
[h264 @ 0x7f8678801200] non-existing PPS 0 referenced
[h264 @ 0x7f8678801200] decode_slice_header error
[h264 @ 0x7f8678801200] no frame!
[h264 @ 0x7f8678801200] non-existing PPS 0 referenced
[h264 @ 0x7f8678801200] decode_slice_header error
[h264 @ 0x7f8678801200] no frame!
[h264 @ 0x7f8678801200] non-existing PPS 0 referenced
[h264 @ 0x7f8678801200] decode_slice_header error
[h264 @ 0x7f8678801200] no frame!
[h264 @ 0x7f8678801200] non-existing PPS 0 referenced
[h264 @ 0x7f8678801200] decode_slice_header error
[h264 @ 0x7f8678801200] no frame!
[h264 @ 0x7f8678801200] non-existing PPS 0 referenced
[h264 @ 0x7f8678801200] decode_slice_header error
[h264 @ 0x7f8678801200] no frame!
[h264 @ 0x7f8678801200] non-existing PPS 0 referenced
[h264 @ 0x7f8678801200] decode_slice_header error
[h264 @ 0x7f8678801200] no frame!
[h264 @ 0x7f8678801200] non-existing PPS 0 referenced
[h264 @ 0x7f8678801200] decode_slice_header error
[h264 @ 0x7f8678801200] no frame!
[h264 @ 0x7f8678801200] non-existing PPS 0 referenced
[h264 @ 0x7f8678801200] decode_slice_header error
[h264 @ 0x7f8678801200] no frame!
[h264 @ 0x7f8678801200] non-existing PPS 0 referenced
[h264 @ 0x7f8678801200] decode_slice_header error
[h264 @ 0x7f8678801200] no frame!
[h264 @ 0x7f8678801200] non-existing PPS 0 referenced
[h264 @ 0x7f8678801200] decode_slice_header error
[h264 @ 0x7f8678801200] no frame!
[h264 @ 0x7f8678801200] non-existing PPS 0 referenced
[h264 @ 0x7f8678801200] decode_slice_header error
[h264 @ 0x7f8678801200] no frame!
[h264 @ 0x7f8678801200] non-existing PPS 0 referenced
[h264 @ 0x7f8678801200] decode_slice_header error
[h264 @ 0x7f8678801200] no frame!
[h264 @ 0x7f8678801200] non-existing PPS 0 referenced
[h264 @ 0x7f8678801200] decode_slice_header error
[h264 @ 0x7f8678801200] no frame!
[h264 @ 0x7f8678801200] non-existing PPS 0 referenced
[h264 @ 0x7f8678801200] decode_slice_header error
[h264 @ 0x7f8678801200] no frame!
[h264 @ 0x7f8678801200] non-existing PPS 0 referenced
[h264 @ 0x7f8678801200] decode_slice_header error
[h264 @ 0x7f8678801200] no frame!
[h264 @ 0x7f8678801200] non-existing PPS 0 referenced
[h264 @ 0x7f8678801200] decode_slice_header error
[h264 @ 0x7f8678801200] no frame!
[h264 @ 0x7f8678801200] non-existing PPS 0 referenced
[h264 @ 0x7f8678801200] decode_slice_header error
[h264 @ 0x7f8678801200] no frame!
[h264 @ 0x7f8678801200] non-existing PPS 0 referenced
[h264 @ 0x7f8678801200] decode_slice_header error
[h264 @ 0x7f8678801200] no frame!
[h264 @ 0x7f8678801200] non-existing PPS 0 referenced
[h264 @ 0x7f8678801200] decode_slice_header error
[h264 @ 0x7f8678801200] no frame!
[h264 @ 0x7f8678801200] non-existing PPS 0 referenced
[h264 @ 0x7f8678801200] decode_slice_header error
[h264 @ 0x7f8678801200] no frame!
[h264 @ 0x7f8678801200] non-existing PPS 0 referenced
[h264 @ 0x7f8678801200] decode_slice_header error
[h264 @ 0x7f8678801200] no frame!
[h264 @ 0x7f8678801200] non-existing PPS 0 referenced
[h264 @ 0x7f8678801200] decode_slice_header error
[h264 @ 0x7f8678801200] no frame!
[h264 @ 0x7f8678801200] non-existing PPS 0 referenced
[h264 @ 0x7f8678801200] decode_slice_header error
[h264 @ 0x7f8678801200] no frame!
[h264 @ 0x7f8678801200] non-existing PPS 0 referenced
[h264 @ 0x7f8678801200] decode_slice_header error
[h264 @ 0x7f8678801200] no frame!
[h264 @ 0x7f8678801200] non-existing PPS 0 referenced
[h264 @ 0x7f8678801200] decode_slice_header error
[h264 @ 0x7f8678801200] no frame!
[h264 @ 0x7f8678801200] non-existing PPS 0 referenced
[h264 @ 0x7f8678801200] decode_slice_header error
[h264 @ 0x7f8678801200] no frame!
[h264 @ 0x7f8678801200] non-existing PPS 0 referenced
[h264 @ 0x7f8678801200] decode_slice_header error
[h264 @ 0x7f8678801200] no frame!
[h264 @ 0x7f8678801200] non-existing PPS 0 referenced
[h264 @ 0x7f8678801200] decode_slice_header error
[h264 @ 0x7f8678801200] no frame!
[h264 @ 0x7f8678801200] non-existing PPS 0 referenced
[h264 @ 0x7f8678801200] decode_slice_header error
[h264 @ 0x7f8678801200] no frame!
[h264 @ 0x7f8678801200] non-existing PPS 0 referenced
[h264 @ 0x7f8678801200] decode_slice_header error
[h264 @ 0x7f8678801200] no frame!
[h264 @ 0x7f8678801200] non-existing PPS 0 referenced
[h264 @ 0x7f8678801200] decode_slice_header error
[h264 @ 0x7f8678801200] no frame!
[h264 @ 0x7f8678801200] non-existing PPS 0 referenced
[h264 @ 0x7f8678801200] decode_slice_header error
[h264 @ 0x7f8678801200] no frame!
[h264 @ 0x7f8678801200] non-existing PPS 0 referenced
[h264 @ 0x7f8678801200] decode_slice_header error
[h264 @ 0x7f8678801200] no frame!
[h264 @ 0x7f8678801200] non-existing PPS 0 referenced
[h264 @ 0x7f8678801200] decode_slice_header error
[h264 @ 0x7f8678801200] no frame!
[h264 @ 0x7f8678801200] non-existing PPS 0 referenced
[h264 @ 0x7f8678801200] decode_slice_header error
[h264 @ 0x7f8678801200] no frame!
[h264 @ 0x7f8678801200] non-existing PPS 0 referenced
[h264 @ 0x7f8678801200] decode_slice_header error
[h264 @ 0x7f8678801200] no frame!
[h264 @ 0x7f8678801200] non-existing PPS 0 referenced
[h264 @ 0x7f8678801200] decode_slice_header error
[h264 @ 0x7f8678801200] no frame!
[h264 @ 0x7f8678801200] SEI type 128 size 576 truncated at 128
[h264 @ 0x7f8678801200] SEI type 128 size 576 truncated at 95
[h264 @ 0x7f8678801200] non-existing PPS 0 referenced
[h264 @ 0x7f8678801200] decode_slice_header error
[h264 @ 0x7f8678801200] no frame!
[h264 @ 0x7f8678801200] non-existing PPS 0 referenced
[h264 @ 0x7f8678801200] decode_slice_header error
[h264 @ 0x7f8678801200] no frame!
[h264 @ 0x7f8678801200] non-existing PPS 0 referenced
[h264 @ 0x7f8678801200] decode_slice_header error
[h264 @ 0x7f8678801200] no frame!
[h264 @ 0x7f8678801200] non-existing PPS 0 referenced
[h264 @ 0x7f8678801200] decode_slice_header error
[h264 @ 0x7f8678801200] no frame!
[h264 @ 0x7f8678801200] non-existing PPS 0 referenced
[h264 @ 0x7f8678801200] decode_slice_header error
[h264 @ 0x7f8678801200] no frame!
[h264 @ 0x7f8678801200] non-existing PPS 0 referenced
[h264 @ 0x7f8678801200] decode_slice_header error
[h264 @ 0x7f8678801200] no frame!
[h264 @ 0x7f8678801200] non-existing PPS 0 referenced
[h264 @ 0x7f8678801200] decode_slice_header error
[h264 @ 0x7f8678801200] no frame!
[h264 @ 0x7f8678801200] non-existing PPS 0 referenced
[h264 @ 0x7f8678801200] decode_slice_header error
[h264 @ 0x7f8678801200] no frame!
[h264 @ 0x7f8678801200] non-existing PPS 0 referenced
[h264 @ 0x7f8678801200] decode_slice_header error
[h264 @ 0x7f8678801200] no frame!
[h264 @ 0x7f8678801200] non-existing PPS 0 referenced
[h264 @ 0x7f8678801200] decode_slice_header error
[h264 @ 0x7f8678801200] no frame!
[h264 @ 0x7f8678801200] non-existing PPS 0 referenced
[h264 @ 0x7f8678801200] decode_slice_header error
[h264 @ 0x7f8678801200] no frame!
[h264 @ 0x7f8678801200] non-existing PPS 0 referenced
[h264 @ 0x7f8678801200] decode_slice_header error
[h264 @ 0x7f8678801200] no frame!
[h264 @ 0x7f8678801200] non-existing PPS 0 referenced
[h264 @ 0x7f8678801200] decode_slice_header error
[h264 @ 0x7f8678801200] no frame!
[h264 @ 0x7f8678801200] non-existing PPS 0 referenced
[h264 @ 0x7f8678801200] decode_slice_header error
[h264 @ 0x7f8678801200] no frame!
[h264 @ 0x7f8678801200] non-existing PPS 0 referenced
[h264 @ 0x7f8678801200] decode_slice_header error
[h264 @ 0x7f8678801200] no frame!
[h264 @ 0x7f8678801200] non-existing PPS 0 referenced
[h264 @ 0x7f8678801200] decode_slice_header error
[h264 @ 0x7f8678801200] no frame!
[h264 @ 0x7f8678801200] non-existing PPS 0 referenced
[h264 @ 0x7f8678801200] decode_slice_header error
[h264 @ 0x7f8678801200] no frame!
[h264 @ 0x7f8678801200] non-existing PPS 0 referenced
[h264 @ 0x7f8678801200] decode_slice_header error
[h264 @ 0x7f8678801200] no frame!
[h264 @ 0x7f8678801200] non-existing PPS 0 referenced
[h264 @ 0x7f8678801200] decode_slice_header error
[h264 @ 0x7f8678801200] no frame!
[h264 @ 0x7f8678801200] non-existing PPS 0 referenced
[h264 @ 0x7f8678801200] decode_slice_header error
[h264 @ 0x7f8678801200] no frame!
[h264 @ 0x7f8678801200] non-existing PPS 0 referenced
[h264 @ 0x7f8678801200] decode_slice_header error
[h264 @ 0x7f8678801200] no frame!
[h264 @ 0x7f8678801200] non-existing PPS 0 referenced
[h264 @ 0x7f8678801200] decode_slice_header error
[h264 @ 0x7f8678801200] no frame!
[h264 @ 0x7f8677004200] decoding for stream 0 failed
[h264 @ 0x7f8677004200] Could not find codec parameters for stream 0 (Video: h264 (Main), none(progressive)): unspecified size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
Input #0, h264, from 'A180126_222057_222111.264':
  Duration: N/A, bitrate: N/A
    Stream #0:0: Video: h264 (Main), none(progressive), 24 fps, 24 tbr, 1200k tbn, 48 tbc
[mp4 @ 0x7f867608aa00] dimensions not set
Could not write header for output file #0 (incorrect codec parameters ?): Invalid argument
Stream mapping:
  Stream #0:0 -> #0:0 (copy)
    Last message repeated 1 times

Я связался со службой поддержки Luowice, но они предоставляют приложение Windows только на своем сайте загрузки для преобразования файлов. Также они не объяснили, что же такого особенного в их формате файлов. Я ищу решение, которое работает на Linux.

Кому-нибудь удалось конвертировать файлы .264 предоставляемые этой моделью камеры? Образец файла можно скачать здесь.

Обновить:

Я связаться с поддержкой Luowice , и они говорят , что .264 файлы были дополнительно "сжатыми" для экономии дискового пространства на SD - карте камеры. К сожалению, они не могут объяснить, как они сжимают файлы из-за "корпоративной политики".

Обновление 2:

Я скомпилировал приложение C в статье, упомянутой Alain.fr, и разрешил ему работать над файлом примера. Он выводит файл .mp4 . К сожалению, этот файл все еще не может быть воспроизведен VLC, но когда я запускаю

ffmpeg -framerate 25 -i A180126_222057_222111.mp4 -c copy output.mp4

на файл, созданный приложением-конвертером, наконец, воспроизводится воспроизводимое видео :)

Заключение:

Вместо дополнительного сжатия, как утверждает Луовице, в поток H.264 добавляется мусор, который необходимо удалить.

Обновление 3:

На основе приложения-конвертора Ральфа Шпицнера, написанного на C, я создал порт Node.js, поскольку мое приложение написано на Node.js;)

1 ответ1

3

Нашел объяснение проприетарного формата здесь с небольшим программным обеспечением для преобразования в mp4. Если это может помочь

Всё ещё ищете ответ? Посмотрите другие вопросы с метками .