Re: [gentoo-user] 4gb mpeg to 100mb xvid?

2005-09-08 Thread Antoine

Arturo 'Buanzo' Busleiman wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Neil Bothwick wrote:


You could try gtranscode.



I tried, and it said that the file didn't exist :P - I'll try again. Maybe my 
full ~x86 gentoo
system is excesively ~ :P


http://mplayerhq.hu/DOCS/HTML-single/en/MPlayer.html

Use mencoder from the command line (or in a script file). I managed to 
get some pretty amazing results with mencoder + ffmpeg. I don't use it 
for ripping dvds cos it is too much hassle and with 700meg to play with 
the difference is not visible.
If you are going to be doing it reasonably regularly and really care 
about getting the best results then, no matter what your budget, this is 
the best option. I very much doubt there is any programme/codec in the 
world that would beat mencoder in the hands of an expert.

Cheers
Antoine
--
gentoo-user@gentoo.org mailing list



[gentoo-user] 4gb mpeg to 100mb xvid?

2005-09-07 Thread Arturo 'Buanzo' Busleiman
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi people,

I was wondering, do you have any pointers to transcode an mpeg file to 
an xvid? The original is a
+4gb file, and I need to create a good quality of aprox. 100mb xvid file.

What are your suggestions? Any interesting sites to read about this? 
scripts? ebuilds? I've done
some research in the area for the last two days, but I am definitely not a 
video guru, and many
things I do not understand.

Yours,

- --
Arturo Buanzo Busleiman - www.buanzo.com.ar
Consultor en Seguridad Informatica
KTP Consultores - info AT ktpconsultores.com.ar
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDHy8dAlpOsGhXcE0RAtG1AJ4hKwTIoDebDzICqNTJv3ZHe4fXawCfWLeh
J2IsjTmur5KhaN5MUb3ty00=
=dgAi
-END PGP SIGNATURE-
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] 4gb mpeg to 100mb xvid?

2005-09-07 Thread Holly Bostick
Arturo 'Buanzo' Busleiman schreef:
 Hi people,
 
 I was wondering, do you have any pointers to transcode an mpeg file 
 to an xvid? The original is a +4gb file, and I need to create a good 
 quality of aprox. 100mb xvid file.

I don't think this is realistic... you are trying to reduce the file
size by over 98% and want 'good quality' as well?

I don't see quite how that is going to happen, A standard DVD can be
reduced to the size of 1 CD (700 MB) or half that (350-400 MB) using
Xvid or Divx, but that's still 4-7x bigger than what you're trying to
get from the more-or-less same size starting point, and to even do that
much you have to make some sacrifices (like removing menus and extras,
which is essentially ripping out data from the original file by the
handful, or reducing image size, which may affect quality).

Is this 100MB a strict limit on the final file size (if you even can do it,
it's going to be the size of a postage stamp, though possibly the most
beautiful postage stamp ever seen)? Is all the data in the original file
strictly necessary?

Holly
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] 4gb mpeg to 100mb xvid?

2005-09-07 Thread Arturo 'Buanzo' Busleiman
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Holly Bostick wrote:
 Is this 100MB a strict limit on the final file size (if you even can do it,
 it's going to be the size of a postage stamp, though possibly the most
 beautiful postage stamp ever seen)? Is all the data in the original file
 strictly necessary?

This is the output of idmedia on one of those fiels:

ID_VIDEO_ID=0
ID_AUDIO_ID=0
ID_FILENAME=/home/buanzo/work/dd/DD_25_2005.MPG
ID_VIDEO_FORMAT=0x1002
ID_VIDEO_BITRATE=990
ID_VIDEO_WIDTH=720
ID_VIDEO_HEIGHT=576
ID_VIDEO_FPS=25.000
ID_VIDEO_ASPECT=1.
ID_AUDIO_CODEC=mp3
ID_AUDIO_FORMAT=80
ID_AUDIO_BITRATE=384000
ID_AUDIO_RATE=48000
ID_AUDIO_NCH=2
ID_LENGTH=3502

idmedia(){
mplayer -identify -frames 0 -ao null -vo null  -vc dummy $@ 2/dev/null | 
grep ID_
}

The file is exactly 4566906464

