zhanjx1314 / ffmbc

Automatically exported from code.google.com/p/ffmbc
0 stars 0 forks source link

ffmbc 0.7 rc7 failed to put watermark #111

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
we are try to put a watermark to stream mp4 file using -vf option

Command line(windows 7 64):

C:\ffmbc\bin>ffmbc.exe -loglevel warning -i c:\Users\Public\Videos\videoplaybac
k.mp4 -re -f mp4 -r 29.97 -vcodec libx264 -aspect 4:3 -flags +loop -cmp +chroma
-deblock 0:0 -b 1250k -maxrate 1500k -bufsize 4M -bt 256k -refs 1 -bf 3 -coder 1
 -me_method umh -me_range 16 -subq 7 -partitions +parti4x4+parti8x8+partp8x8+par
tb8x8 -g 250 -keyint_min 25 -level 30 -qmin 10 -qmax 51 -qcomp 0.6 -trellis 2 -s
c_threshold 40 -i_qfactor 0.71 -b_strategy 2 -qdiff 4 -wpredp 2 -rc_lookahead 50
 -acodec copy -vf "movie=logo.png [watermark]; [in] scale=512:-1,[watermark] ove
rlay=(main_w-overlay_w)/2:(main_h-overlay_h)/2 [out]" -f flv rtmp://175.103.44.4
3/live/teststream

Output :
FFmbc version 0.7-rc7
Copyright (c) 2008-2012 Baptiste Coudurier and the FFmpeg developers
[image2 @ 00000000018FB260] Could not find codec parameters (Video: png, yuv420p
)
[movie @ 000000000039DF20] Failed to find stream info

Thanks, Pardi.

Original issue reported on code.google.com by pardit...@gmail.com on 26 Jul 2012 at 6:31

GoogleCodeExporter commented 9 years ago
I will need the png to reproduce

Original comment by baptiste...@gmail.com on 1 Sep 2012 at 1:53

GoogleCodeExporter commented 9 years ago
Having the exact same problem on both a png and a tif from Photoshop. On linux 
it writes the header, but locks up when trying to write the first frame.

Original comment by bengt...@hocusfocus.no on 11 Sep 2012 at 6:18

Attachments:

GoogleCodeExporter commented 9 years ago
Humm, your watermark png is quite big, are you sure there isn't an error on 
positioning ?
ffmbc -i v210_720p.avi -vf "movie=hf.png [watermark]; [in] [watermark] 
overlay=0:0 [out]" test.mov

this works here.

Original comment by baptiste...@gmail.com on 11 Sep 2012 at 6:26

GoogleCodeExporter commented 9 years ago
No answer, closing.

Original comment by baptiste...@gmail.com on 1 Nov 2012 at 2:12