[FFmpeg-user] Video Watermark image

Jay Raval ravaljay85 at gmail.com
Thu Feb 1 09:47:24 EET 2018


Hi

I have use video watermark image it is successfully Make video with
watermark image but Video of picture is not show in player,

After Video download It Perfectly play video with image watermark

So,Please solve my problem

*Input :*
ffmpeg -i /usr/www/temp_files/files/20171101084025.mp4 -i
/usr/www/dist/watermark-logo7.png -filter_complex "overlay=10:10"
/usr/www/temp_files/files/testout203.mp4

*Output :*

ffmpeg version 3.3.4 Copyright (c) 2000-2017 the FFmpeg developers
  built with gcc 4.4.7 (GCC) 20120313 (Red Hat 4.4.7-18)
  configuration: --enable-postproc
  libavutil      55. 58.100 / 55. 58.100
  libavcodec     57. 89.100 / 57. 89.100
  libavformat    57. 71.100 / 57. 71.100
  libavdevice    57.  6.100 / 57.  6.100
  libavfilter     6. 82.100 /  6. 82.100
  libswscale      4.  6.100 /  4.  6.100
  libswresample   2.  7.100 /  2.  7.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from
'/usr/www/temp_files/files/20171101084025.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    encoder         : Lavf56.40.101
  Duration: 00:00:14.10, start: 0.000000, bitrate: 1273 kb/s
    Stream #0:0(eng): Video: h264 (Constrained Baseline) (avc1 /
0x31637661), yuv420p, 480x600 [SAR 675:676 DAR 135:169], 1219 kb/s, 30 fps,
30 tbr, 15360 tbn, 60 tbc (default)
    Metadata:
      handler_name    : VideoHandler
    Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz,
stereo, fltp, 48 kb/s (default)
    Metadata:
      handler_name    : SoundHandler
Input #1, png_pipe, from '/usr/www/dist/watermark-logo7.png':
  Duration: N/A, bitrate: N/A
    Stream #1:0: Video: png, rgba(pc), 343x35, 25 tbr, 25 tbn, 25 tbc
Stream mapping:
  Stream #0:0 (h264) -> overlay:main (graph 0)
  Stream #1:0 (png) -> overlay:overlay (graph 0)
  overlay (graph 0) -> Stream #0:0 (mpeg4)
  Stream #0:1 -> #0:1 (aac (native) -> aac (native))
Press [q] to stop, [?] for help
[mpeg4 @ 0x3df5240] Invalid pixel aspect ratio 675/676, limit is 255/255
reducing
Output #0, mp4, to '/usr/www/temp_files/files/testout203.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    encoder         : Lavf57.71.100
    Stream #0:0: Video: mpeg4 ( [0][0][0] / 0x0020), yuv420p, 480x600 [SAR
1:1 DAR 4:5], q=2-31, 200 kb/s, SAR 675:676 DAR 135:169, 30 fps, 15360 tbn,
30 tbc (default)
    Metadata:
      encoder         : Lavc57.89.100 mpeg4
    Side data:
      cpb: bitrate max/min/avg: 0/0/200000 buffer size: 0 vbv_delay: -1
    Stream #0:1(eng): Audio: aac (LC) ([64][0][0][0] / 0x0040), 44100 Hz,
stereo, fltp, 128 kb/s (default)
    Metadata:
      handler_name    : SoundHandler
      encoder         : Lavc57.89.100 aac
frame=  422 fps=181 q=31.0 Lsize=    1171kB time=00:00:14.09 bitrate=
680.8kbits/s speed=6.04x
video:939kB audio:219kB subtitle:0kB other streams:0kB global headers:0kB
muxing overhead: 1.129738%
[aac @ 0x3e21140] Qavg: 1517.436


Regard
   Jay


More information about the ffmpeg-user mailing list