This is a digital dump, probably really compressable, as I have already seen 
it. But they usually
encode with wmv, which is, by no means, better.

- --
Arturo Buanzo Busleiman - www.buanzo.com.ar
Consultor en Seguridad Informatica
KTP Consultores - info AT ktpconsultores.com.ar
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDHzThAlpOsGhXcE0RAnvrAJ9g5p5AMenoiCfHaDbOMSIZHuXR3gCeLMO4
eqfWY8c+9SK4HCL7eZvYoVA=
=0MNl
-END PGP SIGNATURE-
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] 4gb mpeg to 100mb xvid?

2005-09-07 Thread Antoine

Arturo 'Buanzo' Busleiman wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi people,

I was wondering, do you have any pointers to transcode an mpeg file to 
an xvid? The original is a
+4gb file, and I need to create a good quality of aprox. 100mb xvid file.

What are your suggestions? Any interesting sites to read about this? 
scripts? ebuilds? I've done
some research in the area for the last two days, but I am definitely not a 
video guru, and many
things I do not understand.


Unless the mpeg is mostly nothing at all (very little motion, no flames, 
water, sky, textures, ...) then you will find it hard to get down to 
100meg. Don't forget that mpeg2 (probably the format you have...) is 
already compressed. Also don't forget that 1h30 of *audio* at 128kbps 
(normal mp3/ogg quality) will take about 90-100meg. What you are asking 
is pretty unrealistic. You could do it with mplayer or transcode but the 
results will be horrific. For 1h30 mins you will be down to a very small 
size, very low quality and barely discernable audio. Can you really only 
go to 100meg? You might get something reasonable with 300meg if you play 
around enough but otherwise I would say forget it.

Cheers
Antoine
ps. more info about the nature of the original could change everything
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] 4gb mpeg to 100mb xvid?

2005-09-07 Thread Holly Bostick
Arturo 'Buanzo' Busleiman schreef:
 Holly Bostick wrote:
 
 Is this 100MB a strict limit on the final file size (if you even
  can do it, it's going to be the size of a postage stamp, though
  possibly the most beautiful postage stamp ever seen)? Is all the
  data in the original file strictly necessary?
 
 
 ID_VIDEO_WIDTH=720 ID_VIDEO_HEIGHT=576 ID_VIDEO_FPS=25.000 
 ID_VIDEO_ASPECT=1. ID_AUDIO_CODEC=mp3 ID_AUDIO_FORMAT=80 
 ID_AUDIO_BITRATE=384000 ID_AUDIO_RATE=48000 ID_AUDIO_NCH=2 
 ID_LENGTH=3502

OK, I would say that this is a PAL DVD with mp3 sound, based on the
aspect ratio, frame rate, and size. You *could* just use dvdauthor to
format the mpg (which is correctly formatted for a PAL DVD) to
DVD-compliant files, and then burn it to a standard DVD which would
happily play in your DVD player (assuming that said player can play PAL
DVDs).

But if you don't have a DVD burner, or for some other reason need this
file to be housed on smaller media, you need to break the file up into
its composite parts so that you can get rid of some of them. For
example, if there are menus, they need to be ripped out. If there
are extras (making-of comments, outtakes, whatever), they need to be
ripped out. What I would do is fire up dvdauthor to convert the *.mpg
into defined chapters (*.VOB and *.IFO files), then fire up dvd::rip to
select just the data chapters (the movie itself, in other words, without
the menus and extras), and transcode those chapters to an *avi... in the
process you could also reduce the sound quality somewhat, which would
also reduce the final file size, and of course the image size, which
would reduce the file size as well, but it might not look very good.

Alternatively, if it's a 'mixed' DVD (for example, not a movie, but a
music/concert DVD with video footage), using the chapter methodology would
enable you to encode each video/song as an individual *.avi rather than one
giant one.

If you tell dvdrip how big you want the resulting transcoded file to be,
it will do that, but if all of the data doesn't fit in the size
specified (which it likely won't, depending on your settings, which can
only do so much), then you'll have two (or four, or six) 100MB files
instead of just one.

That's about the best I can do for you without knowing more about the
construction of the file, and what you're trying to do with it.

Holly
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] 4gb mpeg to 100mb xvid?

