Hello,
First I think that ffmpeg is the best.
You can also try viodeolan
(it is in fact a linux/windows media player with encoding/
decoding abilities).
In case you want to grab from a video webcam
you can also use both (videolan should be compiled
after configuring it to support video for linux version 1).
Second , I do not know what your final goal is , but if you want
to save the file in a compressed format,
i.e. to encode the file and later decode it , so that the encoded file will
be small as possible, I have done it with no problem using h263
and h263+ decoders of ffmpeg (well , you need to read the
documentation a little; ffmpeg do not have h261 because it is
a little obsolete and h264 is still quite new).
I took an avi file ,changed it to raw yuv420p(you can skip this stage), and encoded it, and than decoded it , and convert the docoded result back to avi. The result was very good,
and I worked with CIF (352x288) window size.
Bytes
the size of the yuv420p : 15206400 Bytes
the size of the encoded h263 file: 384647 Bytes (which is about 0.025 of the yuv file)
the size of the decoded h263 file: 15054336 Bytes
And BTW, mplayer uses ffmpeg libraries.
Regards,
Rami Rosen
Eli Billauer wrote:
>Subject: [Haifux] Encoding internet-quality video
> From: Eli Billauer <[EMAIL PROTECTED]>
> To: Haifa Linux Club Mailing list <[EMAIL PROTECTED]>
> Date: Thu, 20 May 2004 12:56:22 +0200
>
>
>Hello all,
>
>After buying a video sampling card (Pinnacle PCTV Deluxe, with USB
>connection, and not so deluxe), I want to create video clips in a
>low-bitrate format which must be highly interchangable (I respect people
>who use other operating systems).
>
>Transcode is great for generating VCD MPEGS, but that's far too high
>bitrate. And it also allows to take a cut out of the source video clip,
>which is a blessing. But I want the real low-end.
>
>
>This is what I've achieved so far. The following commands give me a VCD:
>
>transcode -i $original -k -z -y mpeg2enc,mp2enc -F 1 -Z 352x288 -E 44100
>-b 224 -o $tmpfile
>tcmplex -o $outfile -i $tmpfile.m1v -p $tmpfile.mpa -m v && rm -f
>$tmpfile.m1v $tmpfile.mpa;
>
>The first command generates a video stream and an audio stream, and the
>second mixes them together. Amazingly, it works like a charm! And if you
>insist, this is how I make a VCD:
>
>vcdimager -t vcd2 $outfile
>cdrdao write --driver generic-mmc --device 0,0,0 --speed 24 videocd.cue
>
>OK, so now I want a low-end MPEG? Great, I reduced the bitrate with:
>
>transcode -i $original -k -z -y mpeg2enc,mp2enc -F 0 -Z 352x288 -E 44100
>-w 128 -b 96 -o $tmpfile
>
>Note the -w 128 flag, which says video bitrate 128 kbits/sec, and the -b
>96 which gets the audio (mp3) down to 96 kbits/sec. The result was
>disappointing twice: First, because the file remained very large.
>Second, because the quality was indeed lousy (as expected from a low
>bitrate).
>
>Ideas, anybody?
>
> Eli
>
>--
>Web: http://www.billauer.co.il
>
>
>--------------------------------------------------------------------------
>Haifa Linux Club Mailing List (http://www.haifux.org)
>To unsub send an empty message to [EMAIL PROTECTED]
>
>
>
>__________________________________________________________________
>
Eli Billauer wrote:
>Subject: [Haifux] Encoding internet-quality video
> From: Eli Billauer <[EMAIL PROTECTED]>
> To: Haifa Linux Club Mailing list <[EMAIL PROTECTED]>
> Date: Thu, 20 May 2004 12:56:22 +0200
>
>
>Hello all,
>
>After buying a video sampling card (Pinnacle PCTV Deluxe, with USB
>connection, and not so deluxe), I want to create video clips in a
>low-bitrate format which must be highly interchangable (I respect people
>who use other operating systems).
>
>Transcode is great for generating VCD MPEGS, but that's far too high
>bitrate. And it also allows to take a cut out of the source video clip,
>which is a blessing. But I want the real low-end.
>
>
>This is what I've achieved so far. The following commands give me a VCD:
>
>transcode -i $original -k -z -y mpeg2enc,mp2enc -F 1 -Z 352x288 -E 44100
>-b 224 -o $tmpfile
>tcmplex -o $outfile -i $tmpfile.m1v -p $tmpfile.mpa -m v && rm -f
>$tmpfile.m1v $tmpfile.mpa;
>
>The first command generates a video stream and an audio stream, and the
>second mixes them together. Amazingly, it works like a charm! And if you
>insist, this is how I make a VCD:
>
>vcdimager -t vcd2 $outfile
>cdrdao write --driver generic-mmc --device 0,0,0 --speed 24 videocd.cue
>
>OK, so now I want a low-end MPEG? Great, I reduced the bitrate with:
>
>transcode -i $original -k -z -y mpeg2enc,mp2enc -F 0 -Z 352x288 -E 44100
>-w 128 -b 96 -o $tmpfile
>
>Note the -w 128 flag, which says video bitrate 128 kbits/sec, and the -b
>96 which gets the audio (mp3) down to 96 kbits/sec. The result was
>disappointing twice: First, because the file remained very large.
>Second, because the quality was indeed lousy (as expected from a low
>bitrate).
>
>Ideas, anybody?
>
> Eli
>
>--
>Web: http://www.billauer.co.il
>
>
>--------------------------------------------------------------------------
>Haifa Linux Club Mailing List (http://www.haifux.org)
>To unsub send an empty message to [EMAIL PROTECTED]
>
>
>
>__________________________________________________________________
>
נשלח באמצעות קולמייל, דואר הרשת הטוב בישראל
http://coolmail.nana.co.il -------------------------------------------------------------------------- Haifa Linux Club Mailing List (http://www.haifux.org) To unsub send an empty message to [EMAIL PROTECTED]
