AFAIK, hqdn3d is a filter of mplayer, not ffmpeg. You can use mplayer to 
produce your denoised mpeg-2 file.

Generally speaking, if you really want to apply one ore several video effects 
in mplayer, then perform some conversion with ffmpeg, it's possible by 
redirecting mplayer's output to a fifo.
Example :

mkfifo /tmp/stream.y4m
ffmpeg -i /tmp/stream.y4m -target pal-dvd VMX.mpeg &
mplayer VMX.dv -vf hqdn3d=2:1:2 -vo yuv4mpeg:file=/tmp/stream.y4m
rm /tmp/stream.y4m

Of course, it's easier to use mplayer directly in this case. I give this info 
because there are cases where ffmpeg is definitely needed after mplayer (eg. 
producing a dnxhd stream).

You can put the appropriate commands in a script and run it from cinelerra with 
YUV4MPEG pipe output.


----- Mail Original -----
De: "E Chalaron" <[email protected]>
À: [email protected]
Envoyé: Samedi 4 Décembre 2010 23h52:29 GMT +01:00 Amsterdam / Berlin / Berne / 
Rome / Stockholm / Vienne
Objet: [CinCV] libavfilter

Hello all 
A bit off topic regarding Cinelerra directly but it is difficult not to use 
ffmpeg these days. 

I am trying to use the something like the folllowing in a yuv4mpegpipe : 

ffmpeg -vf "hqdn3d=2:1:2" -i VMX.dv -target pal-dvd VMX.mpeg 


FFmpeg version SVN-r25702, Copyright (c) 2000-2010 the FFmpeg developers 
built on Dec 3 2010 19:27:11 with gcc 4.5.0 20100604 [gcc-4_5-branch revision 
160292] 
configuration: --shlibdir=/usr/lib64 --prefix=/usr --mandir=/usr/share/man 
--libdir=/usr/lib64 --enable-shared --enable-libmp3lame --enable-libvorbis 
--enable-libtheora --enable-libspeex --enable-libxvid --enable-postproc 
--enable-gpl --enable-x11grab --extra-cflags='-fmessage-length=0 -O2 -Wall 
-D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables 
-fasynchronous-unwind-tables -fPIC -I/usr/include/gsm' --enable-debug 
--disable-stripping --enable-libschroedinger --enable-libdirac --enable-libgsm 
--enable-avfilter --enable-libvpx --enable-version3 --enable-libopencore-amrnb 
--enable-libopencore-amrwb --enable-libx264 --enable-libdc1394 
--enable-pthreads 
libavutil 50.32. 6 / 50.32. 6 
libavcore 0.12. 0 / 0.12. 0 
libavcodec 52.94. 3 / 52.94. 3 
libavformat 52.84. 0 / 52.84. 0 
libavdevice 52. 2. 2 / 52. 2. 2 
libavfilter 1.57. 0 / 1.57. 0 
libswscale 0.12. 0 / 0.12. 0 
libpostproc 51. 2. 0 / 51. 2. 0 


Input #0, dv, from 'VMX.dv': 
Duration: 00:06:19.36, start: 0.000000, bitrate: 28800 kb/s 
Stream #0.0: Video: dvvideo, yuv420p, 720x576, 28800 kb/s, PAR 16:15 DAR 4:3, 
25 tbr, 25 tbn, 25 tbc 
Stream #0.1: Audio: pcm_s16le, 48000 Hz, 2 channels, s16, 1536 kb/s 
File 'test.mpeg' already exists. Overwrite ? [y/N] y 
[buffer @ 0x63f660] w:720 h:576 pixfmt:yuv420p 

No such filter: 'hqdn3d' 
Error opening filters! 



Everything seems up to date though ..... I tried directly on a command line, 
e.g. outside cinelerra itself and it fails too. 
Do I have the syntax wrong ? 

Thanks a lot 
E 

_______________________________________________
Cinelerra mailing list
[email protected]
https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra

Reply via email to