2005-09-07 Thread Arturo 'Buanzo' Busleiman
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Holly Bostick wrote:
 That's about the best I can do for you without knowing more about the
 construction of the file, and what you're trying to do with it.

Well, many people have assumed that it being a 5gb+ file, it was a dvd. 
Definitely not. It has no
menus, no nothing. It's a plain video file. Master copy of a tv program 
originally on tape, then
saved to a digital format.

Here is the output of mplayer:

MPlayer 1.0pre7try2-3.4.4 (C) 2000-2005 MPlayer Team
CPU: Advanced Micro Devices Athlon MP/XP/XP-M Barton (Family: 6, Stepping: 0)
Detected cache-line size is 64 bytes
CPUflags:  MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE



85 audio  196 video codecs
Playing work/dd/DD_24_2005.MPG.
Cache fill:  0.00% (0 bytes)MPEG-PS file format detected.
VIDEO:  MPEG2  720x576  (aspect 2)  25.000 fps  9900.0 kbps (1237.5 kbyte/s)
==
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
AUDIO: 48000 Hz, 2 ch, s16le, 384.0 kbit/25.00% (ratio: 48000-192000)
Selected audio codec: [mp3] afm:mp3lib (mp3lib MPEG layer-2, layer-3)
==
vo: X11 running at 1024x768 with depth 16 and 16 bpp (:0.0 = local display)
==
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 720 x 576 (preferred csp: Mpeg PES)
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
The selected video_out device is incompatible with this codec.
VDecoder init failed :(
Opening video decoder: [libmpeg2] MPEG 1/2 Video decoder libmpeg2-v0.4.0b
Selected video codec: [mpeg12] vfm:libmpeg2 (MPEG-1 or 2 (libmpeg2))
==
Checking audio filter chain for 48000Hz/2ch/s16le - 48000Hz/2ch/s16le...
AF_pre: 48000Hz/2ch/s16le
AO: [oss] 48000Hz 2ch s16le (2 bps)
Building audio filter chain for 48000Hz/2ch/s16le - 48000Hz/2ch/s16le...
Starting playback...
VDec: vo config request - 720 x 576 (preferred csp: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
VO: [xv] 720x576 = 768x576 Planar YV12
A:   1.7 V:   1.7 A-V:  0.005 ct:  0.036  26/ 26 15%  1%  1.1% 0 0 79%
Exiting... (Quit)


- --
Arturo Buanzo Busleiman - www.buanzo.com.ar
Consultor en Seguridad Informatica
KTP Consultores - info AT ktpconsultores.com.ar
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDH0RbAlpOsGhXcE0RAk+xAJ406EF7yH1AFeUiwFmVkWx4da1f1wCdFcS6
2/okHq9Tj2+iNz8mRffWJxs=
=IkGo
-END PGP SIGNATURE-
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] 4gb mpeg to 100mb xvid?

2005-09-07 Thread Holly Bostick
Arturo 'Buanzo' Busleiman schreef:
 Holly Bostick wrote:
 
 That's about the best I can do for you without knowing more about
  the construction of the file, and what you're trying to do with 
 it.
 
 
 Well, many people have assumed that it being a 5gb+ file, it was a 
 dvd. Definitely not. It has no menus, no nothing. It's a plain video 
 file. Master copy of a tv program originally on tape, then saved to a
 digital format.

Direct from tv? Use avidemux or any video editing program to get rid of
the commercials then.

And in any case, the file was definitely saved to digital format with
the intention to convert and burn to PAL DVD; you don't just get 720x504 and
25fps by accident.

But you still haven't said why the final output file has to be so small.

Holly
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] 4gb mpeg to 100mb xvid?

2005-09-07 Thread Arturo 'Buanzo' Busleiman
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Holly Bostick wrote:
 Direct from tv? Use avidemux or any video editing program to get rid of
 the commercials then.

Not direct from tv. The people who record (with cameras) and then join the 
pieces provide this file.
I can't do that. The producer asked me to do this transformation. And, indeed, 
they've done it
before, but to wmv format. They stream the program online:

broadband: mms://200.80.72.153/dd24_2005.wmv
dialup: mms://200.80.72.153/dd24_2005baja.wmv

 And in any case, the file was definitely saved to digital format with
 the intention to convert and burn to PAL DVD; you don't just get 720x504 and
 25fps by accident.

