Displaying 11 results from an estimated 11 matches for "img_convert".
Did you mean:
imap_convert
2007 Mar 30
0
Re: A little question about swfdec 0.4.3 and ffmpeg's swscaler
...the commit mail worth it (yet ;)).
2) I don not really have a clue about ffmpeg, and all its weird
options and features. I just know enough to make Debian's version work
in swfdec. And I don't really care until there's something out in the
wild that's worth supporting.
3) The img_convert stuff is used so I'm sure I get the video in the
RGBA format used by cairo. At least that was my idea why it's
necessary. If that's not the case, send me a patch to get rid of it.
Scaling at least is done in cairo and not in ffmpeg.
4) The video decoding stuff has not changed at a...
2009 Jul 03
3
ffmpeg and zoneminder install problems
...dant-decls -Wno-pointer-sign -Wcast-qual
-Wwrite-strings -O3 -c -o imgconvert.o imgconvert.c
In file included from imgconvert.c:38:
i386/mmx.h:24:2: warning: #warning Everything in this header is
deprecated, use plain asm()! New code using this header will be
rejected.
imgconvert.c: In function ?img_convert?:
imgconvert.c:2563: warning: ?img_convert? is deprecated (declared at
imgconvert.c:2332)
imgconvert.c:2566: warning: ?img_convert? is deprecated (declared at
imgconvert.c:2332)
gcc -I"/root/software/ffmpeg"/libswscale
-I"/root/software/ffmpeg"/libavcodec -DHAVE_AV_CONFIG_H
-...
2014 Oct 15
2
Re: Virt-v2v conversion issue
..., timeout=<optimized out>, sigmask=0x0) at ../sysdeps/unix/sysv/linux/ppoll.c:56
> #1 0x00007f0f45b146db in qemu_poll_ns ()
> #2 0x00007f0f45b15430 in aio_poll ()
> #3 0x00007f0f45b0eedd in bdrv_prwv_co ()
> #4 0x00007f0f45b0efd3 in bdrv_rw_co ()
> #5 0x00007f0f45b05b35 in img_convert ()
> #6 0x00007f0f41c94af5 in __libc_start_main (main=0x7f0f45b01e80 <main>, argc=10, ubp_av=0x7fff19cb3ab8, init=<optimized out>, fini=<optimized out>,
> rtld_fini=<optimized out>, stack_end=0x7fff19cb3aa8) at libc-start.c:274
> #7 0x00007f0f45b022ed in _star...
2007 Jun 26
0
2 commits - libswfdec/swfdec_codec_ffmpeg.c
...("Could not get conversion context");
+ return NULL;
+ }
+ }
ret = swfdec_buffer_new_and_alloc (codec->ctx->width * codec->ctx->height * 4);
avpicture_fill (&picture, ret->data, PIX_FMT_RGB32, codec->ctx->width,
codec->ctx->height);
- img_convert (&picture, PIX_FMT_RGB32,
- (AVPicture *) codec->frame, codec->ctx->pix_fmt,
- codec->ctx->width, codec->ctx->height);
+ sws_scale (codec->sws, codec->frame->data, codec->frame->linesize, 0, codec->ctx->height,
+ picture.data, picture.l...
2007 Mar 30
0
Re: A little question about swfdec 0.4.3 and ffmpeg's swscaler
Quoting owczi@owczi.net:
> Hi Benjamin,
>
> Please excuse me not writing to propper mailing list but I saw mostly
> commit reports there.
> I was just trying to compile swfdec + swfdec-mozilla 0.4.3 tarballs, but
> finally the compilation died on 'undefined reference to `img_convert''.
> My distro (PLD Linux) has ffmpeg built with swscaler and therefore
> img_*, marked as deprecated, don't work. Now I don't want to build a
> separate ffmpeg library set, cause it's a real pain in the butt since
> ffmpeg and gcc started to bite each other badly on...
2014 Oct 15
0
Re: Virt-v2v conversion issue
...ds=0x7f0f470d7a00, nfds=1, timeout=<optimized out>, sigmask=0x0) at ../sysdeps/unix/sysv/linux/ppoll.c:56
#1 0x00007f0f45b146db in qemu_poll_ns ()
#2 0x00007f0f45b15430 in aio_poll ()
#3 0x00007f0f45b0eedd in bdrv_prwv_co ()
#4 0x00007f0f45b0efd3 in bdrv_rw_co ()
#5 0x00007f0f45b05b35 in img_convert ()
#6 0x00007f0f41c94af5 in __libc_start_main (main=0x7f0f45b01e80 <main>, argc=10, ubp_av=0x7fff19cb3ab8, init=<optimized out>, fini=<optimized out>,
rtld_fini=<optimized out>, stack_end=0x7fff19cb3aa8) at libc-start.c:274
#7 0x00007f0f45b022ed in _start ()
Alain
--...
2014 Oct 14
4
Re: Virt-v2v conversion issue
On Tue, Oct 14, 2014 at 03:40:22PM +0000, VONDRA Alain wrote:
> Rich,
> I've followed your instructions to trace, but I am not very skilful with gdb, maybe I made a mistake :
>
> (1) As root do:
>
> echo core.%p > /proc/sys/kernel/core_pattern -> OK
>
> (2) Before running virt-v2v, do:
>
> ulimited -c unlimited -> I think it's
2014 Oct 15
0
Re: Virt-v2v conversion issue
...out=<optimized out>, sigmask=0x0) at
> ../sysdeps/unix/sysv/linux/ppoll.c:56
> #1 0x00007f0f45b146db in qemu_poll_ns ()
> #2 0x00007f0f45b15430 in aio_poll ()
> #3 0x00007f0f45b0eedd in bdrv_prwv_co ()
> #4 0x00007f0f45b0efd3 in bdrv_rw_co ()
> #5 0x00007f0f45b05b35 in img_convert ()
> #6 0x00007f0f41c94af5 in __libc_start_main (main=0x7f0f45b01e80 <main>, argc=10, ubp_av=0x7fff19cb3ab8, init=<optimized out>, fini=<optimized out>,
> rtld_fini=<optimized out>, stack_end=0x7fff19cb3aa8) at
> libc-start.c:274
> #7 0x00007f0f45b022ed in...
2004 Nov 20
0
ffmpeg2theora start and end time support
...files command line option "-e" will not work
//as we donot increment frame_number in audio section.
//FIXME: better colorformat transformation to YUV420P
/* might have to cast other progressive formats here */
//if(venc->pix_fmt != PIX_FMT_YUV420P){
img_convert((AVPicture *)output,PIX_FMT_YUV420P,
(AVPicture *)frame,venc->pix_fmt,
venc->width,venc->height);
if(this->deinterlace){
if(avpicture_deinterlace((AVPicture *)output_tmp,
(AVPicture *)output,PIX_FMT_YUV420P,
venc->width,ven...
2007 Apr 06
0
3 commits - libswfdec-gtk/swfdec_gtk_loader.c libswfdec/Makefile.am libswfdec/swfdec_codec.c libswfdec/swfdec_codec_ffmpeg.c libswfdec/swfdec_codec_gst.c libswfdec/swfdec_codec.h libswfdec/swfdec_codec_screen.c libswfdec/swfdec_codec_video.c
...guint *width, guint *height, guint *rowstride)
{
- SwfdecCodecFFMpegVideo *codec = codec_data;
+ SwfdecVideoDecoderFFMpeg *codec = (SwfdecVideoDecoderFFMpeg *) dec;
int got_image;
SwfdecBuffer *ret;
AVPicture picture;
@@ -270,23 +227,50 @@ swfdec_codec_ffmpeg_video_decode (gpoint
img_convert (&picture, PIX_FMT_RGB32,
(AVPicture *) codec->frame, codec->ctx->pix_fmt,
codec->ctx->width, codec->ctx->height);
+ *width = codec->ctx->width;
+ *height = codec->ctx->height;
+ *rowstride = codec->ctx->width * 4;
return ret;
}
st...
2007 Jun 27
0
Branch 'as' - 16 commits - configure.ac libswfdec/Makefile.am libswfdec/swfdec_as_context.c libswfdec/swfdec_as_frame.c libswfdec/swfdec_as_frame.h libswfdec/swfdec_as_function.c libswfdec/swfdec_as_interpret.c libswfdec/swfdec_as_script_function.c
...("Could not get conversion context");
+ return NULL;
+ }
+ }
ret = swfdec_buffer_new_and_alloc (codec->ctx->width * codec->ctx->height * 4);
avpicture_fill (&picture, ret->data, PIX_FMT_RGB32, codec->ctx->width,
codec->ctx->height);
- img_convert (&picture, PIX_FMT_RGB32,
- (AVPicture *) codec->frame, codec->ctx->pix_fmt,
- codec->ctx->width, codec->ctx->height);
+ sws_scale (codec->sws, codec->frame->data, codec->frame->linesize, 0, codec->ctx->height,
+ picture.data, picture.l...