como remover “Writing library” e “Encoding settings” do vídeo quando usado o ffmpeg convert?

1

quando usei este commond:

C:\Windows\bin\ffmpeg.exe -y -i f:.flv -vcodec h264 -s 1280x720 -acodec copy f:\output.mp4

A informação do video output.mp4:

General
Complete name                    : F:\output.mp4
Format                           : MPEG-4
Format profile                   : Base Media
Codec ID                         : isom
File size                        : 129 MiB
Duration                         : 10mn 15s
Overall bit rate                 : 1 759 Kbps
Writing application              : Lavf57.14.100

Video
ID                               : 1
Format                           : AVC
Format/Info                      : Advanced Video Codec
Format profile                   : [email protected]
Format settings, CABAC           : Yes
Format settings, ReFrames        : 4 frames
Format settings, GOP             : M=4, N=45
Codec ID                         : avc1
Codec ID/Info                    : Advanced Video Coding
Duration                         : 10mn 15s
Bit rate mode                    : Variable
Bit rate                         : 1 624 Kbps
Width                            : 1 280 pixels
Height                           : 720 pixels
Display aspect ratio             : 16:9
Frame rate mode                  : Constant
Frame rate                       : 25.000 fps
Color space                      : YUV
Chroma subsampling               : 4:2:0
Bit depth                        : 8 bits
Scan type                        : Progressive
Bits/(Pixel*Frame)               : 0.071
Stream size                      : 119 MiB (92%)
Writing library                  : x264 core 148 r2638 7599210
Encoding settings                : cabac=1 / ref=3 / deblock=1:0:0 / analyse=0x3:0x113 / me=hex / subme=7 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=12 / lookahead_threads=2 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=3 / b_pyramid=2 / b_adapt=1 / b_bias=0 / direct=1 / weightb=1 / open_gop=0 / weightp=2 / keyint=250 / keyint_min=25 / scenecut=40 / intra_refresh=0 / rc_lookahead=40 / rc=crf / mbtree=1 / crf=23.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / ip_ratio=1.40 / aq=1:1.00

Audio
ID                               : 2
Format                           : AAC
Format/Info                      : Advanced Audio Codec
Format profile                   : LC
Codec ID                         : 40
Duration                         : 10mn 15s
Bit rate mode                    : Constant
Bit rate                         : 128 Kbps
Channel(s)                       : 2 channels
Channel positions                : Front: L R
Sampling rate                    : 44.1 KHz
Compression mode                 : Lossy
Stream size                      : 9.38 MiB (7%)

Então eu quero excluir "Writing library" & "Configurações de codificação", como fazer isso?

    
por Rex 10.06.2016 / 08:28

1 resposta

0

Depois de pesquisar por mais de um ano, descobri. Há uma posibilidade de fazer isso colocando o comando: -x265-params no-info = 1, por exemplo, por exemplo:

ffmpeg -i input.mkv -c: v libx265 -b: v 4000k -an -x265-params no-info = 1 output.hevc

    
por 13.06.2017 / 12:31