Yeah, I agree. but it still has no menues :P - If I could put it available for 
any of you to help me
out with this, I'd do it. But 4.5gb...

 But you still haven't said why the final output file has to be so small.

To be shared over bittorrent :P

- --
Arturo Buanzo Busleiman - www.buanzo.com.ar
Consultor en Seguridad Informatica
KTP Consultores - info AT ktpconsultores.com.ar
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDH0vUAlpOsGhXcE0RAotrAJ4t6ZopaLKuz6C1ynGHeCjRi53LjwCfW+Wj
3YrWnMIQzOKbbjwuy+5jEMY=
=OMSA
-END PGP SIGNATURE-
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] 4gb mpeg to 100mb xvid?

2005-09-07 Thread Willie Wong
Okay, I am no video expert, but

On Wed, Sep 07, 2005 at 04:49:47PM -0300, Arturo 'Buanzo' Busleiman wrote:
 Playing work/dd/DD_24_2005.MPG.
 Cache fill:  0.00% (0 bytes)MPEG-PS file format detected.
 VIDEO:  MPEG2  720x576  (aspect 2)  25.000 fps  9900.0 kbps (1237.5 kbyte/s)
 ==
 Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
 AUDIO: 48000 Hz, 2 ch, s16le, 384.0 kbit/25.00% (ratio: 48000-192000)
 Selected audio codec: [mp3] afm:mp3lib (mp3lib MPEG layer-2, layer-3)
 ==
 vo: X11 running at 1024x768 with depth 16 and 16 bpp (:0.0 = local display)
 ==
 Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
 VDec: vo config request - 720 x 576 (preferred csp: Mpeg PES)
 Could not find matching colorspace - retrying with -vf scale...
 Opening video filter: [scale]
 The selected video_out device is incompatible with this codec.
 VDecoder init failed :(
 Opening video decoder: [libmpeg2] MPEG 1/2 Video decoder libmpeg2-v0.4.0b
 Selected video codec: [mpeg12] vfm:libmpeg2 (MPEG-1 or 2 (libmpeg2))
 ==

The resolution and bitrate on the video seems suspiciously high to me
as a digitized version of TV program on Tape. You are talking about 8
times as much information as a normal mpeg1 dump from a VCD (and
twice the information compared to the one DVD i have lying around).

Of course, not knowing anything about where you got the originals
from, I have no idea whether my wild guess is anywhere near accurate.

W
-- 
Is there any theorem on how many pieces of chalk I'm supposed to break.
~DeathMech, S. Sondhi. P-town PHY 205
Sortir en Pantoufles: up 26 days, 23:33
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] 4gb mpeg to 100mb xvid?

2005-09-07 Thread Holly Bostick
Arturo 'Buanzo' Busleiman schreef:
 Holly Bostick wrote:
 
 Direct from tv? Use avidemux or any video editing program to get
  rid of the commercials then.
 
 
 Not direct from tv. The people who record (with cameras) and then 
 join the pieces provide this file. I can't do that. The producer 
 asked me to do this transformation. And, indeed, they've done it 
 before, but to wmv format. They stream the program online:
 
 broadband: mms://200.80.72.153/dd24_2005.wmv dialup: 
 mms://200.80.72.153/dd24_2005baja.wmv
 
 
 And in any case, the file was definitely saved to digital format
  with the intention to convert and burn to PAL DVD; you don't
 just get 720x504 and 25fps by accident.
 
 
 Yeah, I agree. but it still has no menues :P - If I could put it 
 available for any of you to help me out with this, I'd do it. But 
 4.5gb...
 
 
 But you still haven't said why the final output file has to be so
  small.
 
 
 To be shared over bittorrent :P
 

U people share full DVD- size files over BT all the time. If
it's an issue of not wanting to seed for the length of time it would
take to get more seeders, well, then don't share over BT, because you
'have to' do that, no matter how big the file is.

And heaven knows I wouldn't be happy with the file I got (a full DVD
shrunk to 100MB), even if it only took me half an hour rather than 2 days.

