D&C GLug - Home Page

[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]

Re: [LUG] Converting WMV to AVI

 

On 08/02/07, Robert Purvis (NHS Connecting for Health)
<robert.purvis@xxxxxxx> wrote:
> Thanks. I tried ffmpeg as suggested below, but the resulting file was HUGE -
> the original wmv file is 260Mbytes, the avi output by ffmpeg is 1.6GBytes!
> Do you have any suggestions about how to reduce the size - such as reducing
> the fps or the sample rate?
>
> Rob
>
>
> Robert Purvis
> Principal Technical Specialist
>
>
> Systems and Service Delivery
> NHS Connecting for Health
> 01392 206691
> robert.purvis@xxxxxxx
> www.connectingforhealth.nhs.uk
>
> -----Original Message-----
> From: list-bounces@xxxxxxxxxxxxx [mailto:list-bounces@xxxxxxxxxxxxx] On
> Behalf Of Jonathan Roberts
> Sent: 06 February 2007 17:00
> To: list@xxxxxxxxxxxxx
> Subject: Re: [LUG] Converting WMV to AVI
>
> Hey,
>
> I would suggest ffmpeg. I think, although I'm not certain, that it also
> handles WMV.
>
> The command to use would be:
>
> ffmpeg -i /path/to/input/file.wmv -sameq /path/to/output/file.avi
>
> the sameq option ensures that the same quality is used in the output as the
> input.
>
> Hope this helps,
>
> Jon
>
> On 06/02/07, Robert Purvis (NHS Connecting for Health)
> <robert.purvis@xxxxxxx> wrote:
> > I have been trying to convert a WMV file to a format that my DVD
> > player recognises. I have been trying to understand mencoder (with
> > minimal success). I managed to get it to produce an AVI file using the
> > libavcodec codecs but my DVD player said it was an unknown codec. The
> > DVD player also said it didn't know what the resolution was.
> >
> > I have Fedora Core 5, with mplayer and mencoder from Livna. My DVD
> > player is a Liton HD-A760GX.
> >
> > Can anyone help with suggestions for the command line options to use
> > for mencoder?
> >
> > Robert Purvis
> > Principal Technical Specialist
> >
> >
> > Systems and Service Delivery
> > NHS Connecting for Health
> > 01392 206691
> > robert.purvis@xxxxxxx
> > www.connectingforhealth.nhs.uk
> >
> >
> > **********************************************************************
> > Information in this message  may contain  confidential and  privileged
> > information.  If you are not  the intended recipient please accept our
> > apologies; please do not disclose,  copy or distribute  information in
> > this e-mail or take any  action in reliance on its  contents: to do so
> > is strictly prohibited and may be unlawful. Please inform us that this
> > message  has  gone  astray  before  deleting it.  Thank  you for  your
> > co-operation.
> >
> > NHSmail is used daily by over 100,000 staff in the NHS. Over a million
> > messages  are sent every day by the system.  To find  out why more and
> > more NHS personnel are  switching to  this NHS  Connecting  for Health
> > system please visit www.connectingforhealth.nhs.uk/nhsmail
> > **********************************************************************
> >
> >
> > --
> > The Mailing List for the Devon & Cornwall LUG
> > http://mailman.dclug.org.uk/listinfo/list
> > FAQ: http://www.dcglug.org.uk/linux_adm/list-faq.html
> >
>
> --
> The Mailing List for the Devon & Cornwall LUG
> http://mailman.dclug.org.uk/listinfo/list
> FAQ: http://www.dcglug.org.uk/linux_adm/list-faq.html
>
>
> **********************************************************************
> Information in this message  may contain  confidential and  privileged
> information.  If you are not  the intended recipient please accept our
> apologies; please do not disclose,  copy or distribute  information in
> this e-mail or take any  action in reliance on its  contents: to do so
> is strictly prohibited and may be unlawful. Please inform us that this
> message  has  gone  astray  before  deleting it.  Thank  you for  your
> co-operation.
>
> NHSmail is used daily by over 100,000 staff in the NHS. Over a million
> messages  are sent every day by the system.  To find  out why more and
> more NHS personnel are  switching to  this NHS  Connecting  for Health
> system please visit www.connectingforhealth.nhs.uk/nhsmail
> **********************************************************************
>
>
> --
> The Mailing List for the Devon & Cornwall LUG
> http://mailman.dclug.org.uk/listinfo/list
> FAQ: http://www.dcglug.org.uk/linux_adm/list-faq.html
>

Assuming your DVD player only plays DVDs (and not divx, which some do )

try this
ffmpeg -i infile -target dvd -s 352x288 -qscale 3 -acodec mp2 -ar
44100 -ac 2 -ab 64 outfile

I get up to six hours on DVD's using this

-- 
The Mailing List for the Devon & Cornwall LUG
http://mailman.dclug.org.uk/listinfo/list
FAQ: http://www.dcglug.org.uk/linux_adm/list-faq.html