[FFmpeg-trac] #8129(undetermined:new): Failed to set encoder metadata for FLV output
FFmpeg
trac at avcodec.org
Wed Sep 11 13:49:35 EEST 2019
#8129: Failed to set encoder metadata for FLV output
-------------------------------------+-------------------------------------
Reporter: longkas | Owner:
Type: defect | Status: new
Priority: normal | Component:
| undetermined
Version: unspecified | Resolution:
Keywords: | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Comment (by stevenliu):
Do you mean you want remove ffmpeg copyright information?
I think you should add your self encoder information like this
{{{
StevenLiu:ffmpeg StevenLiu$ ffmpeg -i input.mp4 -c copy -f flv -metadata
encoder_private=myenc output.flv
ffmpeg version N-94165-g6e988b75df Copyright (c) 2000-2019 the FFmpeg
developers
built with Apple LLVM version 10.0.0 (clang-1000.11.45.5)
configuration: --enable-libass --enable-opengl --enable-libx264
--enable-libmp3lame --enable-gpl --enable-nonfree --prefix=/usr/local
--enable-libtesseract --enable-libspeex --enable-libfreetype --enable-
libfontconfig --enable-libfdk-aac --enable-videotoolbox --enable-libxml2
--enable-librsvg --enable-libvmaf --enable-version3 --disable-stripping
--disable-optimizations
libavutil 56. 30.100 / 56. 30.100
libavcodec 58. 53.101 / 58. 53.101
libavformat 58. 28.101 / 58. 28.101
libavdevice 58. 7.100 / 58. 7.100
libavfilter 7. 56.100 / 7. 56.100
libswscale 5. 4.101 / 5. 4.101
libswresample 3. 4.100 / 3. 4.100
libpostproc 55. 4.100 / 55. 4.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'input.mp4':
Metadata:
major_brand : isom
minor_version : 512
compatible_brands: isomiso2avc1mp41
encoder : Lavf58.28.101
Duration: 00:05:00.10, start: 0.000000, bitrate: 20142 kb/s
Chapter #0:0: start 0.000000, end 300.096000
Metadata:
title :
Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p,
1920x1080 [SAR 1:1 DAR 16:9], 20015 kb/s, 25 fps, 25 tbr, 12800 tbn, 25600
tbc (default)
Metadata:
handler_name : VideoHandler
Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz,
stereo, fltp, 128 kb/s (default)
Metadata:
handler_name : Sound Media Handler
Stream #0:2(eng): Data: bin_data (text / 0x74786574)
Metadata:
handler_name : SubtitleHandler
File 'output.flv' already exists. Overwrite ? [y/N] y
Output #0, flv, to 'output.flv':
Metadata:
major_brand : isom
minor_version : 512
compatible_brands: isomiso2avc1mp41
encoder_private : myenc
encoder : Lavf58.28.101
Chapter #0:0: start 0.000000, end 300.096000
Metadata:
title :
Stream #0:0(und): Video: h264 (High) ([7][0][0][0] / 0x0007), yuv420p,
1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 20015 kb/s, 25 fps, 25 tbr, 1k tbn,
12800 tbc (default)
Metadata:
handler_name : VideoHandler
Stream #0:1(und): Audio: aac (LC) ([10][0][0][0] / 0x000A), 48000 Hz,
stereo, fltp, 128 kb/s (default)
Metadata:
handler_name : Sound Media Handler
Stream mapping:
Stream #0:0 -> #0:0 (copy)
Stream #0:1 -> #0:1 (copy)
Press [q] to stop, [?] for help
frame= 693 fps=275 q=-1.0 Lsize= 76097kB time=00:00:27.69
bitrate=22512.2kbits/s speed= 11x
video:75627kB audio:435kB subtitle:0kB other streams:0kB global
headers:0kB muxing overhead: 0.046850%
StevenLiu:ffmpeg StevenLiu$ ffmpeg -i output.flv
ffmpeg version N-94165-g6e988b75df Copyright (c) 2000-2019 the FFmpeg
developers
built with Apple LLVM version 10.0.0 (clang-1000.11.45.5)
configuration: --enable-libass --enable-opengl --enable-libx264
--enable-libmp3lame --enable-gpl --enable-nonfree --prefix=/usr/local
--enable-libtesseract --enable-libspeex --enable-libfreetype --enable-
libfontconfig --enable-libfdk-aac --enable-videotoolbox --enable-libxml2
--enable-librsvg --enable-libvmaf --enable-version3 --disable-stripping
--disable-optimizations
libavutil 56. 30.100 / 56. 30.100
libavcodec 58. 53.101 / 58. 53.101
libavformat 58. 28.101 / 58. 28.101
libavdevice 58. 7.100 / 58. 7.100
libavfilter 7. 56.100 / 7. 56.100
libswscale 5. 4.101 / 5. 4.101
libswresample 3. 4.100 / 3. 4.100
libpostproc 55. 4.100 / 55. 4.100
Input #0, flv, from 'output.flv':
Metadata:
major_brand : isom
minor_version : 512
compatible_brands: isomiso2avc1mp41
encoder_private : myenc
encoder : Lavf58.28.101
Duration: 00:00:27.74, start: 0.000000, bitrate: 22471 kb/s
Stream #0:0: Video: h264 (High), yuv420p(progressive), 1920x1080 [SAR
1:1 DAR 16:9], 20015 kb/s, 25 fps, 25 tbr, 1k tbn
Stream #0:1: Audio: aac (LC), 48000 Hz, stereo, fltp, 128 kb/s
At least one output file must be specified
StevenLiu:ffmpeg StevenLiu$
}}}
--
Ticket URL: <https://trac.ffmpeg.org/ticket/8129#comment:2>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list