Or is the issue that the vendor doesn't want people to have to wait for
2 days to get the file? I'm not sure that's reasonable; it's BT (so
people are used to it not being instantaneous downloading), and this is,
after all, a full-quality file that is (almost) ready to burn to DVD. If
that's what the expected customers want, then they'll likely be willing
to wait.

You might consider offering two versions; 'low-quality' (reduced to
something like 320xwhatever), and 'high(er)-quality' (at either the
original A/R, or a slightly lower one).

Or you might consider buying a proprietary encoding system (Real, OT),
or installing Windows (or Windows under VMWare), for the express purpose
of getting these files down to some tiny size (you're presumably getting
paid, so it's a business expense).

But there's no explicit reason as far as BT is concerned, that you can't
share the file as is.

Rar or Tar.gz or zip the file up and share it, or encode it down to an
xvid (which will likely reduce the size at least somewhat, but anybody
correct me if I'm wrong) and *then* rar/tar.gz/zip it up and share it.

I think you're trying to solve the wrong problem-- your actual problem
is not that the file is 'too big' but it is in some way too big for you
to work with in the way that you seem to need to, for reasons unknown
(insofar as there is no bt-specific reason that a 4.5 GB file cannot be
shared, but there clearly is a you-specific reason that you can't do
this, presumably that your client has specified these restrictions).

Holly
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] 4gb mpeg to 100mb xvid?

2005-09-07 Thread Bryan Whitehead

check out this webpage:
http://www.transcoding.org/cgi-bin/transcode?back=Examples

you can start the encode with crazy options to make it small... and then 
view it while encoding to see if the quality is good enough.


On Wed, 7 Sep 2005, Arturo 'Buanzo' Busleiman wrote:


-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi people,

I was wondering, do you have any pointers to transcode an mpeg file to 
an xvid? The original is a
+4gb file, and I need to create a good quality of aprox. 100mb xvid file.

What are your suggestions? Any interesting sites to read about this? 
scripts? ebuilds? I've done
some research in the area for the last two days, but I am definitely not a 
video guru, and many
things I do not understand.

Yours,

- --
Arturo Buanzo Busleiman - www.buanzo.com.ar
Consultor en Seguridad Informatica
KTP Consultores - info AT ktpconsultores.com.ar
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDHy8dAlpOsGhXcE0RAtG1AJ4hKwTIoDebDzICqNTJv3ZHe4fXawCfWLeh
J2IsjTmur5KhaN5MUb3ty00=
=dgAi
-END PGP SIGNATURE-



--
Bryan Whitehead
Email:[EMAIL PROTECTED]
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] 4gb mpeg to 100mb xvid?

2005-09-07 Thread Arturo 'Buanzo' Busleiman

On Wed, 7 Sep 2005, Holly Bostick wrote:


Rar or Tar.gz or zip the file up and share it, or encode it down to an
xvid (which will likely reduce the size at least somewhat, but anybody
correct me if I'm wrong) and *then* rar/tar.gz/zip it up and share it.


And how do I easily encode it down to an xvid?

--
Buanzo

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] 4gb mpeg to 100mb xvid?

2005-09-07 Thread Neil Bothwick
On Wed, 7 Sep 2005 18:30:34 -0300 (ART), Arturo 'Buanzo' Busleiman wrote:

  Rar or Tar.gz or zip the file up and share it, or encode it down to an
  xvid (which will likely reduce the size at least somewhat, but anybody
  correct me if I'm wrong) and *then* rar/tar.gz/zip it up and share it.

rar/gzip/7zip/whatever will not significantly compress and already
compressed file, they may even make it slightly larger.

 And how do I easily encode it down to an xvid?

You could try gtranscode.


-- 
Neil Bothwick

My Go this  amn keyboar  oesn't have any  's.


pgp3QKgmDgwT7.pgp
Description: PGP signature


Re: [gentoo-user] 4gb mpeg to 100mb xvid?

2005-09-07 Thread Willie Wong
Hi

On Wed, Sep 07, 2005 at 06:30:34PM -0300, Arturo 'Buanzo' Busleiman wrote:
 On Wed, 7 Sep 2005, Holly Bostick wrote:
 
 Rar or Tar.gz or zip the file up and share it, or encode it down to an
 xvid (which will likely reduce the size at least somewhat, but anybody
 correct me if I'm wrong) and *then* rar/tar.gz/zip it up and share it.
 
 And how do I easily encode it down to an xvid?
 
http://www.bunkus.org/dvdripping4linux/single/index.html#transcoding

dvd::rip is available as media-video/dvdrip
or you can just emerge transcode and deal with the command line
interface. 
-- 
My mind is glowing.
Sortir en Pantoufles: up 27 days,  1:35
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] 4gb mpeg to 100mb xvid?

2005-09-07 Thread Willie Wong
On Wed, Sep 07, 2005 at 10:53:34PM +0200, Holly Bostick wrote:
  But you still haven't said why the final output file has to be so
   small.
  
  
  To be shared over bittorrent :P
  
 
 U people share full DVD- size files over BT all the time. If
 it's an issue of not wanting to seed for the length of time it would
 take to get more seeders, well, then don't share over BT, because you
 'have to' do that, no matter how big the file is.
 
 And heaven knows I wouldn't be happy with the file I got (a full DVD
 shrunk to 100MB), even if it only took me half an hour rather than 2 days.

