-
Picture In Picture -Missing key or no key/value separator found
I would like to overlay a video within another video — I have tried the examples from the libavfilter documentation site and other examples.
I’d like to take a 640×480 video as the main/background video and superimpose a 480z360 video in the center of the main video.
ffmpeg -i file1.mp4 -vf “movie=file2.wmv[clip2]; [in][clip2] overlay=80:60 [out]” overlay.mp4
I received the following error: Missing key or no key/value separator found
ffmpeg version N-34549-g13b7781, Copyright (c) 2000-2011 the FFmpeg developers
built on Nov 6 2011 22:02:08 with gcc 4.6.1
configuration: –enable-gpl –enable-version3 –disable-w32threads –enable-runtime-cpudetect –enable-avisynth –enable-bzlib –enable-frei0r –enable-libopencore-amrnb –enable-libopencore-amrwb –enable-libfreetype –enable-libgsm –enable-libmp3lame –enable-libopenjpeg –enable-librtmp –enable-libschroedinger –enable-libspeex –enable-libtheora –enable-libvo-aacenc –enable-libvo-amrwbenc –enable-libvorbis –enable-libvpx –enable-libx264 –enable-libxavs –enable-libxvid –enable-zlib
libavutil 51. 24. 0 / 51. 24. 0
libavcodec 53. 28. 0 / 53. 28. 0
libavformat 53. 19. 0 / 53. 19. 0
libavdevice 53. 4. 0 / 53. 4. 0
libavfilter 2. 47. 0 / 2. 47. 0
libswscale 2. 1. 0 / 2. 1. 0
libpostproc 51. 2. 0 / 51. 2. 0
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from ‘c:\temp\videos\file1.mp4’:
Metadata:
major_brand : isom
minor_version : 512
compatible_brands: isomiso2avc1mp41
creation_time : 1970-01-01 00:00:00
encoder : Lavf53.19.0
Duration: 00:00:40.66, start: 0.000000, bitrate: 232 kb/s
Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 640×480, 97 kb/s, 30 fps, 30 tbr, 30 tbn, 60 tbc
Metadata:
creation_time : 1970-01-01 00:00:00
handler_name : VideoHandler
Stream #0:1(und): Audio: aac (mp4a / 0x6134706D), 48000 Hz, stereo, s16, 128 kb/s
Metadata:
creation_time : 1970-01-01 00:00:00
handler_name :
[buffer @ 034B5DA0] w:640 h:480 pixfmt:yuv420p tb:1/1000000 sar:0/1 sws_param:
[movie @ 034CBC00] Missing key or no key/value separator found after key ‘tempvideosfile2.mp4’
[movie @ 034CBBC0] Error parsing options string: ‘tempvideosfile2.mp4’
Error initializing filter ‘movie’ with args ‘c:tempvideosfile2.mp4’
Error opening filters!