[FFmpeg-user] No video only audio in the output file
richard nirmal singh
tuty.richard at gmail.com
Tue May 9 18:29:13 EEST 2017
Added -pix_fmt yuv420p but it creates video with watermarkimage and audio
but actual video content is not available.
ffmpeg.exe -y -i MHPDV000195.mpg -i DAL_WaterMark642x342_new.png
-filter_complex "overlay=W-w-0:H-h-0" -r 1/10 -s 500x376 -f image2
OTMM__OUTPUT__FILE%4d.jpg -s 640x352 -aspect 16:9 -r 29.97 -b:v 800000 -b:a
96000 -ar 48000 -pix_fmt yuv420p MHPDV000195-O.mp4
ffmpeg version N-85750-ga75ef15 Copyright (c) 2000-2017 the FFmpeg
developers
built with gcc 6.3.0 (GCC)
configuration: --enable-gpl --enable-version3 --enable-cuda
--enable-cuvid --e
nable-d3d11va --enable-dxva2 --enable-libmfx --enable-nvenc
--enable-avisynth --
enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls
--enable-iconv
--enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca
--enable-li
bfreetype --enable-libgme --enable-libgsm --enable-libilbc
--enable-libmodplug -
-enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb
--enabl
e-libopenh264 --enable-libopenjpeg --enable-libopus --enable-librtmp
--enable-li
bsnappy --enable-libsoxr --enable-libspeex --enable-libtheora
--enable-libtwolam
e --enable-libvidstab --enable-libvo-amrwbenc --enable-libvorbis
--enable-libvpx
--enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265
--enable
-libxavs --enable-libxvid --enable-libzimg --enable-lzma --enable-zlib
libavutil 55. 61.100 / 55. 61.100
libavcodec 57. 93.100 / 57. 93.100
libavformat 57. 72.101 / 57. 72.101
libavdevice 57. 7.100 / 57. 7.100
libavfilter 6. 88.100 / 6. 88.100
libswscale 4. 7.101 / 4. 7.101
libswresample 2. 8.100 / 2. 8.100
libpostproc 54. 6.100 / 54. 6.100
Input #0, mpeg, from 'MHPDV000195.mpg':
Duration: 00:02:37.89, start: 0.213367, bitrate: 4194 kb/s
Stream #0:0[0x1e0]: Video: mpeg2video (Main), yuv420p(tv, bottom
first), 432
x324 [SAR 1:1 DAR 4:3], 3932 kb/s, 29.97 fps, 29.97 tbr, 90k tbn, 59.94 tbc
Stream #0:1[0x1c0]: Audio: mp2, 44100 Hz, stereo, s16p, 128 kb/s
Input #1, png_pipe, from 'DAL_WaterMark642x342_new.png':
Duration: N/A, bitrate: N/A
Stream #1:0: Video: png, rgba(pc), 652x342, 25 tbr, 25 tbn, 25 tbc
Stream mapping:
Stream #0:0 (mpeg2video) -> overlay:main (graph 0)
Stream #1:0 (png) -> overlay:overlay (graph 0)
overlay (graph 0) -> Stream #0:0 (mjpeg)
Stream #1:0 -> #1:0 (png (native) -> h264 (libx264))
Stream #0:1 -> #1:1 (mp2 (native) -> aac (native))
Press [q] to stop, [?] for help
[swscaler @ 00000000025e5ea0] deprecated pixel format used, make sure you
did se
t range correctly
Output #0, image2, to 'OTMM__OUTPUT__FILE%4d.jpg':
Metadata:
encoder : Lavf57.72.101
Stream #0:0: Video: mjpeg, yuvj420p(pc), 500x376 [SAR 376:375 DAR 4:3],
q=2-
31, 200 kb/s, 0.10 fps, 0.10 tbn, 0.10 tbc (default)
Metadata:
encoder : Lavc57.93.100 mjpeg
Side data:
cpb: bitrate max/min/avg: 0/0/200000 buffer size: 0 vbv_delay: -1
[libx264 @ 000000000032a8e0] using SAR=44/45
[libx264 @ 000000000032a8e0] using cpu capabilities: MMX2 SSE2Fast SSSE3
SSE4.2
AVX LZCNT
[libx264 @ 000000000032a8e0] profile High, level 3.0
[libx264 @ 000000000032a8e0] 264 - core 148 r2762 90a61ec - H.264/MPEG-4
AVC cod
ec - Copyleft 2003-2017 - http://www.videolan.org/x264.html - options:
cabac=1 r
ef=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_pski
p=1 chroma_qp_offset=-2 threads=3 lookahead_threads=1 sliced_threads=0 nr=0
deci
mate=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=2
5 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=abr mbtree=1 bitrate=800
rateto
l=1.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
Output #1, mp4, to 'MHPDV000195-O.mp4':
Metadata:
encoder : Lavf57.72.101
Stream #1:0: Video: h264 (libx264) ([33][0][0][0] / 0x0021), yuv420p,
640x35
2 [SAR 44:45 DAR 16:9], q=-1--1, 800 kb/s, 29.97 fps, 11988 tbn, 29.97 tbc
Metadata:
encoder : Lavc57.93.100 libx264
Side data:
cpb: bitrate max/min/avg: 0/0/800000 buffer size: 0 vbv_delay: -1
Stream #1:1: Audio: aac (LC) ([64][0][0][0] / 0x0040), 48000 Hz,
stereo, flt
p, 96 kb/s
Metadata:
encoder : Lavc57.93.100 aac
frame= 2 fps=0.0 q=1.6 q=0.0 size=N/A time=00:00:20.00 bitrate=N/A dup=0
drop
frame= 3 fps=3.0 q=1.6 q=0.0 size=N/A time=00:00:30.00 bitrate=N/A dup=0
drop
frame= 3 fps=2.0 q=1.6 q=0.0 size=N/A time=00:00:30.00 bitrate=N/A dup=0
drop
frame= 4 fps=2.0 q=1.6 q=0.0 size=N/A time=00:00:40.00 bitrate=N/A dup=0
drop
frame= 4 fps=1.6 q=1.6 q=0.0 size=N/A time=00:00:40.00 bitrate=N/A dup=0
drop
frame= 5 fps=1.7 q=1.6 q=0.0 size=N/A time=00:00:50.00 bitrate=N/A dup=0
drop
frame= 5 fps=1.4 q=1.6 q=0.0 size=N/A time=00:00:50.00 bitrate=N/A dup=0
drop
frame= 6 fps=1.5 q=1.6 q=0.0 size=N/A time=00:01:00.00 bitrate=N/A dup=0
drop
frame= 6 fps=1.3 q=1.6 q=0.0 size=N/A time=00:01:00.00 bitrate=N/A dup=0
drop
frame= 7 fps=1.4 q=1.6 q=0.0 size=N/A time=00:01:10.00 bitrate=N/A dup=0
drop
frame= 8 fps=1.5 q=1.6 q=0.0 size=N/A time=00:01:20.00 bitrate=N/A dup=0
drop
frame= 8 fps=1.3 q=1.6 q=0.0 size=N/A time=00:01:20.00 bitrate=N/A dup=0
drop
frame= 9 fps=1.4 q=1.6 q=0.0 size=N/A time=00:01:30.00 bitrate=N/A dup=0
drop
frame= 9 fps=1.3 q=1.6 q=0.0 size=N/A time=00:01:30.00 bitrate=N/A dup=0
drop
frame= 10 fps=1.3 q=1.6 q=0.0 size=N/A time=00:01:40.00 bitrate=N/A dup=0
drop
frame= 11 fps=1.4 q=1.6 q=0.0 size=N/A time=00:01:50.00 bitrate=N/A dup=0
drop
frame= 11 fps=1.3 q=1.6 q=0.0 size=N/A time=00:01:50.00 bitrate=N/A dup=0
drop
frame= 12 fps=1.3 q=1.6 q=0.0 size=N/A time=00:02:00.00 bitrate=N/A dup=0
drop
frame= 13 fps=1.4 q=1.6 q=0.0 size=N/A time=00:02:10.00 bitrate=N/A dup=0
drop
frame= 13 fps=1.3 q=1.6 q=0.0 size=N/A time=00:02:10.00 bitrate=N/A dup=0
drop
frame= 14 fps=1.3 q=1.6 q=0.0 size=N/A time=00:02:20.00 bitrate=N/A dup=0
drop
frame= 14 fps=1.3 q=1.6 q=0.0 size=N/A time=00:02:20.00 bitrate=N/A dup=0
drop
frame= 15 fps=1.3 q=1.6 q=0.0 size=N/A time=00:02:30.00 bitrate=N/A dup=0
drop
frame= 16 fps=1.3 q=1.6 q=0.0 size=N/A time=00:02:40.00 bitrate=N/A dup=0
drop
frame= 16 fps=1.3 q=1.6 q=0.0 size=N/A time=00:02:40.00 bitrate=N/A dup=0
drop
frame= 17 fps=1.3 q=1.6 q=0.0 size=N/A time=00:02:50.00 bitrate=N/A dup=0
drop
frame= 17 fps=1.3 q=1.6 Lq=32.0 size=N/A time=00:02:50.00 bitrate=N/A
dup=0 dr
op=4715 speed=12.6x
video:771kB audio:1890kB subtitle:0kB other streams:0kB global headers:0kB
muxin
g overhead: unknown
[libx264 @ 000000000032a8e0] frame I:1 Avg QP:29.36 size: 4433
[libx264 @ 000000000032a8e0] mb I I16..4: 52.7% 21.8% 25.5%
[libx264 @ 000000000032a8e0] final ratefactor: 27.08
[libx264 @ 000000000032a8e0] 8x8 transform intra:21.8%
[libx264 @ 000000000032a8e0] coded y,uvDC,uvAC intra: 15.9% 0.2% 0.0%
[libx264 @ 000000000032a8e0] i16 v,h,dc,p: 58% 39% 3% 0%
[libx264 @ 000000000032a8e0] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 43% 5% 48% 3%
0%
0% 0% 0% 2%
[libx264 @ 000000000032a8e0] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 37% 16% 25% 9%
10%
1% 1% 0% 1%
[libx264 @ 000000000032a8e0] i8c dc,h,v,p: 99% 1% 1% 0%
[libx264 @ 000000000032a8e0] kb/s:1062.86
[aac @ 000000000033e720] Qavg: 697.071
On Tue, May 9, 2017 at 8:07 PM, Gyan <gyandoshi at gmail.com> wrote:
> On Tue, May 9, 2017 at 8:01 PM, richard nirmal singh <
> tuty.richard at gmail.com
> > wrote:
>
>
> > No pixel format specified, yuv444p for H.264 encoding chosen.
> > Use -pix_fmt yuv420p for compatibility with outdated media players.
> >
> ....
>
> > video:762kB audio:1890kB subtitle:0kB other streams:0kB global
> headers:0kB
> > muxing overhead: unknown
> >
>
> Add -pix_fmt yuv420p.
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".
>
--
Regards,
Richard
More information about the ffmpeg-user
mailing list