[Ffmpeg-devel] pip.c - PiP (Picture in Picture) v1.0 patch. Remakeof watermark.c

Mihail Stoyanov screamer
Tue Oct 24 14:49:43 CEST 2006


You can view the PiP in action here (click twice on the FLV Player):
http://vid.data.bg/9x9hlu1r?skip_redir=1&lang=en#vid

The PiP movie is in WMV format, using mode 0, contrast -50, fade in/out and 
so on
See the command line below

Here's the convert output of ffmpeg:
---------------------
/usr/bin/ffmpeg -i "/raid/video/06/10/02/24.source" -y -s 608x336   -acodec 
mp3 -ar 22050 -ab 96  -b 833945 -qmin 2 -qmax 15 -f flv 
"/raid/video/06/10/02/24.flv"  -vhook '/usr/local/lib/vhook/pip.so -f 
/raid/video/06/10/18/3234.source -x 400 -y 180 -w 150 -h 130 -s 50 -e 400 -d 
25 -c -50 -m 0'  -debug 1
FFmpeg version SVN-r6777, Copyright (c) 2000-2006 Fabrice Bellard, et al.
  configuration:  --enable-mp3lame --enable-libogg --enable-vorbis --enable-shared 
 --enable-gpl --enable-dts --enable-a52 --enable-faac --enable-faad --enable-amr_nb 
 --enable-amr_wb --enable-amr_if2 --enable-amr_nb-fixed --enable-libgsm
  libavutil version: 49.0.1
  libavcodec version: 51.21.0
  libavformat version: 50.6.0
  built on Oct 24 2006 01:43:32, gcc: 3.3.3 (Debian 20040422)

Seems that stream 0 comes from film source: 23.98 (65534/2733) -> 23.98 
(24000/1001)
Input #0, avi, from '/raid/video/06/10/02/24.source':
  Duration: 00:01:00.0, start: 0.000000, bitrate: 1177 kb/s
  Stream #0.0: Video: mpeg4, yuv420p, 608x336, 23.98 fps(r)
  Stream #0.1: Audio: mp3, 44100 Hz, stereo, 112 kb/s
Output #0, flv, to '/raid/video/06/10/02/24.flv':
  Stream #0.0, 1/90000: Video: flv, yuv420p, 608x336, 1001/24000, q=2-15, 
833 kb/s, 23.98 fps(c)
  Stream #0.1, 1/90000: Audio: mp3, 22050 Hz, stereo, 96 kb/s
Stream mapping:
  Stream #0.0 -> #0.0
  Stream #0.1 -> #0.1
Press [q] to stop encoding
backstep:18, lastbuf:0
frame=   45 q=3.4 size=     309kB time=1.9 bitrate=1349.3kbits/s
PiP: Position 400x180, Size 150x130, Mode 0
PiP: Start frame 50, Stop frame 400, Fade in/out: Yes
PIX_FMT_YUV420P will be used as an intermediate format for rescaling
frame= 1439 q=4.9 Lsize=    7114kB time=60.0 bitrate= 971.0kbits/s
video:6352kB audio:704kB global headers:0kB muxing overhead 0.830447%
-> Convert time: 00:15
---------------------

Note that the convert time without any PiP is 12 seconds :)


----- Original Message ----- 
From: "V?ctor Paesa" <wzrlpy at arsystel.com>
To: "FFmpeg development discussions and patches" <ffmpeg-devel at mplayerhq.hu>
Sent: Tuesday, October 24, 2006 1:31 AM
Subject: Re: [Ffmpeg-devel] pip.c - PiP (Picture in Picture) v1.0 patch. 
Remakeof watermark.c


Hi,
[cut]
Regards,
V?ctor
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel at mplayerhq.hu
http://lists.mplayerhq.hu/mailman/listinfo/ffmpeg-devel





More information about the ffmpeg-devel mailing list