Hi,

Am Montag, 30. Juli 2007 16:54 schrieb Footer:
> Hey, hey, I never thought about that!  Convert it to mpg with ffmpeg
> on the command line and then use DVBCut? 
The only way, if you insist in using DVBcut for cutting an AVI... ;-)

BTW, what codec was used for that AVI-video? DIVX?
Ever tried AVIDEMUX(2) for cutting it?

> I just tried that and DVBCut 
> didn't like it too much.  
You used probabely the wrong switches...?

> But I was able to shrink the file from 168MB 
> to 6MB which is acceptable to me.  
That's nearly impossible with adequate quality!

> Would be nice to further cut it as 
> an mpg but I don't know how much more time I'm willing to invest to do
> that.  For what it's worth, here's the line I used to shrink the file
> (it was 640x480 and this command cut it down to 320x240):
>
> ffmpeg -i input_file_640x480.avi -ar 22050 -b 500 -s 320x240
> output_file_320x240.mpg
OK, with a bitrate of only 500 bits/sec it's no wonder that you ended up with
just 6 MB. Could you really see a proper video...? :)
You have to specifiy "-b 500k" if you want KILObits/sec!!! 

But with MPEG2 this also would give a rather bad quality... are you really 
sure that it's a MPEG2 video in an AVI container? I never saw that... and 
with your command line you didn't changed the codec....

> Would welcome any other ideas!!!

For cutting with DVBcut I would convert the video to a rather large bitrate 
MPEG2 stream to preserve the quality as much as possible (without changing 
the resolution!)... maybe with "-target DVD -s 640x480"... and additionally a 
"-acodec copy", if the audio is already coded in MP2/AC3 48kHz. 
But if not, you have to specify "-acodec mp2 -ab196k -ar 48000", otherwise 
DVBcut probabely does not recognize the Audio channel.

After cutting you can shrink it down again to a AVI/DIVX with [EMAIL PROTECTED]
and [EMAIL PROTECTED]/22kHz or whatever... 

I usually use:
 ffmpeg -i INFILE -f avi -vcodec mpeg4 -b 800k -g 250 -bf 2 -s 640x480 -aspect 
4:3 -acodec mp3 -ab 128k -ar 44100 OUTFILE

ciao,
Ralph

>
> On 7/30/07, Michael Riepe <[EMAIL PROTECTED]> wrote:
> > Hi!
> >
> > Footer wrote:
> > > Well ... both?
> >
> > I doubt that will ever happen. Output, maybe.
> >
> > >  Although I wouldn't mind taking AVI input and making
> > > it MPEG output ... When I try open an AVI file for editing, it says:
> > > "Unknown file type"
> >
> > DVB material uses MPEG-2 container formats (PS/TS) exclusively. There
> > was (and still is) no need to support other input formats, unless you
> > want to turn dvbcut into a general-purpose video cutting software.
> >
> > That, on the other hand, will require massive changes to the code. I'm
> > afraid you'll have to live with AVI<->MPEG converters.
> >
> > Michael.
> >
> > -------------------------------------------------------------------------
> > This SF.net email is sponsored by: Splunk Inc.
> > Still grepping through log files to find problems?  Stop.
> > Now Search log events and configuration files using AJAX and a browser.
> > Download your FREE copy of Splunk now >>  http://get.splunk.com/
> > _______________________________________________
> > DVBCUT-user mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/dvbcut-user
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems?  Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >>  http://get.splunk.com/
> _______________________________________________
> DVBCUT-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/dvbcut-user

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
DVBCUT-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dvbcut-user

Reply via email to