Como converter arquivo raw 264 para MP4 fornecido por Luowice IP camera?

0

Comprei recentemente uma câmera IP da Luowice, modelo LWS-R8-2MP . A câmera fornece uma função na qual um vídeo é enviado para um servidor FTP quando um movimento é detectado. A câmera envia arquivos .264 . Meu plano é acionar um script quando um arquivo é carregado, o que converte o arquivo em .mp4 e o entrega por meio de um serviço de mensagens instantâneas. No entanto, não consigo converter o arquivo, pois ele parece ser um formato incomum ou proprietário. Eu tentei a solução mencionada aqui mas quando eu corro

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

Eu recebo a seguinte saída de erro (isso é no macOS, mas o sistema de destino é o 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

Entrei em contato com o suporte do Luowice, mas eles só fornecem um aplicativo do Windows no site de download . convertendo os arquivos. Além disso, eles não explicaram o que há de tão especial em seu formato de arquivo. Estou procurando uma solução que funcione no Linux.

Alguém conseguiu converter arquivos .264 fornecidos por este modelo de câmera? É possível fazer o download de um arquivo de amostra aqui .

Atualização:

Entrei em contato com o suporte da Luowice e eles dizem que os arquivos .264 foram adicionalmente "compactados" para economizar espaço de armazenamento no cartão SD da câmera. Infelizmente eles não podem explicar como eles compactam os arquivos devido à "política corporativa".

Atualização 2:

Eu compilei o aplicativo C do artigo mencionado pelo Alain.fr e deixei que ele fosse executado sobre o arquivo de amostra. Ele gera um arquivo .mp4 . Infelizmente este arquivo ainda não pode ser reproduzido pelo VLC mas quando eu executo

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

no arquivo produzido pelo aplicativo conversor, finalmente um vídeo reproduzível é produzido:)

Conclusão:

Em vez de uma compressão adicional, como alegado por Luowice, na verdade, algum lixo é adicionado ao fluxo H.264, que precisa ser removido.

Atualização 3:

Com base no aplicativo do conversor de Ralph Spitzner , que está escrito em C, criei um porta Node.js desde que meu aplicativo está escrito em Node.js;)

    
por Sven 29.01.2018 / 12:38

1 resposta

3

Encontrei uma explicação no formato proprietário aqui com um pequeno software para converter em mp4. Se puder ajudar

    
por 31.01.2018 / 11:58