I know I am more likely to download files under 1GB than those above. 
Even with Bittorrent, which allows the sharing of large files, when
dealing with unknown content, I still prefer NOT to give up 4G of my
harddrive space. And I am sure a lot of users feel the same way. 

 
 Or is the issue that the vendor doesn't want people to have to wait for
 2 days to get the file? I'm not sure that's reasonable; it's BT (so
 people are used to it not being instantaneous downloading), and this is,
 after all, a full-quality file that is (almost) ready to burn to DVD. If
 that's what the expected customers want, then they'll likely be willing
 to wait.
 
 You might consider offering two versions; 'low-quality' (reduced to
 something like 320xwhatever), and 'high(er)-quality' (at either the
 original A/R, or a slightly lower one).
 

I think that's a good idea. 

 I think you're trying to solve the wrong problem-- your actual problem
 is not that the file is 'too big' but it is in some way too big for you
 to work with in the way that you seem to need to, for reasons unknown
 (insofar as there is no bt-specific reason that a 4.5 GB file cannot be
 shared, but there clearly is a you-specific reason that you can't do
 this, presumably that your client has specified these restrictions).

Hum, my feeling is that his client actually wants people to download
the files? A brief scan of the various bittorrent forums/boards that I
visit tells me that full DVD sized contents can usually only survive
if it is a boot-legged copy of a full movie, or pr0n. Other things
tends to get ignored if it takes 2 days to download. Like I said: if
you don't know whether the content is good or not, would you be
willing to wait 2 days and sacrifice 4 G of harddrive space? 

W
-- 
Why does the chicken cross the road?
Einstein: it's not the chicken crossing the road, it is the road crossing the
 chicken.
Heisenberg: well, if you know it is moving, you can't know where it is; and if
 you know where it is, you can't really know where it's going. Therefore
 you can't know for certain that the chicken is actually crossing the road.
von Neumann: it satisfies the Minimax theorem for worm finding.
Schroedinger: not really. It is in the state of crossing and not crossing at
 the same time. Until you observe it, you can't really be sure.
Pauli: Well, it must be that there's another chicken of the same shape, size, 
 color, taste, smell, etc. on this side of the road...
Newton: an unbalanced force
Bohr: Because it is excited, and because it can't stay on the road...
Feynman: (dum, dum, dong, dum-da, dum, dong)
 Ah... Old MacDonald had a farm... E I E I O
 And on this farm he has a chicken... E I E I O
Sortir en Pantoufles: up 27 days,  1:36
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] 4gb mpeg to 100mb xvid?

2005-09-07 Thread Arturo 'Buanzo' Busleiman
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Neil Bothwick wrote:
 You could try gtranscode.

I tried, and it said that the file didn't exist :P - I'll try again. Maybe my 
full ~x86 gentoo
system is excesively ~ :P

- --
Arturo Buanzo Busleiman - www.buanzo.com.ar
Consultor en Seguridad Informatica
KTP Consultores - info AT ktpconsultores.com.ar
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD4DBQFDH4YQAlpOsGhXcE0RAnWtAJ4lSCwMQJ4MT0xhNjdX2ArbtTO0bACYuHMQ
5auMkQFxBMPBW06SH3R78g==
=gKcv
-END PGP SIGNATURE-
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] 4gb mpeg to 100mb xvid?

