Hi there,

First, I agree with all the comments made about
"if this relates to any legal issue/incident" and
"do you really want to know". These are eminently
sensible and helpful comments.

However, if they do not apply, the following
information may be of assistance IF the video is 3GP.

I saved the information (as is) from a site I
visited ages back when I had a mobile which took
3GP video. The site has since disappeared. I can
vouch that the images where cleaner. Note my use
of the word 'cleaner'.  As a moving image it was
certainly better, as a still image it was merely
better, BUT nothing like you'd see on CSI :)

If the video is not in this format, it would be
helpful if you can let us know what format it is in.

**********************************************
Easy steps to improve 3GP video quality

August 20, 2006 at 12:25 am · Filed under Gadgets

Quality of 3GP movies recorded with my Sagem
myX6-2 isn’t pleasing. This is common for every
mobile device camera: video has low resolution,
H.263 codec makes many artifacts (it is designed
for bandwidth below 64kbps), small camera sizes
cause shaky image, etc.

However 3GP files can be postprocessed and
interpolated to higher quality. Here is how I
accomplish this using free tools:
Basic processing

mplayer (http://www.mplayerhq.hu/) allows playing
3GP files. mencoder is an bundled application that
allows encoding result into another format. Both
applications support video filters, read below
about basic usage and compare results applied on a
single video frame:

   1.

      Original 3GP file

      Video has resolution of 176×144
   2.

      Resizing to 346×260. Command used: mplayer
-vf scale=346:260 file.3gp

      Here, compression artifacts are clearly
visible. Let’s try to reduce them.
   3.

      2xsai - 2x scale and interpolate algorithm +
noise removal. Command used: mplayer -vf
2xsai,scale,denoise3d file.3gp

      As you can see, block artifacts are reduced,
areas of the same color are smoothed. We’re ready
to write result into a new file.
   4.

      Output to file with lavc compression (best
quality): mencoder -ovc lavc -o outputfile.avi -vf
2xsai,scale,denoise3d file.3gp

      Download and compare: original 3GP file
(934k), original video in AVI format, lavc codec
(2.5M), final result (3.3M).

Advanced processing

Mobile devices video recordings often suffer from
other problems than low quality, that cannot be
expeled with mplayer video filters. This is for
example luminance variations beetween frames and
shaky image.

Advanced processing can be archieved using
VirtualDub (http://www.virtualdub.org/) - a great
video capture/processing utility, released under
GPL. It is available only for Windows, but runs
smoothly under Wine (Windows Emulator).

Note! VirtualDub cannot process 3GP containers.
Decompress them with this command: mencoder -o
outfile.raw -ovc raw infile.raw.

Functionality of this software can be extended
with plugins, here are some more useful ones:

    * Smart Smoother by Donald Graft - filter
performs structure-preserving smoothing. Works
good for removing video noise and MPG/JPG artifacts.
    * Deshaker by Gunnar Thalin - eliminates
camera shakiness and makes panning, rotation and
zooming smoother.
    * Deflicker - filter that corrects frame
luminance variations over time.

****************************************

Regards,

Patrick

-- 
Registered GNU/Linux User 368634
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to