Re: [ubuntu-in] encoding to flash videos

2008-03-21 Thread Sanjay Bhangar
Mencoder should work -- I use ffmpeg for most of my encoding, and that works
as well:
is probably a good idea to re-compile ffmpeg from source, latest SVN, using
instructions here: https://wiki.ubuntu.com/ffmpeg
then something like:
$ffmpeg -i blah.rm blah.mp4  should work (if all is hunky dory -- never had
to deal with RealMedia files myself... :) )
again, man ffmpeg will give you all you need as well and I think the choice
between mencoder and ffmpeg is upto you -- I prefer ffmpeg, but sometimes
need to fall-back to mencoder - and am sure its vice-versa..
Best've luck in the crazy world of video encoding:-)
-Sanjay


On Fri, Mar 21, 2008 at 11:23 AM, binoy <[EMAIL PROTECTED]> wrote:

> have you tried mencoder. check if mplayer can play the rm file.
> i use the following to convert my videos from camcorder to a lower quality
> to save on my mobile or web
> mencoder source.avi -sws 2 -oac mp3lame -ovc lavc -lavcopts
> vcodec=mpeg4:vhq:vbitrate=350 -vf scale=320:240  -ofps 18 -o output.avi
>
> you might not need the -vf scale . or you can try using -oac copy
> I dont think I have a rm file right now to try, but i believe it should
> work
>
> the mencoder/mplayer man page has all the information you will ever need.
> Then there's also google.
>
>
>
> On Thu, Mar 20, 2008 at 1:51 PM, Linux Lingam <[EMAIL PROTECTED]>
> wrote:
>
> > [snip]
> >
> > encoding to flv from ffmpeg works.
> > but i wonder how to transcode a *.rm file (realmedia video) to mpeg1
> > or mpeg2, or even mpeg4.
> >
> > any tips, please?
> >
> > tia
> >
> > niyam
> >
> > --
> > ubuntu-in mailing list
> > ubuntu-in@lists.ubuntu.com
> > https://lists.ubuntu.com/mailman/listinfo/ubuntu-in
> >
>
>
> --
> ubuntu-in mailing list
> ubuntu-in@lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-in
>
>
-- 
ubuntu-in mailing list
ubuntu-in@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-in


Re: [ubuntu-in] encoding to flash videos

2008-03-20 Thread binoy
have you tried mencoder. check if mplayer can play the rm file.
i use the following to convert my videos from camcorder to a lower quality
to save on my mobile or web
mencoder source.avi -sws 2 -oac mp3lame -ovc lavc -lavcopts
vcodec=mpeg4:vhq:vbitrate=350 -vf scale=320:240  -ofps 18 -o output.avi

you might not need the -vf scale . or you can try using -oac copy
I dont think I have a rm file right now to try, but i believe it should work

the mencoder/mplayer man page has all the information you will ever need.
Then there's also google.



On Thu, Mar 20, 2008 at 1:51 PM, Linux Lingam <[EMAIL PROTECTED]> wrote:

> [snip]
>
> encoding to flv from ffmpeg works.
> but i wonder how to transcode a *.rm file (realmedia video) to mpeg1
> or mpeg2, or even mpeg4.
>
> any tips, please?
>
> tia
>
> niyam
>
> --
> ubuntu-in mailing list
> ubuntu-in@lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-in
>
-- 
ubuntu-in mailing list
ubuntu-in@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-in


Re: [ubuntu-in] encoding to flash videos

2008-03-20 Thread Linux Lingam
[snip]

encoding to flv from ffmpeg works.
but i wonder how to transcode a *.rm file (realmedia video) to mpeg1
or mpeg2, or even mpeg4.

any tips, please?

tia

niyam

-- 
ubuntu-in mailing list
ubuntu-in@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-in


Re: [ubuntu-in] encoding to flash videos

2008-03-18 Thread Moz
Hi Jasbir,

Thanks.

> >  Can someone give the full command using ffmpeg or mencoder to encode
> >  an ASF or mpg or mp4 file to a flash video (flv) file suitable to
> >  upload to various video sites?
>Goggle is way much faster :)

Sure, but not if one is 15 km away from the nearest CDMA tower and 
accessing the internet from that.

>ffmepg -i  -ar  22050 -ab 32 -f flv -s 320x240 output_file.flv

This one encoded to flv without audio. Wonder why. So I played around 
with it and found this one working:

ffmepg -i  -acodec pcm_s8 -ar  22050 -ab 32 -f flv -s 
320x240 output_file.flv

>well I was under the impression the the enconding part was also
>handled by the "various video sites" .

Never uploaded any video, so I do not know.

Moz 


-- 
ubuntu-in mailing list
ubuntu-in@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-in


Re: [ubuntu-in] encoding to flash videos

2008-03-18 Thread Jasbir Khehra
On 3/18/08, Moz <[EMAIL PROTECTED]> wrote:
> Hello All,
>
>  Can someone give the full command using ffmpeg or mencoder to encode
>  an ASF or mpg or mp4 file to a flash video (flv) file suitable to
>  upload to various video sites?
Goggle is way much faster :)
ffmepg -i  -ar  22050 -ab 32 -f flv -s 320x240 output_file.flv

well I was under the impression the the enconding part was also
handled by the "various video sites" .

Jasbir

-- 
ubuntu-in mailing list
ubuntu-in@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-in


[ubuntu-in] encoding to flash videos

2008-03-18 Thread Moz
Hello All,

Can someone give the full command using ffmpeg or mencoder to encode 
an ASF or mpg or mp4 file to a flash video (flv) file suitable to 
upload to various video sites?

Sincerely,

Moz


-- 
ubuntu-in mailing list
ubuntu-in@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-in