==8465== Addrcheck, a fine-grained address checker for x86-linux.
==8465== Copyright (C) 2002-2004, and GNU GPL'd, by Julian Seward et al.
==8465== Using valgrind-2.2.0, a program supervision framework for x86-linux.
==8465== Copyright (C) 2000-2004, and GNU GPL'd, by Julian Seward et al.
==8465== For more details, rerun with: -v
==8465== 
**8465** GStreamer has detected that it is running inside valgrind.
**8465** It might now take different code paths to ease debugging.
**8465** Of course, this may also lead to different bugs.
==8465== Invalid free() / delete / delete[]
==8465==    at 0x3414AB44: free (vg_replace_malloc.c:153)
==8465==    by 0x34B0C5D2: av_free (mem.c:115)
==8465==    by 0x34B0A793: av_freep (utils.c:130)
==8465==    by 0x34B0DF1B: free_duplicate_context (mpegvideo.c:485)
==8465==    by 0x34B0F3A0: MPV_common_end (mpegvideo.c:807)
==8465==    by 0x34B10192: MPV_encode_end (mpegvideo.c:1288)
==8465==    by 0x34B0B376: avcodec_close (utils.c:566)
==8465==    by 0x34AC3809: gst_ffmpegenc_getcaps (gstffmpegenc.c:336)
==8465==    by 0x34191C82: gst_pad_get_caps (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x3418EF7C: gst_pad_can_link_filtered (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x3417DACD: gst_element_get_compatible_pad_filtered (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x3417E790: gst_element_link_pads_filtered (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x341BA8D0: (within /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x341BEB8E: _gst_parse_launch (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x341B5842: gst_parse_launch (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==  Address 0x80843E0 is not stack'd, malloc'd or (recently) free'd
==8465== 
==8465== Invalid free() / delete / delete[]
==8465==    at 0x3414AB44: free (vg_replace_malloc.c:153)
==8465==    by 0x34B0C5D2: av_free (mem.c:115)
==8465==    by 0x34B0A793: av_freep (utils.c:130)
==8465==    by 0x34B0DF31: free_duplicate_context (mpegvideo.c:486)
==8465==    by 0x34B0F3A0: MPV_common_end (mpegvideo.c:807)
==8465==    by 0x34B10192: MPV_encode_end (mpegvideo.c:1288)
==8465==    by 0x34B0B376: avcodec_close (utils.c:566)
==8465==    by 0x34AC3809: gst_ffmpegenc_getcaps (gstffmpegenc.c:336)
==8465==    by 0x34191C82: gst_pad_get_caps (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x3418EF7C: gst_pad_can_link_filtered (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x3417DACD: gst_element_get_compatible_pad_filtered (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x3417E790: gst_element_link_pads_filtered (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x341BA8D0: (within /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x341BEB8E: _gst_parse_launch (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x341B5842: gst_parse_launch (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==  Address 0x808BB10 is not stack'd, malloc'd or (recently) free'd
==8465== 
==8465== Invalid free() / delete / delete[]
==8465==    at 0x3414AB44: free (vg_replace_malloc.c:153)
==8465==    by 0x34B0C5D2: av_free (mem.c:115)
==8465==    by 0x34B0A793: av_freep (utils.c:130)
==8465==    by 0x34B0DF65: free_duplicate_context (mpegvideo.c:492)
==8465==    by 0x34B0F3A0: MPV_common_end (mpegvideo.c:807)
==8465==    by 0x34B10192: MPV_encode_end (mpegvideo.c:1288)
==8465==    by 0x34B0B376: avcodec_close (utils.c:566)
==8465==    by 0x34AC3809: gst_ffmpegenc_getcaps (gstffmpegenc.c:336)
==8465==    by 0x34191C82: gst_pad_get_caps (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x3418EF7C: gst_pad_can_link_filtered (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x3417DACD: gst_element_get_compatible_pad_filtered (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x3417E790: gst_element_link_pads_filtered (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x341BA8D0: (within /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x341BEB8E: _gst_parse_launch (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x341B5842: gst_parse_launch (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==  Address 0x8099B40 is not stack'd, malloc'd or (recently) free'd
==8465== 
==8465== Invalid free() / delete / delete[]
==8465==    at 0x3414AB44: free (vg_replace_malloc.c:153)
==8465==    by 0x34B0C5D2: av_free (mem.c:115)
==8465==    by 0x34B0A793: av_freep (utils.c:130)
==8465==    by 0x34B0DF73: free_duplicate_context (mpegvideo.c:493)
==8465==    by 0x34B0F3A0: MPV_common_end (mpegvideo.c:807)
==8465==    by 0x34B10192: MPV_encode_end (mpegvideo.c:1288)
==8465==    by 0x34B0B376: avcodec_close (utils.c:566)
==8465==    by 0x34AC3809: gst_ffmpegenc_getcaps (gstffmpegenc.c:336)
==8465==    by 0x34191C82: gst_pad_get_caps (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x3418EF7C: gst_pad_can_link_filtered (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x3417DACD: gst_element_get_compatible_pad_filtered (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x3417E790: gst_element_link_pads_filtered (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x341BA8D0: (within /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x341BEB8E: _gst_parse_launch (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x341B5842: gst_parse_launch (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==  Address 0x8099C70 is not stack'd, malloc'd or (recently) free'd
==8465== 
==8465== Invalid free() / delete / delete[]
==8465==    at 0x3414AB44: free (vg_replace_malloc.c:153)
==8465==    by 0x34B0C5D2: av_free (mem.c:115)
==8465==    by 0x34B0A793: av_freep (utils.c:130)
==8465==    by 0x34B0DF81: free_duplicate_context (mpegvideo.c:494)
==8465==    by 0x34B0F3A0: MPV_common_end (mpegvideo.c:807)
==8465==    by 0x34B10192: MPV_encode_end (mpegvideo.c:1288)
==8465==    by 0x34B0B376: avcodec_close (utils.c:566)
==8465==    by 0x34AC3809: gst_ffmpegenc_getcaps (gstffmpegenc.c:336)
==8465==    by 0x34191C82: gst_pad_get_caps (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x3418EF7C: gst_pad_can_link_filtered (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x3417DACD: gst_element_get_compatible_pad_filtered (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x3417E790: gst_element_link_pads_filtered (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x341BA8D0: (within /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x341BEB8E: _gst_parse_launch (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x341B5842: gst_parse_launch (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==  Address 0x8099DA0 is not stack'd, malloc'd or (recently) free'd
==8465== 
==8465== Invalid free() / delete / delete[]
==8465==    at 0x3414AB44: free (vg_replace_malloc.c:153)
==8465==    by 0x34B0C5D2: av_free (mem.c:115)
==8465==    by 0x34B0A793: av_freep (utils.c:130)
==8465==    by 0x34B0F016: MPV_common_end (mpegvideo.c:816)
==8465==    by 0x34B10192: MPV_encode_end (mpegvideo.c:1288)
==8465==    by 0x34B0B376: avcodec_close (utils.c:566)
==8465==    by 0x34AC3809: gst_ffmpegenc_getcaps (gstffmpegenc.c:336)
==8465==    by 0x34191C82: gst_pad_get_caps (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x3418EF7C: gst_pad_can_link_filtered (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x3417DACD: gst_element_get_compatible_pad_filtered (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x3417E790: gst_element_link_pads_filtered (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x341BA8D0: (within /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x341BEB8E: _gst_parse_launch (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x341B5842: gst_parse_launch (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x341B577F: gst_parse_launchv (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==  Address 0x8059E00 is not stack'd, malloc'd or (recently) free'd
==8465== 
==8465== Invalid free() / delete / delete[]
==8465==    at 0x3414AB44: free (vg_replace_malloc.c:153)
==8465==    by 0x34B0C5D2: av_free (mem.c:115)
==8465==    by 0x34B0A793: av_freep (utils.c:130)
==8465==    by 0x34B0F026: MPV_common_end (mpegvideo.c:817)
==8465==    by 0x34B10192: MPV_encode_end (mpegvideo.c:1288)
==8465==    by 0x34B0B376: avcodec_close (utils.c:566)
==8465==    by 0x34AC3809: gst_ffmpegenc_getcaps (gstffmpegenc.c:336)
==8465==    by 0x34191C82: gst_pad_get_caps (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x3418EF7C: gst_pad_can_link_filtered (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x3417DACD: gst_element_get_compatible_pad_filtered (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x3417E790: gst_element_link_pads_filtered (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x341BA8D0: (within /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x341BEB8E: _gst_parse_launch (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x341B5842: gst_parse_launch (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x341B577F: gst_parse_launchv (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==  Address 0x8056CD0 is not stack'd, malloc'd or (recently) free'd
==8465== 
==8465== Invalid free() / delete / delete[]
==8465==    at 0x3414AB44: free (vg_replace_malloc.c:153)
==8465==    by 0x34B0C5D2: av_free (mem.c:115)
==8465==    by 0x34B0A793: av_freep (utils.c:130)
==8465==    by 0x34B0F036: MPV_common_end (mpegvideo.c:818)
==8465==    by 0x34B10192: MPV_encode_end (mpegvideo.c:1288)
==8465==    by 0x34B0B376: avcodec_close (utils.c:566)
==8465==    by 0x34AC3809: gst_ffmpegenc_getcaps (gstffmpegenc.c:336)
==8465==    by 0x34191C82: gst_pad_get_caps (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x3418EF7C: gst_pad_can_link_filtered (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x3417DACD: gst_element_get_compatible_pad_filtered (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x3417E790: gst_element_link_pads_filtered (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x341BA8D0: (within /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x341BEB8E: _gst_parse_launch (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x341B5842: gst_parse_launch (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x341B577F: gst_parse_launchv (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==  Address 0x80574D0 is not stack'd, malloc'd or (recently) free'd
==8465== 
==8465== Invalid free() / delete / delete[]
==8465==    at 0x3414AB44: free (vg_replace_malloc.c:153)
==8465==    by 0x34B0C5D2: av_free (mem.c:115)
==8465==    by 0x34B0A793: av_freep (utils.c:130)
==8465==    by 0x34B0F046: MPV_common_end (mpegvideo.c:819)
==8465==    by 0x34B10192: MPV_encode_end (mpegvideo.c:1288)
==8465==    by 0x34B0B376: avcodec_close (utils.c:566)
==8465==    by 0x34AC3809: gst_ffmpegenc_getcaps (gstffmpegenc.c:336)
==8465==    by 0x34191C82: gst_pad_get_caps (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x3418EF7C: gst_pad_can_link_filtered (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x3417DACD: gst_element_get_compatible_pad_filtered (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x3417E790: gst_element_link_pads_filtered (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x341BA8D0: (within /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x341BEB8E: _gst_parse_launch (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x341B5842: gst_parse_launch (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x341B577F: gst_parse_launchv (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==  Address 0x8057CD0 is not stack'd, malloc'd or (recently) free'd
==8465== 
==8465== Invalid free() / delete / delete[]
==8465==    at 0x3414AB44: free (vg_replace_malloc.c:153)
==8465==    by 0x34B0C5D2: av_free (mem.c:115)
==8465==    by 0x34B0A793: av_freep (utils.c:130)
==8465==    by 0x34B0F056: MPV_common_end (mpegvideo.c:820)
==8465==    by 0x34B10192: MPV_encode_end (mpegvideo.c:1288)
==8465==    by 0x34B0B376: avcodec_close (utils.c:566)
==8465==    by 0x34AC3809: gst_ffmpegenc_getcaps (gstffmpegenc.c:336)
==8465==    by 0x34191C82: gst_pad_get_caps (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x3418EF7C: gst_pad_can_link_filtered (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x3417DACD: gst_element_get_compatible_pad_filtered (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x3417E790: gst_element_link_pads_filtered (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x341BA8D0: (within /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x341BEB8E: _gst_parse_launch (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x341B5842: gst_parse_launch (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x341B577F: gst_parse_launchv (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==  Address 0x80584D0 is not stack'd, malloc'd or (recently) free'd
==8465== 
==8465== Invalid free() / delete / delete[]
==8465==    at 0x3414AB44: free (vg_replace_malloc.c:153)
==8465==    by 0x34B0C5D2: av_free (mem.c:115)
==8465==    by 0x34B0A793: av_freep (utils.c:130)
==8465==    by 0x34B0F066: MPV_common_end (mpegvideo.c:821)
==8465==    by 0x34B10192: MPV_encode_end (mpegvideo.c:1288)
==8465==    by 0x34B0B376: avcodec_close (utils.c:566)
==8465==    by 0x34AC3809: gst_ffmpegenc_getcaps (gstffmpegenc.c:336)
==8465==    by 0x34191C82: gst_pad_get_caps (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x3418EF7C: gst_pad_can_link_filtered (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x3417DACD: gst_element_get_compatible_pad_filtered (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x3417E790: gst_element_link_pads_filtered (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x341BA8D0: (within /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x341BEB8E: _gst_parse_launch (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x341B5842: gst_parse_launch (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x341B577F: gst_parse_launchv (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==  Address 0x8058CD0 is not stack'd, malloc'd or (recently) free'd
==8465== 
==8465== Invalid free() / delete / delete[]
==8465==    at 0x3414AB44: free (vg_replace_malloc.c:153)
==8465==    by 0x34B0C5D2: av_free (mem.c:115)
==8465==    by 0x34B0A793: av_freep (utils.c:130)
==8465==    by 0x34B0F076: MPV_common_end (mpegvideo.c:822)
==8465==    by 0x34B10192: MPV_encode_end (mpegvideo.c:1288)
==8465==    by 0x34B0B376: avcodec_close (utils.c:566)
==8465==    by 0x34AC3809: gst_ffmpegenc_getcaps (gstffmpegenc.c:336)
==8465==    by 0x34191C82: gst_pad_get_caps (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x3418EF7C: gst_pad_can_link_filtered (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x3417DACD: gst_element_get_compatible_pad_filtered (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x3417E790: gst_element_link_pads_filtered (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x341BA8D0: (within /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x341BEB8E: _gst_parse_launch (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x341B5842: gst_parse_launch (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x341B577F: gst_parse_launchv (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==  Address 0x80594D0 is not stack'd, malloc'd or (recently) free'd
==8465== 
==8465== Invalid free() / delete / delete[]
==8465==    at 0x3414AB44: free (vg_replace_malloc.c:153)
==8465==    by 0x34B0C5D2: av_free (mem.c:115)
==8465==    by 0x34B0A793: av_freep (utils.c:130)
==8465==    by 0x34B0F105: MPV_common_end (mpegvideo.c:832)
==8465==    by 0x34B10192: MPV_encode_end (mpegvideo.c:1288)
==8465==    by 0x34B0B376: avcodec_close (utils.c:566)
==8465==    by 0x34AC3809: gst_ffmpegenc_getcaps (gstffmpegenc.c:336)
==8465==    by 0x34191C82: gst_pad_get_caps (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x3418EF7C: gst_pad_can_link_filtered (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x3417DACD: gst_element_get_compatible_pad_filtered (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x3417E790: gst_element_link_pads_filtered (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x341BA8D0: (within /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x341BEB8E: _gst_parse_launch (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x341B5842: gst_parse_launch (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x341B577F: gst_parse_launchv (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==  Address 0x8064E80 is not stack'd, malloc'd or (recently) free'd
==8465== 
==8465== Invalid free() / delete / delete[]
==8465==    at 0x3414AB44: free (vg_replace_malloc.c:153)
==8465==    by 0x34B0C5D2: av_free (mem.c:115)
==8465==    by 0x34B0A793: av_freep (utils.c:130)
==8465==    by 0x34B0F12C: MPV_common_end (mpegvideo.c:835)
==8465==    by 0x34B10192: MPV_encode_end (mpegvideo.c:1288)
==8465==    by 0x34B0B376: avcodec_close (utils.c:566)
==8465==    by 0x34AC3809: gst_ffmpegenc_getcaps (gstffmpegenc.c:336)
==8465==    by 0x34191C82: gst_pad_get_caps (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x3418EF7C: gst_pad_can_link_filtered (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x3417DACD: gst_element_get_compatible_pad_filtered (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x3417E790: gst_element_link_pads_filtered (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x341BA8D0: (within /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x341BEB8E: _gst_parse_launch (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x341B5842: gst_parse_launch (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x341B577F: gst_parse_launchv (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==  Address 0x8065E80 is not stack'd, malloc'd or (recently) free'd
==8465== 
==8465== Invalid free() / delete / delete[]
==8465==    at 0x3414AB44: free (vg_replace_malloc.c:153)
==8465==    by 0x34B0C5D2: av_free (mem.c:115)
==8465==    by 0x34B0A793: av_freep (utils.c:130)
==8465==    by 0x34B0F13C: MPV_common_end (mpegvideo.c:836)
==8465==    by 0x34B10192: MPV_encode_end (mpegvideo.c:1288)
==8465==    by 0x34B0B376: avcodec_close (utils.c:566)
==8465==    by 0x34AC3809: gst_ffmpegenc_getcaps (gstffmpegenc.c:336)
==8465==    by 0x34191C82: gst_pad_get_caps (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x3418EF7C: gst_pad_can_link_filtered (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x3417DACD: gst_element_get_compatible_pad_filtered (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x3417E790: gst_element_link_pads_filtered (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x341BA8D0: (within /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x341BEB8E: _gst_parse_launch (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x341B5842: gst_parse_launch (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x341B577F: gst_parse_launchv (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==  Address 0x8066230 is not stack'd, malloc'd or (recently) free'd
==8465== 
==8465== Invalid free() / delete / delete[]
==8465==    at 0x3414AB44: free (vg_replace_malloc.c:153)
==8465==    by 0x34B0C5D2: av_free (mem.c:115)
==8465==    by 0x34B0A793: av_freep (utils.c:130)
==8465==    by 0x34B0F167: MPV_common_end (mpegvideo.c:839)
==8465==    by 0x34B10192: MPV_encode_end (mpegvideo.c:1288)
==8465==    by 0x34B0B376: avcodec_close (utils.c:566)
==8465==    by 0x34AC3809: gst_ffmpegenc_getcaps (gstffmpegenc.c:336)
==8465==    by 0x34191C82: gst_pad_get_caps (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x3418EF7C: gst_pad_can_link_filtered (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x3417DACD: gst_element_get_compatible_pad_filtered (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x3417E790: gst_element_link_pads_filtered (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x341BA8D0: (within /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x341BEB8E: _gst_parse_launch (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x341B5842: gst_parse_launch (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x341B577F: gst_parse_launchv (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==  Address 0x80685E0 is not stack'd, malloc'd or (recently) free'd
==8465== 
==8465== Invalid free() / delete / delete[]
==8465==    at 0x3414AB44: free (vg_replace_malloc.c:153)
==8465==    by 0x34B0C5D2: av_free (mem.c:115)
==8465==    by 0x34B0A793: av_freep (utils.c:130)
==8465==    by 0x34B0F18C: MPV_common_end (mpegvideo.c:842)
==8465==    by 0x34B10192: MPV_encode_end (mpegvideo.c:1288)
==8465==    by 0x34B0B376: avcodec_close (utils.c:566)
==8465==    by 0x34AC3809: gst_ffmpegenc_getcaps (gstffmpegenc.c:336)
==8465==    by 0x34191C82: gst_pad_get_caps (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x3418EF7C: gst_pad_can_link_filtered (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x3417DACD: gst_element_get_compatible_pad_filtered (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x3417E790: gst_element_link_pads_filtered (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x341BA8D0: (within /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x341BEB8E: _gst_parse_launch (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x341B5842: gst_parse_launch (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x341B577F: gst_parse_launchv (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==  Address 0x8082930 is not stack'd, malloc'd or (recently) free'd
==8465== 
==8465== Invalid free() / delete / delete[]
==8465==    at 0x3414AB44: free (vg_replace_malloc.c:153)
==8465==    by 0x34B0C5D2: av_free (mem.c:115)
==8465==    by 0x34B0A793: av_freep (utils.c:130)
==8465==    by 0x34B0F19C: MPV_common_end (mpegvideo.c:843)
==8465==    by 0x34B10192: MPV_encode_end (mpegvideo.c:1288)
==8465==    by 0x34B0B376: avcodec_close (utils.c:566)
==8465==    by 0x34AC3809: gst_ffmpegenc_getcaps (gstffmpegenc.c:336)
==8465==    by 0x34191C82: gst_pad_get_caps (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x3418EF7C: gst_pad_can_link_filtered (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x3417DACD: gst_element_get_compatible_pad_filtered (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x3417E790: gst_element_link_pads_filtered (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x341BA8D0: (within /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x341BEB8E: _gst_parse_launch (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x341B5842: gst_parse_launch (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x341B577F: gst_parse_launchv (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==  Address 0x806C4A0 is not stack'd, malloc'd or (recently) free'd
==8465== 
==8465== Invalid free() / delete / delete[]
==8465==    at 0x3414AB44: free (vg_replace_malloc.c:153)
==8465==    by 0x34B0C5D2: av_free (mem.c:115)
==8465==    by 0x34B0A793: av_freep (utils.c:130)
==8465==    by 0x34B0F1AC: MPV_common_end (mpegvideo.c:844)
==8465==    by 0x34B10192: MPV_encode_end (mpegvideo.c:1288)
==8465==    by 0x34B0B376: avcodec_close (utils.c:566)
==8465==    by 0x34AC3809: gst_ffmpegenc_getcaps (gstffmpegenc.c:336)
==8465==    by 0x34191C82: gst_pad_get_caps (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x3418EF7C: gst_pad_can_link_filtered (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x3417DACD: gst_element_get_compatible_pad_filtered (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x3417E790: gst_element_link_pads_filtered (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x341BA8D0: (within /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x341BEB8E: _gst_parse_launch (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x341B5842: gst_parse_launch (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x341B577F: gst_parse_launchv (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==  Address 0x8081E30 is not stack'd, malloc'd or (recently) free'd
==8465== 
==8465== Invalid free() / delete / delete[]
==8465==    at 0x3414AB44: free (vg_replace_malloc.c:153)
==8465==    by 0x34B0C5D2: av_free (mem.c:115)
==8465==    by 0x34B0A793: av_freep (utils.c:130)
==8465==    by 0x34B0F1BC: MPV_common_end (mpegvideo.c:845)
==8465==    by 0x34B10192: MPV_encode_end (mpegvideo.c:1288)
==8465==    by 0x34B0B376: avcodec_close (utils.c:566)
==8465==    by 0x34AC3809: gst_ffmpegenc_getcaps (gstffmpegenc.c:336)
==8465==    by 0x34191C82: gst_pad_get_caps (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x3418EF7C: gst_pad_can_link_filtered (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x3417DACD: gst_element_get_compatible_pad_filtered (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x3417E790: gst_element_link_pads_filtered (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x341BA8D0: (within /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x341BEB8E: _gst_parse_launch (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x341B5842: gst_parse_launch (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x341B577F: gst_parse_launchv (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==  Address 0x8083EE0 is not stack'd, malloc'd or (recently) free'd
==8465== 
==8465== Invalid free() / delete / delete[]
==8465==    at 0x3414AB44: free (vg_replace_malloc.c:153)
==8465==    by 0x34B0C5D2: av_free (mem.c:115)
==8465==    by 0x34B0A793: av_freep (utils.c:130)
==8465==    by 0x34B0F1CC: MPV_common_end (mpegvideo.c:846)
==8465==    by 0x34B10192: MPV_encode_end (mpegvideo.c:1288)
==8465==    by 0x34B0B376: avcodec_close (utils.c:566)
==8465==    by 0x34AC3809: gst_ffmpegenc_getcaps (gstffmpegenc.c:336)
==8465==    by 0x34191C82: gst_pad_get_caps (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x3418EF7C: gst_pad_can_link_filtered (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x3417DACD: gst_element_get_compatible_pad_filtered (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x3417E790: gst_element_link_pads_filtered (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x341BA8D0: (within /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x341BEB8E: _gst_parse_launch (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x341B5842: gst_parse_launch (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x341B577F: gst_parse_launchv (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==  Address 0x8082560 is not stack'd, malloc'd or (recently) free'd
==8465== 
==8465== Invalid free() / delete / delete[]
==8465==    at 0x3414AB44: free (vg_replace_malloc.c:153)
==8465==    by 0x34B0C5D2: av_free (mem.c:115)
==8465==    by 0x34B0A793: av_freep (utils.c:130)
==8465==    by 0x34B0F1DC: MPV_common_end (mpegvideo.c:847)
==8465==    by 0x34B10192: MPV_encode_end (mpegvideo.c:1288)
==8465==    by 0x34B0B376: avcodec_close (utils.c:566)
==8465==    by 0x34AC3809: gst_ffmpegenc_getcaps (gstffmpegenc.c:336)
==8465==    by 0x34191C82: gst_pad_get_caps (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x3418EF7C: gst_pad_can_link_filtered (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x3417DACD: gst_element_get_compatible_pad_filtered (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x3417E790: gst_element_link_pads_filtered (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x341BA8D0: (within /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x341BEB8E: _gst_parse_launch (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x341B5842: gst_parse_launch (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x341B577F: gst_parse_launchv (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==  Address 0x8082750 is not stack'd, malloc'd or (recently) free'd
==8465== 
==8465== Invalid free() / delete / delete[]
==8465==    at 0x3414AB44: free (vg_replace_malloc.c:153)
==8465==    by 0x34B0C5D2: av_free (mem.c:115)
==8465==    by 0x34B0A793: av_freep (utils.c:130)
==8465==    by 0x34B0F1EC: MPV_common_end (mpegvideo.c:849)
==8465==    by 0x34B10192: MPV_encode_end (mpegvideo.c:1288)
==8465==    by 0x34B0B376: avcodec_close (utils.c:566)
==8465==    by 0x34AC3809: gst_ffmpegenc_getcaps (gstffmpegenc.c:336)
==8465==    by 0x34191C82: gst_pad_get_caps (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x3418EF7C: gst_pad_can_link_filtered (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x3417DACD: gst_element_get_compatible_pad_filtered (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x3417E790: gst_element_link_pads_filtered (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x341BA8D0: (within /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x341BEB8E: _gst_parse_launch (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x341B5842: gst_parse_launch (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x341B577F: gst_parse_launchv (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==  Address 0x80840D0 is not stack'd, malloc'd or (recently) free'd
==8465== 
==8465== Invalid free() / delete / delete[]
==8465==    at 0x3414AB44: free (vg_replace_malloc.c:153)
==8465==    by 0x34B0C5D2: av_free (mem.c:115)
==8465==    by 0x34B0A793: av_freep (utils.c:130)
==8465==    by 0x34B0F1FC: MPV_common_end (mpegvideo.c:850)
==8465==    by 0x34B10192: MPV_encode_end (mpegvideo.c:1288)
==8465==    by 0x34B0B376: avcodec_close (utils.c:566)
==8465==    by 0x34AC3809: gst_ffmpegenc_getcaps (gstffmpegenc.c:336)
==8465==    by 0x34191C82: gst_pad_get_caps (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x3418EF7C: gst_pad_can_link_filtered (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x3417DACD: gst_element_get_compatible_pad_filtered (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x3417E790: gst_element_link_pads_filtered (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x341BA8D0: (within /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x341BEB8E: _gst_parse_launch (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x341B5842: gst_parse_launch (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x341B577F: gst_parse_launchv (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==  Address 0x80842C0 is not stack'd, malloc'd or (recently) free'd
==8465== 
==8465== Invalid free() / delete / delete[]
==8465==    at 0x3414AB44: free (vg_replace_malloc.c:153)
==8465==    by 0x34B0C5D2: av_free (mem.c:115)
==8465==    by 0x34B0A793: av_freep (utils.c:130)
==8465==    by 0x34B0F20C: MPV_common_end (mpegvideo.c:851)
==8465==    by 0x34B10192: MPV_encode_end (mpegvideo.c:1288)
==8465==    by 0x34B0B376: avcodec_close (utils.c:566)
==8465==    by 0x34AC3809: gst_ffmpegenc_getcaps (gstffmpegenc.c:336)
==8465==    by 0x34191C82: gst_pad_get_caps (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x3418EF7C: gst_pad_can_link_filtered (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x3417DACD: gst_element_get_compatible_pad_filtered (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x3417E790: gst_element_link_pads_filtered (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x341BA8D0: (within /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x341BEB8E: _gst_parse_launch (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x341B5842: gst_parse_launch (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x341B577F: gst_parse_launchv (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==  Address 0x34DDE020 is not stack'd, malloc'd or (recently) free'd
==8465== 
==8465== Invalid free() / delete / delete[]
==8465==    at 0x3414AB44: free (vg_replace_malloc.c:153)
==8465==    by 0x34B0C5D2: av_free (mem.c:115)
==8465==    by 0x34B0A793: av_freep (utils.c:130)
==8465==    by 0x34B0F21E: MPV_common_end (mpegvideo.c:852)
==8465==    by 0x34B10192: MPV_encode_end (mpegvideo.c:1288)
==8465==    by 0x34B0B376: avcodec_close (utils.c:566)
==8465==    by 0x34AC3809: gst_ffmpegenc_getcaps (gstffmpegenc.c:336)
==8465==    by 0x34191C82: gst_pad_get_caps (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x3418EF7C: gst_pad_can_link_filtered (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x3417DACD: gst_element_get_compatible_pad_filtered (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x3417E790: gst_element_link_pads_filtered (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x341BA8D0: (within /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x341BEB8E: _gst_parse_launch (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x341B5842: gst_parse_launch (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x341B577F: gst_parse_launchv (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==  Address 0x8059CD0 is not stack'd, malloc'd or (recently) free'd
==8465== 
==8465== Invalid free() / delete / delete[]
==8465==    at 0x3414AB44: free (vg_replace_malloc.c:153)
==8465==    by 0x34B0C5D2: av_free (mem.c:115)
==8465==    by 0x34B0A793: av_freep (utils.c:130)
==8465==    by 0x34B0F23E: MPV_common_end (mpegvideo.c:854)
==8465==    by 0x34B10192: MPV_encode_end (mpegvideo.c:1288)
==8465==    by 0x34B0B376: avcodec_close (utils.c:566)
==8465==    by 0x34AC3809: gst_ffmpegenc_getcaps (gstffmpegenc.c:336)
==8465==    by 0x34191C82: gst_pad_get_caps (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x3418EF7C: gst_pad_can_link_filtered (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x3417DACD: gst_element_get_compatible_pad_filtered (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x3417E790: gst_element_link_pads_filtered (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x341BA8D0: (within /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x341BEB8E: _gst_parse_launch (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x341B5842: gst_parse_launch (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x341B577F: gst_parse_launchv (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==  Address 0x8064C90 is not stack'd, malloc'd or (recently) free'd
==8465== 
==8465== Invalid free() / delete / delete[]
==8465==    at 0x3414AB44: free (vg_replace_malloc.c:153)
==8465==    by 0x34B0C5D2: av_free (mem.c:115)
==8465==    by 0x34B0A793: av_freep (utils.c:130)
==8465==    by 0x34B0F24E: MPV_common_end (mpegvideo.c:855)
==8465==    by 0x34B10192: MPV_encode_end (mpegvideo.c:1288)
==8465==    by 0x34B0B376: avcodec_close (utils.c:566)
==8465==    by 0x34AC3809: gst_ffmpegenc_getcaps (gstffmpegenc.c:336)
==8465==    by 0x34191C82: gst_pad_get_caps (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x3418EF7C: gst_pad_can_link_filtered (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x3417DACD: gst_element_get_compatible_pad_filtered (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x3417E790: gst_element_link_pads_filtered (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x341BA8D0: (within /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x341BEB8E: _gst_parse_launch (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x341B5842: gst_parse_launch (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x341B577F: gst_parse_launchv (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==  Address 0x80565F0 is not stack'd, malloc'd or (recently) free'd
==8465== 
==8465== Invalid free() / delete / delete[]
==8465==    at 0x3414AB44: free (vg_replace_malloc.c:153)
==8465==    by 0x34B0C5D2: av_free (mem.c:115)
==8465==    by 0x34B0A793: av_freep (utils.c:130)
==8465==    by 0x34B0F25E: MPV_common_end (mpegvideo.c:856)
==8465==    by 0x34B10192: MPV_encode_end (mpegvideo.c:1288)
==8465==    by 0x34B0B376: avcodec_close (utils.c:566)
==8465==    by 0x34AC3809: gst_ffmpegenc_getcaps (gstffmpegenc.c:336)
==8465==    by 0x34191C82: gst_pad_get_caps (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x3418EF7C: gst_pad_can_link_filtered (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x3417DACD: gst_element_get_compatible_pad_filtered (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x3417E790: gst_element_link_pads_filtered (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x341BA8D0: (within /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x341BEB8E: _gst_parse_launch (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x341B5842: gst_parse_launch (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x341B577F: gst_parse_launchv (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==  Address 0x805A1B0 is not stack'd, malloc'd or (recently) free'd
==8465== 
==8465== Invalid free() / delete / delete[]
==8465==    at 0x3414AB44: free (vg_replace_malloc.c:153)
==8465==    by 0x34B0C5D2: av_free (mem.c:115)
==8465==    by 0x34B0A793: av_freep (utils.c:130)
==8465==    by 0x34B0F26E: MPV_common_end (mpegvideo.c:857)
==8465==    by 0x34B10192: MPV_encode_end (mpegvideo.c:1288)
==8465==    by 0x34B0B376: avcodec_close (utils.c:566)
==8465==    by 0x34AC3809: gst_ffmpegenc_getcaps (gstffmpegenc.c:336)
==8465==    by 0x34191C82: gst_pad_get_caps (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x3418EF7C: gst_pad_can_link_filtered (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x3417DACD: gst_element_get_compatible_pad_filtered (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x3417E790: gst_element_link_pads_filtered (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x341BA8D0: (within /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x341BEB8E: _gst_parse_launch (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x341B5842: gst_parse_launch (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x341B577F: gst_parse_launchv (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==  Address 0x805A8D0 is not stack'd, malloc'd or (recently) free'd
==8465== 
==8465== Invalid free() / delete / delete[]
==8465==    at 0x3414AB44: free (vg_replace_malloc.c:153)
==8465==    by 0x34B0C5D2: av_free (mem.c:115)
==8465==    by 0x34B0A793: av_freep (utils.c:130)
==8465==    by 0x34B0F27E: MPV_common_end (mpegvideo.c:858)
==8465==    by 0x34B10192: MPV_encode_end (mpegvideo.c:1288)
==8465==    by 0x34B0B376: avcodec_close (utils.c:566)
==8465==    by 0x34AC3809: gst_ffmpegenc_getcaps (gstffmpegenc.c:336)
==8465==    by 0x34191C82: gst_pad_get_caps (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x3418EF7C: gst_pad_can_link_filtered (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x3417DACD: gst_element_get_compatible_pad_filtered (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x3417E790: gst_element_link_pads_filtered (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x341BA8D0: (within /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x341BEB8E: _gst_parse_launch (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x341B5842: gst_parse_launch (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x341B577F: gst_parse_launchv (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==  Address 0x805C8F0 is not stack'd, malloc'd or (recently) free'd
==8465== 
==8465== Invalid free() / delete / delete[]
==8465==    at 0x3414AB44: free (vg_replace_malloc.c:153)
==8465==    by 0x34B0C5D2: av_free (mem.c:115)
==8465==    by 0x34B0A793: av_freep (utils.c:130)
==8465==    by 0x34B0F28E: MPV_common_end (mpegvideo.c:859)
==8465==    by 0x34B10192: MPV_encode_end (mpegvideo.c:1288)
==8465==    by 0x34B0B376: avcodec_close (utils.c:566)
==8465==    by 0x34AC3809: gst_ffmpegenc_getcaps (gstffmpegenc.c:336)
==8465==    by 0x34191C82: gst_pad_get_caps (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x3418EF7C: gst_pad_can_link_filtered (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x3417DACD: gst_element_get_compatible_pad_filtered (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x3417E790: gst_element_link_pads_filtered (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x341BA8D0: (within /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x341BEB8E: _gst_parse_launch (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x341B5842: gst_parse_launch (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x341B577F: gst_parse_launchv (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==  Address 0x805E920 is not stack'd, malloc'd or (recently) free'd
==8465== 
==8465== Invalid free() / delete / delete[]
==8465==    at 0x3414AB44: free (vg_replace_malloc.c:153)
==8465==    by 0x34B0C5D2: av_free (mem.c:115)
==8465==    by 0x34B0A793: av_freep (utils.c:130)
==8465==    by 0x34B0F29E: MPV_common_end (mpegvideo.c:860)
==8465==    by 0x34B10192: MPV_encode_end (mpegvideo.c:1288)
==8465==    by 0x34B0B376: avcodec_close (utils.c:566)
==8465==    by 0x34AC3809: gst_ffmpegenc_getcaps (gstffmpegenc.c:336)
==8465==    by 0x34191C82: gst_pad_get_caps (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x3418EF7C: gst_pad_can_link_filtered (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x3417DACD: gst_element_get_compatible_pad_filtered (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x3417E790: gst_element_link_pads_filtered (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x341BA8D0: (within /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x341BEB8E: _gst_parse_launch (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x341B5842: gst_parse_launch (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x341B577F: gst_parse_launchv (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==  Address 0x8060950 is not stack'd, malloc'd or (recently) free'd
==8465== 
==8465== Invalid free() / delete / delete[]
==8465==    at 0x3414AB44: free (vg_replace_malloc.c:153)
==8465==    by 0x34B0C5D2: av_free (mem.c:115)
==8465==    by 0x34B0A793: av_freep (utils.c:130)
==8465==    by 0x34B0F2AE: MPV_common_end (mpegvideo.c:861)
==8465==    by 0x34B10192: MPV_encode_end (mpegvideo.c:1288)
==8465==    by 0x34B0B376: avcodec_close (utils.c:566)
==8465==    by 0x34AC3809: gst_ffmpegenc_getcaps (gstffmpegenc.c:336)
==8465==    by 0x34191C82: gst_pad_get_caps (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x3418EF7C: gst_pad_can_link_filtered (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x3417DACD: gst_element_get_compatible_pad_filtered (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x3417E790: gst_element_link_pads_filtered (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x341BA8D0: (within /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x341BEB8E: _gst_parse_launch (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x341B5842: gst_parse_launch (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x341B577F: gst_parse_launchv (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==  Address 0x8062980 is not stack'd, malloc'd or (recently) free'd
==8465== 
==8465== Invalid free() / delete / delete[]
==8465==    at 0x3414AB44: free (vg_replace_malloc.c:153)
==8465==    by 0x34B0C5D2: av_free (mem.c:115)
==8465==    by 0x34B0A793: av_freep (utils.c:130)
==8465==    by 0x34B0F2BE: MPV_common_end (mpegvideo.c:862)
==8465==    by 0x34B10192: MPV_encode_end (mpegvideo.c:1288)
==8465==    by 0x34B0B376: avcodec_close (utils.c:566)
==8465==    by 0x34AC3809: gst_ffmpegenc_getcaps (gstffmpegenc.c:336)
==8465==    by 0x34191C82: gst_pad_get_caps (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x3418EF7C: gst_pad_can_link_filtered (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x3417DACD: gst_element_get_compatible_pad_filtered (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x3417E790: gst_element_link_pads_filtered (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x341BA8D0: (within /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x341BEB8E: _gst_parse_launch (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x341B5842: gst_parse_launch (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x341B577F: gst_parse_launchv (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==  Address 0x8062A30 is not stack'd, malloc'd or (recently) free'd
==8465== 
==8465== Invalid free() / delete / delete[]
==8465==    at 0x3414AB44: free (vg_replace_malloc.c:153)
==8465==    by 0x34B0C5D2: av_free (mem.c:115)
==8465==    by 0x34B0A793: av_freep (utils.c:130)
==8465==    by 0x34B0F2F2: MPV_common_end (mpegvideo.c:870)
==8465==    by 0x34B10192: MPV_encode_end (mpegvideo.c:1288)
==8465==    by 0x34B0B376: avcodec_close (utils.c:566)
==8465==    by 0x34AC3809: gst_ffmpegenc_getcaps (gstffmpegenc.c:336)
==8465==    by 0x34191C82: gst_pad_get_caps (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x3418EF7C: gst_pad_can_link_filtered (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x3417DACD: gst_element_get_compatible_pad_filtered (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x3417E790: gst_element_link_pads_filtered (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x341BA8D0: (within /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x341BEB8E: _gst_parse_launch (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x341B5842: gst_parse_launch (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x341B577F: gst_parse_launchv (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==  Address 0x8062AE0 is not stack'd, malloc'd or (recently) free'd
==8465== 
==8465== Invalid free() / delete / delete[]
==8465==    at 0x3414AB44: free (vg_replace_malloc.c:153)
==8465==    by 0x34B0C5D2: av_free (mem.c:115)
==8465==    by 0x34B0A793: av_freep (utils.c:130)
==8465==    by 0x34B0B35C: avcodec_close (utils.c:568)
==8465==    by 0x34AC3809: gst_ffmpegenc_getcaps (gstffmpegenc.c:336)
==8465==    by 0x34191C82: gst_pad_get_caps (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x3418EF7C: gst_pad_can_link_filtered (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x3417DACD: gst_element_get_compatible_pad_filtered (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x3417E790: gst_element_link_pads_filtered (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x341BA8D0: (within /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x341BEB8E: _gst_parse_launch (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x341B5842: gst_parse_launch (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x341B577F: gst_parse_launchv (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x804A807: (within /usr/local/bin/gst-launch-0.8)
==8465==    by 0x3431BDC5: __libc_start_main (libc-start.c:242)
==8465==  Address 0x804CC00 is not stack'd, malloc'd or (recently) free'd
==8465== 
==8465== Invalid free() / delete / delete[]
==8465==    at 0x3414AB44: free (vg_replace_malloc.c:153)
==8465==    by 0x34B0C5D2: av_free (mem.c:115)
==8465==    by 0x34AC3816: gst_ffmpegenc_getcaps (gstffmpegenc.c:338)
==8465==    by 0x34191C82: gst_pad_get_caps (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x3418EF7C: gst_pad_can_link_filtered (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x3417DACD: gst_element_get_compatible_pad_filtered (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x3417E790: gst_element_link_pads_filtered (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x341BA8D0: (within /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x341BEB8E: _gst_parse_launch (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x341B5842: gst_parse_launch (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x341B577F: gst_parse_launchv (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x804A807: (within /usr/local/bin/gst-launch-0.8)
==8465==    by 0x3431BDC5: __libc_start_main (libc-start.c:242)
==8465==    by 0x8049540: (within /usr/local/bin/gst-launch-0.8)
==8465==  Address 0x804C920 is not stack'd, malloc'd or (recently) free'd
ESECUZIONE della pipeline...
Eseuzione terminata dopo 417 iterazioni (somma 14363402000 ns, media 34444609 ns, min 31692000 ns, max 246743000 ns).
Caught interrupt.
==8465== 
==8465== Invalid free() / delete / delete[]
==8465==    at 0x3414AB44: free (vg_replace_malloc.c:153)
==8465==    by 0x34B0C5D2: av_free (mem.c:115)
==8465==    by 0x34B0A793: av_freep (utils.c:130)
==8465==    by 0x34B0DCA4: free_picture (mpegvideo.c:429)
==8465==    by 0x34B0F373: MPV_common_end (mpegvideo.c:867)
==8465==    by 0x34B10192: MPV_encode_end (mpegvideo.c:1288)
==8465==    by 0x34B0B376: avcodec_close (utils.c:566)
==8465==    by 0x34AC4733: gst_ffmpegenc_change_state (gstffmpegenc.c:651)
==8465==    by 0x341809AB: (within /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x34180685: gst_element_set_state (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x341729EE: (within /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x34172903: (within /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x34172DA3: (within /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x34197650: (within /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x341809AB: (within /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==  Address 0x86845F0 is not stack'd, malloc'd or (recently) free'd
==8465== 
==8465== Invalid free() / delete / delete[]
==8465==    at 0x3414AB44: free (vg_replace_malloc.c:153)
==8465==    by 0x34B0C5D2: av_free (mem.c:115)
==8465==    by 0x34B0A793: av_freep (utils.c:130)
==8465==    by 0x34B0DCB4: free_picture (mpegvideo.c:430)
==8465==    by 0x34B0F373: MPV_common_end (mpegvideo.c:867)
==8465==    by 0x34B10192: MPV_encode_end (mpegvideo.c:1288)
==8465==    by 0x34B0B376: avcodec_close (utils.c:566)
==8465==    by 0x34AC4733: gst_ffmpegenc_change_state (gstffmpegenc.c:651)
==8465==    by 0x341809AB: (within /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x34180685: gst_element_set_state (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x341729EE: (within /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x34172903: (within /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x34172DA3: (within /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x34197650: (within /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x341809AB: (within /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==  Address 0x86846B0 is not stack'd, malloc'd or (recently) free'd
==8465== 
==8465== Invalid free() / delete / delete[]
==8465==    at 0x3414AB44: free (vg_replace_malloc.c:153)
==8465==    by 0x34B0C5D2: av_free (mem.c:115)
==8465==    by 0x34B0A793: av_freep (utils.c:130)
==8465==    by 0x34B0DCC4: free_picture (mpegvideo.c:431)
==8465==    by 0x34B0F373: MPV_common_end (mpegvideo.c:867)
==8465==    by 0x34B10192: MPV_encode_end (mpegvideo.c:1288)
==8465==    by 0x34B0B376: avcodec_close (utils.c:566)
==8465==    by 0x34AC4733: gst_ffmpegenc_change_state (gstffmpegenc.c:651)
==8465==    by 0x341809AB: (within /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x34180685: gst_element_set_state (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x341729EE: (within /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x34172903: (within /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x34172DA3: (within /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x34197650: (within /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x341809AB: (within /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==  Address 0x8684770 is not stack'd, malloc'd or (recently) free'd
==8465== 
==8465== Invalid free() / delete / delete[]
==8465==    at 0x3414AB44: free (vg_replace_malloc.c:153)
==8465==    by 0x34B0C5D2: av_free (mem.c:115)
==8465==    by 0x34B0A793: av_freep (utils.c:130)
==8465==    by 0x34B0DCD2: free_picture (mpegvideo.c:432)
==8465==    by 0x34B0F373: MPV_common_end (mpegvideo.c:867)
==8465==    by 0x34B10192: MPV_encode_end (mpegvideo.c:1288)
==8465==    by 0x34B0B376: avcodec_close (utils.c:566)
==8465==    by 0x34AC4733: gst_ffmpegenc_change_state (gstffmpegenc.c:651)
==8465==    by 0x341809AB: (within /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x34180685: gst_element_set_state (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x341729EE: (within /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x34172903: (within /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x34172DA3: (within /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x34197650: (within /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x341809AB: (within /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==  Address 0x86847D0 is not stack'd, malloc'd or (recently) free'd
==8465== 
==8465== Invalid free() / delete / delete[]
==8465==    at 0x3414AB44: free (vg_replace_malloc.c:153)
==8465==    by 0x34B0C5D2: av_free (mem.c:115)
==8465==    by 0x34B0A793: av_freep (utils.c:130)
==8465==    by 0x34B0DCE0: free_picture (mpegvideo.c:433)
==8465==    by 0x34B0F373: MPV_common_end (mpegvideo.c:867)
==8465==    by 0x34B10192: MPV_encode_end (mpegvideo.c:1288)
==8465==    by 0x34B0B376: avcodec_close (utils.c:566)
==8465==    by 0x34AC4733: gst_ffmpegenc_change_state (gstffmpegenc.c:651)
==8465==    by 0x341809AB: (within /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x34180685: gst_element_set_state (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x341729EE: (within /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x34172903: (within /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x34172DA3: (within /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x34197650: (within /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x341809AB: (within /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==  Address 0x8684860 is not stack'd, malloc'd or (recently) free'd
==8465== 
==8465== Invalid free() / delete / delete[]
==8465==    at 0x3414AB44: free (vg_replace_malloc.c:153)
==8465==    by 0x34B0C5D2: av_free (mem.c:115)
==8465==    by 0x34B0A793: av_freep (utils.c:130)
==8465==    by 0x34B0DCF0: free_picture (mpegvideo.c:434)
==8465==    by 0x34B0F373: MPV_common_end (mpegvideo.c:867)
==8465==    by 0x34B10192: MPV_encode_end (mpegvideo.c:1288)
==8465==    by 0x34B0B376: avcodec_close (utils.c:566)
==8465==    by 0x34AC4733: gst_ffmpegenc_change_state (gstffmpegenc.c:651)
==8465==    by 0x341809AB: (within /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x34180685: gst_element_set_state (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x341729EE: (within /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x34172903: (within /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x34172DA3: (within /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x34197650: (within /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x341809AB: (within /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==  Address 0x86848C0 is not stack'd, malloc'd or (recently) free'd
==8465== 
==8465== Invalid free() / delete / delete[]
==8465==    at 0x3414AB44: free (vg_replace_malloc.c:153)
==8465==    by 0x34B0C5D2: av_free (mem.c:115)
==8465==    by 0x34B0A793: av_freep (utils.c:130)
==8465==    by 0x34B0DD10: free_picture (mpegvideo.c:436)
==8465==    by 0x34B0F373: MPV_common_end (mpegvideo.c:867)
==8465==    by 0x34B10192: MPV_encode_end (mpegvideo.c:1288)
==8465==    by 0x34B0B376: avcodec_close (utils.c:566)
==8465==    by 0x34AC4733: gst_ffmpegenc_change_state (gstffmpegenc.c:651)
==8465==    by 0x341809AB: (within /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x34180685: gst_element_set_state (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x341729EE: (within /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x34172903: (within /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x34172DA3: (within /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x34197650: (within /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x341809AB: (within /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==  Address 0x8685580 is not stack'd, malloc'd or (recently) free'd
==8465== 
==8465== Invalid free() / delete / delete[]
==8465==    at 0x3414AB44: free (vg_replace_malloc.c:153)
==8465==    by 0x34B0C5D2: av_free (mem.c:115)
==8465==    by 0x34B0A793: av_freep (utils.c:130)
==8465==    by 0x34B0DD2A: free_picture (mpegvideo.c:439)
==8465==    by 0x34B0F373: MPV_common_end (mpegvideo.c:867)
==8465==    by 0x34B10192: MPV_encode_end (mpegvideo.c:1288)
==8465==    by 0x34B0B376: avcodec_close (utils.c:566)
==8465==    by 0x34AC4733: gst_ffmpegenc_change_state (gstffmpegenc.c:651)
==8465==    by 0x341809AB: (within /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x34180685: gst_element_set_state (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x341729EE: (within /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x34172903: (within /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x34172DA3: (within /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x34197650: (within /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x341809AB: (within /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==  Address 0x8684A10 is not stack'd, malloc'd or (recently) free'd
==8465== 
==8465== Invalid free() / delete / delete[]
==8465==    at 0x3414AB44: free (vg_replace_malloc.c:153)
==8465==    by 0x34B0C5D2: av_free (mem.c:115)
==8465==    by 0x34B0A793: av_freep (utils.c:130)
==8465==    by 0x34B0DD3B: free_picture (mpegvideo.c:440)
==8465==    by 0x34B0F373: MPV_common_end (mpegvideo.c:867)
==8465==    by 0x34B10192: MPV_encode_end (mpegvideo.c:1288)
==8465==    by 0x34B0B376: avcodec_close (utils.c:566)
==8465==    by 0x34AC4733: gst_ffmpegenc_change_state (gstffmpegenc.c:651)
==8465==    by 0x341809AB: (within /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x34180685: gst_element_set_state (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x341729EE: (within /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x34172903: (within /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x34172DA3: (within /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x34197650: (within /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x341809AB: (within /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==  Address 0x8684EA0 is not stack'd, malloc'd or (recently) free'd
==8465== 
==8465== Invalid free() / delete / delete[]
==8465==    at 0x3414AB44: free (vg_replace_malloc.c:153)
==8465==    by 0x34B0C5D2: av_free (mem.c:115)
==8465==    by 0x34B0A793: av_freep (utils.c:130)
==8465==    by 0x34B0BABA: avcodec_default_free_buffers (utils.c:801)
==8465==    by 0x34B0F350: MPV_common_end (mpegvideo.c:880)
==8465==    by 0x34B10192: MPV_encode_end (mpegvideo.c:1288)
==8465==    by 0x34B0B376: avcodec_close (utils.c:566)
==8465==    by 0x34AC4733: gst_ffmpegenc_change_state (gstffmpegenc.c:651)
==8465==    by 0x341809AB: (within /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x34180685: gst_element_set_state (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x341729EE: (within /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x34172903: (within /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x34172DA3: (within /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x34197650: (within /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x341809AB: (within /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==  Address 0x868FC00 is not stack'd, malloc'd or (recently) free'd
==8465== 
==8465== Invalid free() / delete / delete[]
==8465==    at 0x3414AB44: free (vg_replace_malloc.c:153)
==8465==    by 0x34B0C5D2: av_free (mem.c:115)
==8465==    by 0x34B0A793: av_freep (utils.c:130)
==8465==    by 0x34B0BAEF: avcodec_default_free_buffers (utils.c:805)
==8465==    by 0x34B0F350: MPV_common_end (mpegvideo.c:880)
==8465==    by 0x34B10192: MPV_encode_end (mpegvideo.c:1288)
==8465==    by 0x34B0B376: avcodec_close (utils.c:566)
==8465==    by 0x34AC4733: gst_ffmpegenc_change_state (gstffmpegenc.c:651)
==8465==    by 0x341809AB: (within /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x34180685: gst_element_set_state (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x341729EE: (within /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x34172903: (within /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x34172DA3: (within /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x34197650: (within /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x341809AB: (within /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==  Address 0x867A880 is not stack'd, malloc'd or (recently) free'd
==8465== 
==8465== Invalid free() / delete / delete[]
==8465==    at 0x3414AB44: free (vg_replace_malloc.c:153)
==8465==    by 0x34B0C5D2: av_free (mem.c:115)
==8465==    by 0x34AC3701: gst_ffmpegenc_dispose (gstffmpegenc.c:284)
==8465==    by 0x344446DA: ??? (gobject.c:558)
==8465==    by 0x3416EE37: gst_object_unref (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x34171F78: (within /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x34172072: gst_bin_remove (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x341731D1: (within /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x34197520: (within /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x344446DA: ??? (gobject.c:558)
==8465==    by 0x3416EE37: gst_object_unref (in /usr/local/lib/libgstreamer-0.8.so.1.4.0)
==8465==    by 0x804A5EA: (within /usr/local/bin/gst-launch-0.8)
==8465==    by 0x3431BDC5: __libc_start_main (libc-start.c:242)
==8465==    by 0x8049540: (within /usr/local/bin/gst-launch-0.8)
==8465==  Address 0x804C560 is not stack'd, malloc'd or (recently) free'd
==8465== 
==8465== More than 50 errors detected.  Subsequent errors
==8465== will still be recorded, but in less detail than before.
==8465== 
==8465== Invalid read of size 4
==8465==    at 0x3431D57E: __gconv_release_step (gconv_db.c:198)
==8465==    by 0x3431E14C: __gconv_close_transform (gconv_db.c:751)
==8465==    by 0x3431D255: __gconv_close (gconv_close.c:64)
==8465==    by 0x3432B54C: _nl_free_domain_conv (loadmsgcat.c:873)
==8465==    by 0x3432C0B3: _nl_unload_domain (loadmsgcat.c:1289)
==8465==    by 0x34411AFC: free_mem (finddomain.c:179)
==8465==    by 0x34411C44: __GI___libc_freeres (set-freeres.c:49)
==8465==    by 0x34144C50: _vgw(float, long double,...)(...)(long double,...)(short) (vg_intercept.c:117)
==8465==    by 0x34331B17: exit (exit.c:82)
==8465==    by 0x3431BDCD: __libc_start_main (libc-start.c:245)
==8465==    by 0x8049540: (within /usr/local/bin/gst-launch-0.8)
==8465==  Address 0x348C9C7C is 68 bytes inside a block of size 120 free'd
==8465==    at 0x3414AB44: free (vg_replace_malloc.c:153)
==8465==    by 0x3431D527: free_derivation (gconv_db.c:188)
==8465==    by 0x343DBEE2: tdestroy_recurse (tsearch.c:642)
==8465==    by 0x34411721: free_mem (gconv_db.c:796)
==8465==    by 0x34411C44: __GI___libc_freeres (set-freeres.c:49)
==8465==    by 0x34144C50: _vgw(float, long double,...)(...)(long double,...)(short) (vg_intercept.c:117)
==8465==    by 0x34331B17: exit (exit.c:82)
==8465==    by 0x3431BDCD: __libc_start_main (libc-start.c:245)
==8465==    by 0x8049540: (within /usr/local/bin/gst-launch-0.8)
==8465== 
==8465== Invalid write of size 4
==8465==    at 0x3431D58F: __gconv_release_step (gconv_db.c:198)
==8465==    by 0x3431E14C: __gconv_close_transform (gconv_db.c:751)
==8465==    by 0x3431D255: __gconv_close (gconv_close.c:64)
==8465==    by 0x3432B54C: _nl_free_domain_conv (loadmsgcat.c:873)
==8465==    by 0x3432C0B3: _nl_unload_domain (loadmsgcat.c:1289)
==8465==    by 0x34411AFC: free_mem (finddomain.c:179)
==8465==    by 0x34411C44: __GI___libc_freeres (set-freeres.c:49)
==8465==    by 0x34144C50: _vgw(float, long double,...)(...)(long double,...)(short) (vg_intercept.c:117)
==8465==    by 0x34331B17: exit (exit.c:82)
==8465==    by 0x3431BDCD: __libc_start_main (libc-start.c:245)
==8465==    by 0x8049540: (within /usr/local/bin/gst-launch-0.8)
==8465==  Address 0x348C9C7C is 68 bytes inside a block of size 120 free'd
==8465==    at 0x3414AB44: free (vg_replace_malloc.c:153)
==8465==    by 0x3431D527: free_derivation (gconv_db.c:188)
==8465==    by 0x343DBEE2: tdestroy_recurse (tsearch.c:642)
==8465==    by 0x34411721: free_mem (gconv_db.c:796)
==8465==    by 0x34411C44: __GI___libc_freeres (set-freeres.c:49)
==8465==    by 0x34144C50: _vgw(float, long double,...)(...)(long double,...)(short) (vg_intercept.c:117)
==8465==    by 0x34331B17: exit (exit.c:82)
==8465==    by 0x3431BDCD: __libc_start_main (libc-start.c:245)
==8465==    by 0x8049540: (within /usr/local/bin/gst-launch-0.8)
==8465== 
==8465== Invalid read of size 4
==8465==    at 0x3431D594: __gconv_release_step (gconv_db.c:201)
==8465==    by 0x3431E14C: __gconv_close_transform (gconv_db.c:751)
==8465==    by 0x3431D255: __gconv_close (gconv_close.c:64)
==8465==    by 0x3432B54C: _nl_free_domain_conv (loadmsgcat.c:873)
==8465==    by 0x3432C0B3: _nl_unload_domain (loadmsgcat.c:1289)
==8465==    by 0x34411AFC: free_mem (finddomain.c:179)
==8465==    by 0x34411C44: __GI___libc_freeres (set-freeres.c:49)
==8465==    by 0x34144C50: _vgw(float, long double,...)(...)(long double,...)(short) (vg_intercept.c:117)
==8465==    by 0x34331B17: exit (exit.c:82)
==8465==    by 0x3431BDCD: __libc_start_main (libc-start.c:245)
==8465==    by 0x8049540: (within /usr/local/bin/gst-launch-0.8)
==8465==  Address 0x348C9C94 is 92 bytes inside a block of size 120 free'd
==8465==    at 0x3414AB44: free (vg_replace_malloc.c:153)
==8465==    by 0x3431D527: free_derivation (gconv_db.c:188)
==8465==    by 0x343DBEE2: tdestroy_recurse (tsearch.c:642)
==8465==    by 0x34411721: free_mem (gconv_db.c:796)
==8465==    by 0x34411C44: __GI___libc_freeres (set-freeres.c:49)
==8465==    by 0x34144C50: _vgw(float, long double,...)(...)(long double,...)(short) (vg_intercept.c:117)
==8465==    by 0x34331B17: exit (exit.c:82)
==8465==    by 0x3431BDCD: __libc_start_main (libc-start.c:245)
==8465==    by 0x8049540: (within /usr/local/bin/gst-launch-0.8)
==8465== 
==8465== Invalid read of size 4
==8465==    at 0x3431D59B: __gconv_release_step (gconv_db.c:206)
==8465==    by 0x3431E14C: __gconv_close_transform (gconv_db.c:751)
==8465==    by 0x3431D255: __gconv_close (gconv_close.c:64)
==8465==    by 0x3432B54C: _nl_free_domain_conv (loadmsgcat.c:873)
==8465==    by 0x3432C0B3: _nl_unload_domain (loadmsgcat.c:1289)
==8465==    by 0x34411AFC: free_mem (finddomain.c:179)
==8465==    by 0x34411C44: __GI___libc_freeres (set-freeres.c:49)
==8465==    by 0x34144C50: _vgw(float, long double,...)(...)(long double,...)(short) (vg_intercept.c:117)
==8465==    by 0x34331B17: exit (exit.c:82)
==8465==    by 0x3431BDCD: __libc_start_main (libc-start.c:245)
==8465==    by 0x8049540: (within /usr/local/bin/gst-launch-0.8)
==8465==  Address 0x348C9C74 is 60 bytes inside a block of size 120 free'd
==8465==    at 0x3414AB44: free (vg_replace_malloc.c:153)
==8465==    by 0x3431D527: free_derivation (gconv_db.c:188)
==8465==    by 0x343DBEE2: tdestroy_recurse (tsearch.c:642)
==8465==    by 0x34411721: free_mem (gconv_db.c:796)
==8465==    by 0x34411C44: __GI___libc_freeres (set-freeres.c:49)
==8465==    by 0x34144C50: _vgw(float, long double,...)(...)(long double,...)(short) (vg_intercept.c:117)
==8465==    by 0x34331B17: exit (exit.c:82)
==8465==    by 0x3431BDCD: __libc_start_main (libc-start.c:245)
==8465==    by 0x8049540: (within /usr/local/bin/gst-launch-0.8)
==8465== 
==8465== Invalid write of size 4
==8465==    at 0x3431D5B5: __gconv_release_step (gconv_db.c:210)
==8465==    by 0x3431E14C: __gconv_close_transform (gconv_db.c:751)
==8465==    by 0x3431D255: __gconv_close (gconv_close.c:64)
==8465==    by 0x3432B54C: _nl_free_domain_conv (loadmsgcat.c:873)
==8465==    by 0x3432C0B3: _nl_unload_domain (loadmsgcat.c:1289)
==8465==    by 0x34411AFC: free_mem (finddomain.c:179)
==8465==    by 0x34411C44: __GI___libc_freeres (set-freeres.c:49)
==8465==    by 0x34144C50: _vgw(float, long double,...)(...)(long double,...)(short) (vg_intercept.c:117)
==8465==    by 0x34331B17: exit (exit.c:82)
==8465==    by 0x3431BDCD: __libc_start_main (libc-start.c:245)
==8465==    by 0x8049540: (within /usr/local/bin/gst-launch-0.8)
==8465==  Address 0x348C9C74 is 60 bytes inside a block of size 120 free'd
==8465==    at 0x3414AB44: free (vg_replace_malloc.c:153)
==8465==    by 0x3431D527: free_derivation (gconv_db.c:188)
==8465==    by 0x343DBEE2: tdestroy_recurse (tsearch.c:642)
==8465==    by 0x34411721: free_mem (gconv_db.c:796)
==8465==    by 0x34411C44: __GI___libc_freeres (set-freeres.c:49)
==8465==    by 0x34144C50: _vgw(float, long double,...)(...)(long double,...)(short) (vg_intercept.c:117)
==8465==    by 0x34331B17: exit (exit.c:82)
==8465==    by 0x3431BDCD: __libc_start_main (libc-start.c:245)
==8465==    by 0x8049540: (within /usr/local/bin/gst-launch-0.8)
==8465== 
==8465== ERROR SUMMARY: 1229 errors from 55 contexts (suppressed: 0 from 0)
==8465== malloc/free: in use at exit: 567597 bytes in 10917 blocks.
==8465== malloc/free: 100823 allocs, 91125 frees, 247222060 bytes allocated.
==8465== For a detailed leak analysis,  rerun with: --leak-check=yes
==8465== For counts of detected errors, rerun with: -v
