removido
(usa Nenhuma)
Enviado em 27/05/2012 - 21:49h
Bruno Tecnico escreveu:
Já tentou usar o " * (*.mp4) ", assim indicando todos os vídeos.
ffmpeg -i *.mp4 -f avi -vcodec msmpeg4v2 -r 25 -b 2500K -acodec libmp3lame -ac 2 -ar 44100 -ab 128k video.avi
não dá brother, ele pergunta se quer sobrescrever os arquivos originais, veja:
$ ffmpeg -i *.mp4 -f avi -vcodec msmpeg4v2 -r 25 -b 2500K -acodec libmp3lame -ac 2 -ar 44100 -ab 128k video.avi
ffmpeg version 0.8-4:0.8-2~bpo60+1, Copyright (c) 2000-2011 the Libav developers
built on Mar 20 2012 12:56:59 with gcc 4.4.5
This program is not developed anymore and is only provided for compatibility. Use avconv instead (see Changelog for the list of incompatible changes).
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'Arctic Monkeys - Don't Sit Down 'Cause I've Moved Your Chair.mp4':
Metadata:
major_brand : mp42
minor_version : 0
compatible_brands: isommp42
creation_time : 2011-04-13 10:22:29
Duration: 00:03:07.21, start: 0.000000, bitrate: 2739 kb/s
Stream #0.0(und): Video: h264 (High), yuv420p, 1280x720, 2584 kb/s, 23.98 fps, 24 tbr, 1k tbn, 48 tbc
Metadata:
creation_time : 1970-01-01 00:00:00
Stream #0.1(und): Audio: aac, 44100 Hz, stereo, s16, 149 kb/s
Metadata:
creation_time : 2011-04-13 10:22:30
File 'Black Sabbath - Paranoid(1970 - Music Video).mp4' already exists. Overwrite ? [y/N] y
File 'Foo_Fighters_Dear_Rosemary_with_Bob_Mould_at_the_Dragonfly-cZI9fLyfC-M.mp4' already exists. Overwrite ? [y/N] y
File 'Jeffy_Tweedy_I_ll_Fight_Live_at_Farm_Aid_25-djDq_ASjx3Y.mp4' already exists. Overwrite ? [y/N] y
[buffer @ 0x9d26b00] w:1280 h:720 pixfmt:yuv420p
[buffer @ 0x9c592a0] w:1280 h:720 pixfmt:yuv420p
[buffer @ 0x9c87120] w:1280 h:720 pixfmt:yuv420p
[buffer @ 0x9c87820] w:1280 h:720 pixfmt:yuv420p
[libx264 @ 0x9d25b00] using cpu capabilities: MMX2 SSE2Slow SlowCTZ
[libx264 @ 0x9d25b00] profile Main, level 3.1
[libx264 @ 0x9d25b00] 264 - core 120 r2151 a3f4407 - H.264/MPEG-4 AVC codec - Copyleft 2003-2011 -
http://www.videolan.org/x264.html - options: cabac=1 ref=3 deblock=1:0:0 analyse=0x1:0x111 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=0 me_range=16 chroma_me=1 trellis=1 8x8dct=0 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=0 b_adapt=1 b_bias=0 direct=1 weightb=0 open_gop=1 weightp=2 keyint=250 keyint_min=24 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.25 aq=1:1.00
encoder 'aac' is experimental and might produce bad results.
Add '-strict experimental' if you want to use it.
Se teclar Y bau-bau vídeos, se teclar N a operação é abortada.
Thanks pela resposta.