Thanks guys. As I said I am only learning all the process so I'll try all you suggested. It's a good starting point. Could you give me some more directions? As for Pil solution: I'll have to use Transcode's mplayer import module to import the .avi file and after use the eq2 filter to change the contrast and brightness? .. and after use the ffmpeg export module to generate the modified avi? ... Well I am trying to migrate from xenon 2 (from vidiator on windows system) to a mixed linux system solutions (transcode + ffmpeg). What makes me try to change, mainly, was ffmpeg. It's fast, very very fast, and too much powerfull. Also the open projects is a great thing. Well, my bosses said that the xenon 2 pro generated 3gp's still have better quality than the ffmpeg's 3gps. But they said, too, that if the video source have better contrast the finnal quality would be almost the same and we would migrate to this solution. I don't have access to the avi files, they come captured for us and we for now can't interfer on this process ... so I'll have to live with this ineficient codecs. I understand your solution but can't find the right command line switches. And you know what makes this even more fun? I'm a blind developper so I can't myself see what's going on in the videos. I need only to encode, show them the videos and when they aprove the videos then I am free to build a software that integrate these processes to generate the .3gp and .3g2 files. (sure if I get evolved on it I'll try to construct a second open solution that does all this) As for Francesco solution: <Francesco> 1) transcode directly your source material into mpeg4-on-avi applying corrections on the fly (transcode should be fine for this step) 2) translate mpeg4/avi into final format by just changing the container </francesco> Here I have a problem cause I have to have most part of the videos as h263 in the 3gp / 3g2 files, not as mpeg4... <francesco> -G, pp filter, yuvdenoise filter, maybe xsharpen filter too </francesco> Well, I guess it helped, thanks very much. But consulting rthe transcode command line switches I see, for example -G which corrects gama, but nothing to change contrast or the other things I need. I am still prety confused on how to mount the command line... Thanks very much for listening and helping! Marlon
2006/7/30, Francesco Romani <[EMAIL PROTECTED]>:
On Sat, 29 Jul 2006 19:35:19 -0300 "Marlon Brandão de Sousa" <[EMAIL PROTECTED]> wrote: [...] > I decided first to preprocess the contrast and brigtness in the avi > file generating a pre processed avi file and after this encode the pre > processed file into an 3gp one. In order to preserve the maximum possible source qulity, I always recommend to do the least amount of transcoding possible, so from my own modest viewpoint the best strategy will be to 1) transcode directly your source material into mpeg4-on-avi applying corrections on the fly (transcode should be fine for this step) 2) translate mpeg4/avi into final format by just changing the container (here ffmpeg could help since it supports way more containers, yet). [...] > There I read I need to know what codecs my avi file contains before > trying to run transcode. Well, transcode has some (fair) autodetection facilities that are supposed to save users from this task :) Anyway, to know what we're going to transcode isn't a bad idea :) > tcprobe -i gol.avi > [tcprobe] RIFF data, AVI video > [avilib] V: 29.970 fps, codec=MJPG, frames=450, width=320, height=240 > [avilib] A: 48000 Hz, format=0x01, bits=16, channels=2, bitrate=1536 kbps, > [avilib] 451 chunks, 2882880 bytes, CBR > [tcprobe] summary for gol.avi, (*) = not default, 0 = not detected > import frame size: -g 320x240 [720x576] (*) > frame rate: -f 29.970 [25.000] frc=4 (*) > audio track: -a 0 [0] -e 48000,16,2 [48000,16,2] -n 0x1 [0x2000] (*) > bitrate=1536 kbps > length: 450 frames, frame_time=33 msec, > duration=0:00:15.015 > > The strange thing is that it didnt show the audio codec used in the > .avi file. It shows, but in a cryptic form (yeah, this should be improved too). See the third line of output, the format=XXX field. Here we have a PCM audio track (no encoded): 0x01 -> PCM > Ok, now I know my video is mjpg and audio is pcm. So what I want is to > generate another .avi file, with the same size, with mjpg and audio > pcm, with the same size, etc ... with contrast and brightness changed. OK, there is some options and filters that hopefully could help you -G, pp filter, yuvdenoise filter, maybe xsharpen filter too. Warning: all filter above are VERY cpu-hungry. Hope This Helps, Best regards -- Francesco Romani - Ikitt ['people always complain, no matther what you do'] IM contact : (email first, Antispam default deny!) icq://27-83-87-867 known bugs : http://www.transcoding.org/cgi-bin/transcode?Bug_Showcase tiny homepage : http://fromani.exit1.org (see IDEAS if you want send code!)