2005-09-07 Thread Nick Rout

On Wed, 7 Sep 2005 18:30:34 -0300 (ART)
Arturo 'Buanzo' Busleiman wrote:

 On Wed, 7 Sep 2005, Holly Bostick wrote:
 
  Rar or Tar.gz or zip the file up and share it, or encode it down to an
  xvid (which will likely reduce the size at least somewhat, but anybody
  correct me if I'm wrong) and *then* rar/tar.gz/zip it up and share it.
 
 And how do I easily encode it down to an xvid?

your sample file shows the following with mplayer -identify:

ASF file format detected.
ID_AUDIO_ID=1
ID_VIDEO_ID=2
VIDEO:  [WMV3]  320x240  24bpp  1000.000 fps0.0 kbps ( 0.0 kbyte/s)
==
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 32000 Hz, 2 ch, s16le, 32.0 kbit/3.12% (ratio: 4000-128000)
Selected audio codec: [ffwmav2] afm:ffmpeg (DivX audio v2 (FFmpeg))
==
ID_FILENAME=dd24_2005.wmv
ID_VIDEO_FORMAT=WMV3
ID_VIDEO_BITRATE=0
ID_VIDEO_WIDTH=320
ID_VIDEO_HEIGHT=240
ID_VIDEO_FPS=1000.000
ID_VIDEO_ASPECT=0.
ID_AUDIO_CODEC=ffwmav2
ID_AUDIO_FORMAT=353
ID_AUDIO_BITRATE=32000
ID_AUDIO_RATE=32000
ID_AUDIO_NCH=2
ID_LENGTH=3232
==
Opening video decoder: [dmo] DMO video codecs
DMO dll supports VO Optimizations 0 1
DMO dll might use previous sample when requested
GetOutput r=0x0   size:230400  align:1
StreamCount r=0x0  1  1
Decoder supports the following YUV formats: YV12 YUY2 UYVY YVYU
Decoder is capable of YUV output (flags 0x1b)
VDec: vo config request - 320 x 240 (preferred csp: Packed YUY2)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
VO: [null] 320x240 = 320x240 Planar YV12
Selected video codec: [wmv9dmo] vfm:dmo (Windows Media Video 9 DMO)
==
Checking audio filter chain for 32000Hz/2ch/s16le - 32000Hz/2ch/s16le...
AF_pre: 32000Hz/2ch/s16le
alsa-init: 1 soundcard found, using: default
alsa: 32000 Hz/2 channels/4 bpf/43688 bytes buffer/Signed 16 bit Little Endian
AO: [alsa] 32000Hz 2ch s16le (2 bps)
Building audio filter chain for 32000Hz/2ch/s16le - 32000Hz/2ch/s16le...
Starting playback...


Clearly the frames per second is misreported at 1000 (this seems a
common problem with wmv files and ffmpeg/mplayer). However you can see
that it has been coded down to 320x240 pixels.

It is remarkably watchable, albeit I don't understand the language. Yu
can use the above parameters to re-encode it with a variety of tools,
you will have to do a little research as to what will work best. It will take a 
bit of cpu processing too!

The possible tools are:

ffmpeg
mencoder (part of mplayer)
transcode

The common approach is to separate the audio and video channels,
re-encode each of them to the required bitrate and size, and then mplex
them back together again. There is no one tool or right approach.
There is a lot of reading to do. 

avidemux does provide a gui which may be useful - it helps set up
parameters for the various formats and ocdecs. It uses the same basic
tools under the hood though.

For a reasonably well documented script that does a similar thing, and
may provide inspiration, see 
http://forums.gentoo.org/viewtopic.php?t=117709highlight=codecs

(this documents any2vob, which takes any old video file and converts it
to a format suitable for burning to dvd. You are doing pretty much the
opposite, but the steps and tools are the same.)

 
 --
 Buanzo
 
 -- 
 gentoo-user@gentoo.org mailing list

-- 
Nick Rout [EMAIL PROTECTED]

-- 
gentoo-user@gentoo.org mailing list