Questão Problema do Código de Tempo do FFMPEG para o IMX 50 Mxf


Precisamos transcodificar a origem para o IMX 50 Mxf e redefinir o tempo para 00: 00: 00: 00.

Meu arquivo de origem também é IMX 50 com SOM 09: 59: 55: 00.

Eu usei o comando abaixo ffmpeg.

C:\Users\Iplay>"D:\Test\FFAStrans0.9.2 (1)\Processors\ffmpeg\x64\ffmpeg.exe" -i D:\YAHAN_MAIN_GHAR_GHAR_KHELI_EP583_CREATIVE_MASTER.mxf -ss 5  -c:v co
py -acodec pcm_s24le -ac 2 -map 0:0 -map 0:1.7.0:1.8  -gop_timecode 00:00:00:00 -timecode 00:00:00:00  -f mxf_d10 -timecode 00:00:00:00 D:\Test\test21
2.mxf
ffmpeg version N-91398-gd08d4a8c73 Copyright (c) 2000-2018 the FFmpeg developers
  built with gcc 7.3.0 (GCC)
  configuration: --disable-static --enable-shared --enable-gpl --enable-version3 --enable-sdl2 --enable-bzlib --enable-fontconfig --enable-gnutls --en
able-iconv --enable-libass --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-
libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libtheora --enable-libtwolame --enable-libvpx --enable-lib
wavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-libvids
tab --enable-libvorbis --enable-libvo-amrwbenc --enable-libmysofa --enable-libspeex --enable-libxvid --enable-libaom --enable-libmfx --enable-amf --en
able-ffnvcodec --enable-cuvid --enable-d3d11va --enable-nvenc --enable-nvdec --enable-dxva2 --enable-avisynth
  libavutil      56. 18.102 / 56. 18.102
  libavcodec     58. 20.104 / 58. 20.104
  libavformat    58. 17.101 / 58. 17.101
  libavdevice    58.  4.101 / 58.  4.101
  libavfilter     7. 25.100 /  7. 25.100
  libswscale      5.  2.100 /  5.  2.100
  libswresample   3.  2.100 /  3.  2.100
  libpostproc    55.  2.100 / 55.  2.100
Guessed Channel Layout for Input Stream #0.1 : 7.1
Input #0, mxf, from 'D:\YAHAN_MAIN_GHAR_GHAR_KHELI_EP583_CREATIVE_MASTER.mxf':
  Metadata:
    uid             : f45cb5f6-89e6-11e8-9a15-6c96cff0b1e8
    generation_uid  : f45cb5f7-89e6-11e8-affc-6c96cff0b1e8
    company_name    : Adobe Systems Incorporated
    product_name    : Adobe Media Encoder
    product_version : 12.0.0
    application_platform: Mac OS X
    product_uid     : 0c3919fe-46e8-11e5-a151-feff819cdc9f
    modification_date: 2018-07-17T17:29:27.000000Z
    material_package_umid: 0x060A2B340101010501010D1113000000D8CCC003168305BAFA3C6C96CFF0B1E8
    timecode        : 09:59:55:00
  Duration: 00:20:35.00, start: 0.000000, bitrate: 62566 kb/s
    Stream #0:0: Video: mpeg2video (4:2:2), yuv422p(tv, unknown/bt470bg/bt470bg, top first), 720x608 [SAR 152:135 DAR 4:3], 50000 kb/s, 25 fps, 25 tbr
, 25 tbn, 50 tbc
    Metadata:
      file_package_umid: 0x060A2B340101010501010D12132492BFD8CCC003168305BAD4626C96CFF0B1E8
      file_package_name: Source Package
      track_name      : Track 1
    Stream #0:1: Audio: pcm_s16le, 48000 Hz, 7.1, s16, 6144 kb/s
    Metadata:
      file_package_umid: 0x060A2B340101010501010D12132492BFD8CCC003168305BAD4626C96CFF0B1E8
      file_package_name: Source Package
      track_name      : Track 2
File 'D:\Test\test212.mxf' already exists. Overwrite ? [y/N] y
Stream mapping:
  Stream #0:0 -> #0:0 (copy)
  Stream #0:1 -> #0:1 (pcm_s16le (native) -> pcm_s24le (native))
Press [q] to stop, [?] for help
Output #0, mxf_d10, to 'D:\Test\test212.mxf':
  Metadata:
    uid             : f45cb5f6-89e6-11e8-9a15-6c96cff0b1e8
    generation_uid  : f45cb5f7-89e6-11e8-affc-6c96cff0b1e8
    company_name    : Adobe Systems Incorporated
    product_name    : Adobe Media Encoder
    product_version : 12.0.0
    application_platform: Mac OS X
    product_uid     : 0c3919fe-46e8-11e5-a151-feff819cdc9f
    modification_date: 2018-07-17T17:29:27.000000Z
    material_package_umid: 0x060A2B340101010501010D1113000000D8CCC003168305BAFA3C6C96CFF0B1E8
    timecode        : 00:00:00:00
    encoder         : Lavf58.17.101
    Stream #0:0: Video: mpeg2video (4:2:2), yuv422p(tv, unknown/bt470bg/bt470bg, top first), 720x608 [SAR 152:135 DAR 4:3], q=2-31, 50000 kb/s, 25 fps
, 25 tbr, 25 tbn, 25 tbc
    Metadata:
      file_package_umid: 0x060A2B340101010501010D12132492BFD8CCC003168305BAD4626C96CFF0B1E8
      file_package_name: Source Package
      track_name      : Track 1
    Stream #0:1: Audio: pcm_s24le, 48000 Hz, stereo, s32, 2304 kb/s
    Metadata:
      file_package_umid: 0x060A2B340101010501010D12132492BFD8CCC003168305BAD4626C96CFF0B1E8
      file_package_name: Source Package
      track_name      : Track 2
      encoder         : Lavc58.20.104 pcm_s24le
[mxf_d10 @ 0000000001eb9fc0] the number of audio channels shall be 4 or 8 : the output will not comply to MXF D-10 specs, use -d10_channelcount to fix
 this
frame=30750 fps=663 q=-1.0 Lsize= 9394132kB time=00:20:30.00 bitrate=62566.4kbits/s speed=26.5x
video:7507324kB audio:345938kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 19.620770%

mediainfo showing timecode 10:00:00:00


0


origem


Não é possível com -c:v copy. Você provavelmente pode abrir um ticket de desejo para que ele seja adicionado ao filtro de bitstream de metadados mpeg2 em trac.ffmpeg.org - Gyan


Respostas: