Re: [Mjpeg-users] Too late?

2004-08-23 Thread Selva Nair

Hi Anne,


On Mon, 23 Aug 2004, Anne Wilson wrote:

> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
> 
> On Monday 23 Aug 2004 21:13, Steven M. Schultz wrote:
> >
> > If you have a system monitoring tool available it would be interesting
> > to start that and observe the system's behaviour.   'xosview' is a good
> > tool with color coded status indicators - if you see a high percentage
> > of "system"  (kernel) time then you have found the problem area.
> >
> I'll play around tomorrow and see if I can get more info.
> 
> Anne
> - -- 
> Registered Linux User No.293302
> Have you visited http://twiki.mdklinuxfaq.org yet?
> -BEGIN PGP SIGNATURE-
> Version: GnuPG v1.2.4 (GNU/Linux)
> 
> iD8DBQFBKlpSkFAvMr/nNX8RAt32AJsF2Gu7rJKqreT2QpNE3v9Js/b7ZwCeNxLH
> UbEpF8bHBpx/3Wp2LKvkqxE=
> =05nG
> -END PGP SIGNATURE-
> 
> 
> ---
> SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
> 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
> Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
> http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
> ___
> Mjpeg-users mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/mjpeg-users
> 



---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
Mjpeg-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mjpeg-users


Re: [Mjpeg-users] Too late?

2004-08-23 Thread Anne Wilson
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Monday 23 Aug 2004 21:31, Selva Nair wrote:
>
> What is the o/p of
>
> # hdparm -iv /dev/hda
> (replace /dev/hda with the appropriate device)
>
/dev/hda:
 multcount= 16 (on)
 IO_support   =  1 (32-bit)
 unmaskirq=  1 (on)
 using_dma=  1 (on)
 keepsettings =  0 (off)
 readonly =  0 (off)
 readahead= 256 (on)
 geometry = 16383/255/63, sectors = 234441648, start = 0

 Model=WDC WD1200JB-00EVA0, FwRev=15.05R15, SerialNo=WD-WMAEL1516263
 Config={ HardSect NotMFM HdSw>15uSec SpinMotCtl Fixed DTR>5Mbs FmtGapReq }
 RawCHS=16383/16/63, TrkSize=57600, SectSize=600, ECCbytes=74
 BuffType=DualPortCache, BuffSize=8192kB, MaxMultSect=16, MultSect=16
 CurCHS=65535/1/63, CurSects=4128705, LBA=yes, LBAsects=234441648
 IORDY=on/off, tPIO={min:120,w/IORDY:120}, tDMA={min:120,rec:120}
 PIO modes:  pio0 pio1 pio2 pio3 pio4
 DMA modes:  mdma0 mdma1 mdma2
 UDMA modes: udma0 udma1 udma2 udma3 udma4 *udma5
 AdvancedPM=no WriteCache=enabled
 Drive conforms to: device does not report version:

 * signifies the current active mode

Hmm - it looks OK, I think?

> > fast enough to handle professional dvds, so I don't think it's cpu or
> > graphics card.  Hard disk sounds more likely to me.  What do you think?
>
> Have you tried playing any dvd-rate mpeg2 file from disk? You
> can copy, say, a short chapter from a dvd and try. If you have ogle,
> mplayer or vlc, try those too. Or author it on a dvd-rw and see whether
> your standalone dvd-player can play it! Be sure to author it using,
> say, dvdauthor, not simply copy the mpg to the disk.
>
I haven't tried any of that.  It's too much for tonight, so I'll go through 
those suggestions in the morning and let you know what happens.

Anne
- -- 
Registered Linux User No.293302
Have you visited http://twiki.mdklinuxfaq.org yet?
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFBKlkpkFAvMr/nNX8RAhN9AJ9OWRIWYZssn7nyE8Umd5wKLZpXeACfa3jl
vJqFt5A8oLRwyS/LhKMJM9g=
=UI9a
-END PGP SIGNATURE-


---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
Mjpeg-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mjpeg-users


Re: [Mjpeg-users] Too late?

2004-08-23 Thread Selva Nair

Hi Anne,

> it plays.  One problem, though.  By now I don't have the original file, and 
> I'm pretty confused about which of the myriad commands I've tried is the one 
> to give me a clean, basic DVD write.  Could you please remind me?  Is it just 
> lav2yuv coda.eli | yuvscaler -O DVD | yuvdenoise | mpeg2enc -f 8 -q 7 -4 1 -2 
> 1 -o coda.m2v

Looks okay, except that I would use -4 2 -2 1 instead of -4 1 -2 1. Also
if the original coda.eli is 720x576, you do not need yuvscaler[*] and for 
the
test run you can leave out yuvdenoise -- keep it simple.

> then
> mplex -f 8 coda.mp2 coda.m2v -o filename.mpg ?

Yes.

> 
> Is there any way of checking whether I have got both files in the correct 
> format before mplexing?  Maybe I should build them both again to be sure.

The mplex output contains a number of parameters that you can check  --
frame size (720x576), fps (25), number of video pictures (fps x length of
the video in seconds), audio sampling frequency and mode (48000 Hz,
stereo), audio bitrate (224000/8 = 28600bytes/sec) audio stream length 
(approx. = bitrate in bytes x length in seconds), average and peak
bitrates of the mplexed stream (should be less than 10.08 Mbps).
Finally make sure  mplex completes without any errors, especially 
buffer under-runs. The o/p you posted in the morning looked
fine in all these respects.

Selva

[*] The last time I used yuvscaler it did not support -O DVD,
but I haven't touched it after y4mscaler appeared. Make sure
it generates 720x576 frames for PAL.




---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
Mjpeg-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mjpeg-users


Re: [Mjpeg-users] Too late?

2004-08-23 Thread Anne Wilson
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Monday 23 Aug 2004 21:13, Steven M. Schultz wrote:
>
>   If you have a system monitoring tool available it would be interesting
>   to start that and observe the system's behaviour.   'xosview' is a good
>   tool with color coded status indicators - if you see a high percentage
>   of "system"  (kernel) time then you have found the problem area.
>
I'll play around tomorrow and see if I can get more info.

Anne
- -- 
Registered Linux User No.293302
Have you visited http://twiki.mdklinuxfaq.org yet?
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFBKlpSkFAvMr/nNX8RAt32AJsF2Gu7rJKqreT2QpNE3v9Js/b7ZwCeNxLH
UbEpF8bHBpx/3Wp2LKvkqxE=
=05nG
-END PGP SIGNATURE-


---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
Mjpeg-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mjpeg-users


Re: [Mjpeg-users] Too late?

2004-08-23 Thread Selva Nair

On Mon, 23 Aug 2004, Anne Wilson wrote:

>> Try mplexing the 44100 khz sound with the DVD size mpeg2 using -f 8.
>> The resulting file wont be dvd complaint, but is a valid mpeg2, so
>> mplayer (and possibly xine) should play it correctly. That way you can
>> confirm whether the trouble is with 48k sampling.
>>
>> Selva

> I'm tired, and maybe not thinking clearly.  I tried mplexing the m2v
> with the SVCD sound - is that what you intended?  Anyway, the result is
> the same.  Still the stutters.  (BTW, yes, there was a little noise on 
> the original, a few clicks, but that's not important, as long as we can
> get the music working).

Hmm.. As I wrote earlier, the short clip (6 seconds) plays fine here..

> Could it be disk access that's too slow?  I keep meaning to try hdparm on it, 
> as it's probably running at the slowest basic speed.  Certainly the system is 

What is the o/p of  

# hdparm -iv /dev/hda
(replace /dev/hda with the appropriate device)

> fast enough to handle professional dvds, so I don't think it's cpu or 
> graphics card.  Hard disk sounds more likely to me.  What do you think?

Have you tried playing any dvd-rate mpeg2 file from disk? You
can copy, say, a short chapter from a dvd and try. If you have ogle, 
mplayer or vlc, try those too. Or author it on a dvd-rw and see whether
your standalone dvd-player can play it! Be sure to author it using,
say, dvdauthor, not simply copy the mpg to the disk.

Selva






---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
Mjpeg-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mjpeg-users


Re: [Mjpeg-users] Too late?

2004-08-23 Thread Steven M. Schultz

On Mon, 23 Aug 2004, Anne Wilson wrote:

> Could it be disk access that's too slow?  I keep meaning to try hdparm on it, 

Yes indeed it could.  If it's not using UDMA then the programmed I/O
overhead will use so much system/kernel time that program performance
or audio timing will suffer.

> fast enough to handle professional dvds, so I don't think it's cpu or 
> graphics card.  Hard disk sounds more likely to me.  What do you think?

It's a good candidate for causing the problem.  Lower (SVCD) 
rates  play fine but as the amount of data/second increases so does
the system overhead, eventually causing a noticeable problem.

If you have a system monitoring tool available it would be interesting
to start that and observe the system's behaviour.   'xosview' is a good
tool with color coded status indicators - if you see a high percentage
of "system"  (kernel) time then you have found the problem area.

Cheers,
Steven Schultz



---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
Mjpeg-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mjpeg-users


Re: [Mjpeg-users] Too late?

2004-08-23 Thread Anne Wilson
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Monday 23 Aug 2004 19:48, Selva Nair wrote:
>
> The clip you sent me plays fine on my machine (except for some noise,
> that I guess is from the original..) May be your sound card/driver has
> problem playing 48KHz sound. I  vaguley recall having trouble with 48k on
> some sound cards.
>
In view of that, I think I should burn a dvd with the file on and see whether 
it plays.  One problem, though.  By now I don't have the original file, and 
I'm pretty confused about which of the myriad commands I've tried is the one 
to give me a clean, basic DVD write.  Could you please remind me?  Is it just 
lav2yuv coda.eli | yuvscaler -O DVD | yuvdenoise | mpeg2enc -f 8 -q 7 -4 1 -2 
1 -o coda.m2v
then
mplex -f 8 coda.mp2 coda.m2v -o filename.mpg ?

Is there any way of checking whether I have got both files in the correct 
format before mplexing?  Maybe I should build them both again to be sure.

Anne
- -- 
Registered Linux User No.293302
Have you visited http://twiki.mdklinuxfaq.org yet?
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFBKlCbkFAvMr/nNX8RAuAYAJ4w8+sUH32Et0VqfvflVM5oBxEVAgCdHqwk
H0EP/ezZZbzDKt2WV9oARrk=
=Xgs+
-END PGP SIGNATURE-


---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
Mjpeg-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mjpeg-users


Re: [Mjpeg-users] Too late?

2004-08-23 Thread Anne Wilson
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Monday 23 Aug 2004 19:33, Steven M. Schultz wrote:
>
>   I'm running out of ideas to try.  If the cpu isn't fast enough to
>   do both the video and audio decoding that might be the problem.  Just
>   playing a .mp2 file with an audio player doesn't have the timing
>   requirements that playing synchronized audio + video has.
>
>   Stuttering/shaking video is a symptom of the field order being
>   incorrect - but can that also affect the audio?  I didn't think it
>   had an effect on the audio playing.   Sounds like the movie
>   player is having to cut short the playing of parts of the audio because
>   it's time to start the next portion of movie - stopping/starting the
>   audio like that would be a stuttering effect.  And at higher video
>   (DVD) bitrates the effect would be more likely to happen than at
>   the lower (SVCD) bitrate.  Almost sounds like the system isn't fast
>   enough (for whatever reason) to play more than ~2500kbit/sec video
>   and audio in sync.  At 4500 and higher the video decoding is taking
>   more cpu time and throwing the audio timing off.
>
Could it be disk access that's too slow?  I keep meaning to try hdparm on it, 
as it's probably running at the slowest basic speed.  Certainly the system is 
fast enough to handle professional dvds, so I don't think it's cpu or 
graphics card.  Hard disk sounds more likely to me.  What do you think?

Anne
- -- 
Registered Linux User No.293302
Have you visited http://twiki.mdklinuxfaq.org yet?
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFBKkzPkFAvMr/nNX8RAqOLAJ0QVvdqKWU4DbsouWCpNVgKFipfyQCfb2r6
gKsMM4qxaCsPIO2rdJBsxqI=
=uwg6
-END PGP SIGNATURE-


---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
Mjpeg-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mjpeg-users


Re: [Mjpeg-users] Too late?

2004-08-23 Thread Anne Wilson
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Monday 23 Aug 2004 19:48, Selva Nair wrote:
> On Mon, 23 Aug 2004, Anne Wilson wrote:
> > -BEGIN PGP SIGNED MESSAGE-
> > Hash: SHA1
> >
> > On Monday 23 Aug 2004 16:17, Steven M. Schultz wrote:
> > > On Mon, 23 Aug 2004, Anne Wilson wrote:
> > > > I forgot to say that the reason I would try an SVCD was because I had
> > > > tried playing the mpg back in both xine and totem with the same
> > > > result. I suppose
> > >
> > >   I'm wondering if it's a soundcard/driver issue ...
>
> me too.. more below.
>
> >   It's a Creative Audigy Platinum, and I'm not convinced all is
> > well with this alsa driver.
>
> ..
>
> > You were quite right, of course.  I've now done the whole thing again for
> > svcd and it plays perfectly in totem.  Not a stutter to be heard.  So -
> > we still need to find why SCVD will do it properly, but DVD won't.  I
> > have to assume
>
> The clip you sent me plays fine on my machine (except for some noise,
> that I guess is from the original..) May be your sound card/driver has
> problem playing 48KHz sound. I  vaguley recall having trouble with 48k on
> some sound cards.
>
> Try mplexing the 44100 khz sound with the DVD size mpeg2 using -f 8.
> The resulting file wont be dvd complaint, but is a valid mpeg2, so
> mplayer (and possibly xine) should play it correctly. That way you can
> confirm whether the trouble is with 48k sampling.
>
> Selva

I'm tired, and maybe not thinking clearly.  I tried mplexing the m2v with the 
SVCD sound - is that what you intended?  Anyway, the result is the same.  
Still the stutters.  (BTW, yes, there was a little noise on the original, a 
few clicks, but that's not important, as long as we can get the music 
working).

Anne
- -- 
Registered Linux User No.293302
Have you visited http://twiki.mdklinuxfaq.org yet?
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFBKklTkFAvMr/nNX8RAqOiAKCCk7Hi0Y541egTp01ly32zcQNAogCfSm4A
kHe7AepCHHR8qzVLbTkDcSc=
=5tto
-END PGP SIGNATURE-


---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
Mjpeg-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mjpeg-users


Re: [Mjpeg-users] Too late?

2004-08-23 Thread Selva Nair
On Mon, 23 Aug 2004, Anne Wilson wrote:

> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
> 
> On Monday 23 Aug 2004 16:17, Steven M. Schultz wrote:
> > On Mon, 23 Aug 2004, Anne Wilson wrote:
> > > I forgot to say that the reason I would try an SVCD was because I had
> > > tried playing the mpg back in both xine and totem with the same result. 
> > > I suppose
> >
> > I'm wondering if it's a soundcard/driver issue ...
> >

me too.. more below.

>   It's a Creative Audigy Platinum, and I'm not convinced all is well 
> with this alsa driver.

..

> 
> You were quite right, of course.  I've now done the whole thing again for svcd 
> and it plays perfectly in totem.  Not a stutter to be heard.  So - we still 
> need to find why SCVD will do it properly, but DVD won't.  I have to assume 

The clip you sent me plays fine on my machine (except for some noise, 
that I guess is from the original..) May be your sound card/driver has 
problem playing 48KHz sound. I  vaguley recall having trouble with 48k on 
some sound cards.

Try mplexing the 44100 khz sound with the DVD size mpeg2 using -f 8.
The resulting file wont be dvd complaint, but is a valid mpeg2, so 
mplayer (and possibly xine) should play it correctly. That way you can
confirm whether the trouble is with 48k sampling.

Selva



---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
Mjpeg-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mjpeg-users


Re: [Mjpeg-users] Too late?

2004-08-23 Thread Steven M. Schultz
Hi -

> lav2yuv coda_sound.avi | yuvscaler -O DVD | yuvdenoise | mpeg2enc -f 9 -b 4500
> - -q 7 -4 1 -2 1 -o coda.m2v
> 
> which I changed to
> 
> lav2yuv coda_sound.avi | yuvscaler -O DVD | yuvdenoise | mpeg2enc -f 8 -q 7 -o
> coda.m2v
> 
> but the result is still a stuttering file.  Do I need a -b setting back in?

No, the only difference that the '-b' makes is to set the bitrate - 
without it mpeg2enc is using 7500 as the default bitrate.

> Steven, the mp2 file plays fine in any player you give it.  It's only when 
> it's mplexed into an mpg that there is a problem.  When I created the same 
> file in SVCD format it played well there, too.
> 

I'm running out of ideas to try.  If the cpu isn't fast enough to
do both the video and audio decoding that might be the problem.  Just
playing a .mp2 file with an audio player doesn't have the timing
requirements that playing synchronized audio + video has.  

Stuttering/shaking video is a symptom of the field order being 
incorrect - but can that also affect the audio?  I didn't think it 
had an effect on the audio playing.   Sounds like the movie
player is having to cut short the playing of parts of the audio because
it's time to start the next portion of movie - stopping/starting the
audio like that would be a stuttering effect.  And at higher video
(DVD) bitrates the effect would be more likely to happen than at
the lower (SVCD) bitrate.  Almost sounds like the system isn't fast
enough (for whatever reason) to play more than ~2500kbit/sec video
and audio in sync.  At 4500 and higher the video decoding is taking
more cpu time and throwing the audio timing off.

Steven Schultz



---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
Mjpeg-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mjpeg-users


Re: [Mjpeg-users] Too late?

2004-08-23 Thread Anne Wilson
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Monday 23 Aug 2004 17:26, Steven M. Schultz wrote:
>   Can you play the .mp2 file with something like 'mpg123' or 'mpg321'?
>   If that works, but xine/mplayer/whatever do not then I'd suspect
>   the audio decoding in the playing program.
>
Steven, the mp2 file plays fine in any player you give it.  It's only when 
it's mplexed into an mpg that there is a problem.  When I created the same 
file in SVCD format it played well there, too.

Anne
- -- 
Registered Linux User No.293302
Have you visited http://twiki.mdklinuxfaq.org yet?
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFBKi7gkFAvMr/nNX8RApilAJoCtXtFoaFSTfWFXUjWRL7r5xwlmQCfZ31y
2A/+5Q6YTOVrzqq5ICBqHt0=
=OX/E
-END PGP SIGNATURE-


---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
Mjpeg-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mjpeg-users


Re: [Mjpeg-users] Too late?

2004-08-23 Thread Anne Wilson
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Monday 23 Aug 2004 17:53, Anne Wilson wrote:
>
> Hang on - I may have found it in the command that created the m2v.  I'll
> get back to you when I've re-done everything.
>
Unfortunately I hadn't found it.  I had originally encoded with 

lav2yuv coda_sound.avi | yuvscaler -O DVD | yuvdenoise | mpeg2enc -f 9 -b 4500 
- -q 7 -4 1 -2 1 -o coda.m2v

which I changed to

lav2yuv coda_sound.avi | yuvscaler -O DVD | yuvdenoise | mpeg2enc -f 8 -q 7 -o 
coda.m2v

but the result is still a stuttering file.  Do I need a -b setting back in?

Anne
- -- 
Registered Linux User No.293302
Have you visited http://twiki.mdklinuxfaq.org yet?
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFBKi9ZkFAvMr/nNX8RAibpAJ4rula7oU5HUPhakc4F2gNAQDCjTACfdSUM
HvmwLECi8cBi0wA4WeKDoy4=
=Ioap
-END PGP SIGNATURE-


---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
Mjpeg-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mjpeg-users


Re: [Mjpeg-users] Too late?

2004-08-23 Thread Anne Wilson
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Monday 23 Aug 2004 16:17, Steven M. Schultz wrote:
> On Mon, 23 Aug 2004, Anne Wilson wrote:
> > I forgot to say that the reason I would try an SVCD was because I had
> > tried playing the mpg back in both xine and totem with the same result. 
> > I suppose
>
>   I'm wondering if it's a soundcard/driver issue ...
>
  It's a Creative Audigy Platinum, and I'm not convinced all is well 
with this alsa driver.

> > Meanwhile, I have tried the SVCD test.  I just do not understand this.
>
>   It's quite easy.
>
> > mplex -f4 coda.m2v coda_soundSVCD.mp2 -o codaSVCD.mpg
>
>   Aieee - but did you RECODE THE VIDEO to SVCD specs?  If not, and it
>
I really shouldn't try these things on days when the brain refuses to work 
properly.

You were quite right, of course.  I've now done the whole thing again for svcd 
and it plays perfectly in totem.  Not a stutter to be heard.  So - we still 
need to find why SCVD will do it properly, but DVD won't.  I have to assume 
that I have set something wrongly, somewhere, so let me try to define the 
commands I've used in the hope that you can spot the problem.  (At least some 
of it is beginning to make sense.  There seem to be a number of parameters 
that people have suggested I should use but I can't find in either the man 
pages or the how-to, so I may be using them inappropriately.)

Hang on - I may have found it in the command that created the m2v.  I'll get 
back to you when I've re-done everything.

Anne
- -- 
Registered Linux User No.293302
Have you visited http://twiki.mdklinuxfaq.org yet?
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFBKiEEkFAvMr/nNX8RAnDyAKCG6AdEkek1PNiY/6hgsTJ8Mlv0PwCeLqO3
HTiMNSv5FGs/OENvnvsBB4I=
=wIJ8
-END PGP SIGNATURE-


---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
Mjpeg-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mjpeg-users


Re: [Mjpeg-users] Too late?

2004-08-23 Thread Steven M. Schultz

On Mon, 23 Aug 2004, Anne Wilson wrote:

> Hi, Steven.  I tried rebuilding the soundtrack, then a new mplex, but I still 
> have stuttering sound.  I've posted the entire output in reply to Selva.  
> Perhaps you could have a look at it and see if it gives you any clues?  

As Selva said "it looks fine".

I'm really beginning to suspect a driver or player decoding issue.
Some MPEG-1 audio decoders, depending what version of gcc was used
to compile them, are known not to work correctly.

Can you play the .mp2 file with something like 'mpg123' or 'mpg321'?
If that works, but xine/mplayer/whatever do not then I'd suspect
the audio decoding in the playing program.

Steven Schultz



---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
Mjpeg-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mjpeg-users


Re: [Mjpeg-users] Too late?

2004-08-23 Thread Steven M. Schultz

On Mon, 23 Aug 2004, Anne Wilson wrote:

> I forgot to say that the reason I would try an SVCD was because I had tried  
> playing the mpg back in both xine and totem with the same result.  I suppose 

I'm wondering if it's a soundcard/driver issue ...

> Meanwhile, I have tried the SVCD test.  I just do not understand this.

It's quite easy.  

> mplex -f4 coda.m2v coda_soundSVCD.mp2 -o codaSVCD.mpg

Aieee - but did you RECODE THE VIDEO to SVCD specs?  If not, and it
does not appear to be the case then:

>INFO: [mplex] Frame width : 720
>INFO: [mplex] Frame height: 576
>INFO: [mplex] Bit rate: 450 bits/sec

720x576 is completely wrong for SVCD.  SVCD uses a 480x576 frame size
and a max bitrate of 2500 kbits/sec

>INFO: [mplex] rough-guess multiplexed stream data rate: 4827544
>INFO: [mplex] target data-rate specified   : 2788800

Way out of specification for SVCD.  "mplex -f4" says you're feeding
mplex SVCD compliant input files - and ~4500kbit/sec 720x576 video
simply does not qualify.

You need to scale and encode to a SVCD .m2v file first - then mplex
will do the right thing.

>INFO: [mplex] Video e0: buf= 235520 frame=00 sector=
>INFO: [mplex] Audio c0: buf=   4096 frame=00 sector=
> ++ WARN: [mplex] Stream e0: data will arrive too late sent(SCR)=591000 
> required(DTS)=591000
> ++ WARN: [mplex] Video e0: buf= 220298 frame=000151 sector=0504
> ++ WARN: [mplex] Audio c0: buf=   2424 frame=000232 sector=0074
> ++ WARN: [mplex] Stream e0: data will arrive too late sent(SCR)=1181400 
> required(DTS)=1181400
> ..
> **ERROR: [mplex] Too many frame drops -exiting

As expected - that's what happens when a 4500kbit/sec stream is
used for a format with a ~2500kbit/sec maximum ;)  Basically it's 
the same problem you were having before.

Try again :-)

Cheers,
Steven Schultz



---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
Mjpeg-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mjpeg-users


Re: [Mjpeg-users] Too late?

2004-08-23 Thread Anne Wilson
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Monday 23 Aug 2004 16:10, Selva Nair wrote:
>
> If you want to make a nonstd svcd with video bitrate of 4500 kbps,
> pass -f 5 to mplex. You can leave out -r option and let mplex
> compute the required bitrate, but if that fails try with -r 4900
> or so. But be warned that most standalone players will not play
> such high bitrate svcd streams correctly.
>
> Selva

Maybe I should just drop that idea.  In the long run I don't want it - I just 
wondered whether it was a way I could test the sound output.  Frankly, doing 
anything non-standard doesn't seem to me a good way to learn ;-)  There's 
enough to learn of the 'right way'

Anne
- -- 
Registered Linux User No.293302
Have you visited http://twiki.mdklinuxfaq.org yet?
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFBKgookFAvMr/nNX8RAnioAJ4zHEeDWWPyfAGMynmAhJFY/4ZizwCglO2C
ZfOJW8H2i5s+EfPCgwTJUBk=
=9yY7
-END PGP SIGNATURE-


---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
Mjpeg-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mjpeg-users


Re: [Mjpeg-users] Too late?

2004-08-23 Thread Selva Nair

Hi Anne,

> I forgot to say that the reason I would try an SVCD was because I had tried  
> playing the mpg back in both xine and totem with the same result.  I suppose 
> I could burn a cd with the file, but for a 2-minute test I didn't want to be 
> bothered. Perhaps I should.

Most dvd players wont play dvd filesystem burned into a cd, so if you
are testing with a CD-R/RW use vcd or svcd profile.

> 
> Meanwhile, I have tried the SVCD test.  I just do not understand this.
> 
> mplex -f4 coda.m2v coda_soundSVCD.mp2 -o codaSVCD.mpg

Your bit rate 4500kbps is far above standard SVCD rate, mplex -f 4
will not work. If you want to make a standard SVCD, use
 mpeg2enc -f 4 -q 8 (later you can experiment with -q value for 
optimal quality).

>INFO: [mplex] mplex version 1.6.2 (2.2.3 $Date: 2004/01/13 20:45:26 $)
>INFO: [mplex] File coda.m2v looks like an MPEG Video stream.
>INFO: [mplex] File coda_soundSVCD.mp2 looks like an MPEG Audio stream.
>INFO: [mplex] Video stream 0: profile 4 selected - ignoring non-standard 
> options!
>INFO: [mplex] Found 1 audio streams and 1 video streams
>INFO: [mplex] Selecting SVCD output profile
>INFO: [mplex] Multiplexing video program stream!
>INFO: [mplex] Scanning for header info: Video stream e0 (coda.m2v)
>INFO: [mplex] VIDEO STREAM: e0
>INFO: [mplex] Frame width : 720
>INFO: [mplex] Frame height: 576
>INFO: [mplex] Aspect ratio: 4:3 display
>INFO: [mplex] Picture rate: 25.000 frames/sec
>INFO: [mplex] Bit rate: 450 bits/sec
>INFO: [mplex] Vbv buffer size : 229376 bytes
>INFO: [mplex] CSPF: 0
>INFO: [mplex] Scanning for header info: Audio stream c0 
> (coda_soundSVCD.mp2)
>INFO: [mplex] MPEG AUDIO STREAM: c0
>INFO: [mplex] Audio version  : 1.0
>INFO: [mplex] Layer  :2
>INFO: [mplex] CRC checksums  :   no
>INFO: [mplex] Bit rate   :28672 bytes/sec (224 kbit/sec)
>INFO: [mplex] Frequency  : 44100 Hz
>INFO: [mplex] Mode   :0 stereo
>INFO: [mplex] Mode extension :0
>INFO: [mplex] Copyright bit  :0 no copyright
>INFO: [mplex] Original/Copy  :0 copy
>INFO: [mplex] Emphasis   :0 none
>INFO: [mplex] SYSTEMS/PROGRAM stream:
>INFO: [mplex] rough-guess multiplexed stream data rate: 4827544
>INFO: [mplex] target data-rate specified   : 2788800

The target data rate is fixed by -f 4 to svcd limit but the actual bitrate
of your stream is much larger.

> ++ WARN: [mplex] Target data rate lower than computed requirement!
> ++ WARN: [mplex] N.b. a 20% or so discrepancy in variable bit-rate
> ++ WARN: [mplex] streams is common and harmless provided no time-outs will 
> occur
>INFO: [mplex] Run-in Sectors = 78 Video delay = 46800 Audio delay = 50400
>INFO: [mplex] New sequence commences...
>INFO: [mplex] Video e0: buf= 235520 frame=00 sector=
>INFO: [mplex] Audio c0: buf=   4096 frame=00 sector=
> ++ WARN: [mplex] Stream e0: data will arrive too late sent(SCR)=591000 
> required(DTS)=591000
> ++ WARN: [mplex] Video e0: buf= 220298 frame=000151 sector=0504
> ++ WARN: [mplex] Audio c0: buf=   2424 frame=000232 sector=0074
> ++ WARN: [mplex] Stream e0: data will arrive too late sent(SCR)=1181400 
> required(DTS)=1181400
> ..
> **ERROR: [mplex] Too many frame drops -exiting

If you want to make a nonstd svcd with video bitrate of 4500 kbps,
pass -f 5 to mplex. You can leave out -r option and let mplex
compute the required bitrate, but if that fails try with -r 4900
or so. But be warned that most standalone players will not play
such high bitrate svcd streams correctly.

Selva




---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
Mjpeg-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mjpeg-users


Re: [Mjpeg-users] Too late?

2004-08-23 Thread Anne Wilson
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Monday 23 Aug 2004 15:29, Selva Nair wrote:
> The video and and audio matches well, the minor difference
> in length may be due to padding of audio packets. All other
> parameters also look right.
>
> Probably something wrong with your mpeg2 player?
>
I forgot to say that the reason I would try an SVCD was because I had tried  
playing the mpg back in both xine and totem with the same result.  I suppose 
I could burn a cd with the file, but for a 2-minute test I didn't want to be 
bothered. Perhaps I should.

Meanwhile, I have tried the SVCD test.  I just do not understand this.

mplex -f4 coda.m2v coda_soundSVCD.mp2 -o codaSVCD.mpg
   INFO: [mplex] mplex version 1.6.2 (2.2.3 $Date: 2004/01/13 20:45:26 $)
   INFO: [mplex] File coda.m2v looks like an MPEG Video stream.
   INFO: [mplex] File coda_soundSVCD.mp2 looks like an MPEG Audio stream.
   INFO: [mplex] Video stream 0: profile 4 selected - ignoring non-standard 
options!
   INFO: [mplex] Found 1 audio streams and 1 video streams
   INFO: [mplex] Selecting SVCD output profile
   INFO: [mplex] Multiplexing video program stream!
   INFO: [mplex] Scanning for header info: Video stream e0 (coda.m2v)
   INFO: [mplex] VIDEO STREAM: e0
   INFO: [mplex] Frame width : 720
   INFO: [mplex] Frame height: 576
   INFO: [mplex] Aspect ratio: 4:3 display
   INFO: [mplex] Picture rate: 25.000 frames/sec
   INFO: [mplex] Bit rate: 450 bits/sec
   INFO: [mplex] Vbv buffer size : 229376 bytes
   INFO: [mplex] CSPF: 0
   INFO: [mplex] Scanning for header info: Audio stream c0 
(coda_soundSVCD.mp2)
   INFO: [mplex] MPEG AUDIO STREAM: c0
   INFO: [mplex] Audio version  : 1.0
   INFO: [mplex] Layer  :2
   INFO: [mplex] CRC checksums  :   no
   INFO: [mplex] Bit rate   :28672 bytes/sec (224 kbit/sec)
   INFO: [mplex] Frequency  : 44100 Hz
   INFO: [mplex] Mode   :0 stereo
   INFO: [mplex] Mode extension :0
   INFO: [mplex] Copyright bit  :0 no copyright
   INFO: [mplex] Original/Copy  :0 copy
   INFO: [mplex] Emphasis   :0 none
   INFO: [mplex] SYSTEMS/PROGRAM stream:
   INFO: [mplex] rough-guess multiplexed stream data rate: 4827544
   INFO: [mplex] target data-rate specified   : 2788800
++ WARN: [mplex] Target data rate lower than computed requirement!
++ WARN: [mplex] N.b. a 20% or so discrepancy in variable bit-rate
++ WARN: [mplex] streams is common and harmless provided no time-outs will 
occur
   INFO: [mplex] Run-in Sectors = 78 Video delay = 46800 Audio delay = 50400
   INFO: [mplex] New sequence commences...
   INFO: [mplex] Video e0: buf= 235520 frame=00 sector=
   INFO: [mplex] Audio c0: buf=   4096 frame=00 sector=
++ WARN: [mplex] Stream e0: data will arrive too late sent(SCR)=591000 
required(DTS)=591000
++ WARN: [mplex] Video e0: buf= 220298 frame=000151 sector=0504
++ WARN: [mplex] Audio c0: buf=   2424 frame=000232 sector=0074
++ WARN: [mplex] Stream e0: data will arrive too late sent(SCR)=1181400 
required(DTS)=1181400
..
**ERROR: [mplex] Too many frame drops -exiting

What am I doing wrong now?  I'm sorry I'm taking up so much list time, but I 
do appreciate all the help given to me.

Anne
- -- 
Registered Linux User No.293302
Have you visited http://twiki.mdklinuxfaq.org yet?
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFBKgMbkFAvMr/nNX8RAqZgAKCbLV9TGkxQakVmEhazUibsLszQzACfQjlM
ut2woB2+yqbHrqYmUERiAAE=
=/jtR
-END PGP SIGNATURE-


---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
Mjpeg-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mjpeg-users


Re: [Mjpeg-users] Too late?

2004-08-23 Thread Anne Wilson
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Monday 23 Aug 2004 15:29, Selva Nair wrote:
> Hi Anne,
>
>   I cant see anything obviously wrong with your mplex output.
>
> On Mon, 23 Aug 2004, Anne Wilson wrote:
> > I just don't get it, Selva. I've rebuilt the soundtrack then mplexed it
> > again, and I still have stuttering sound.  I'm posting the entire output
> > of mplex, in case it gives you any clues:
> >
> > mplex -f8 coda.m2v coda_sound.mp2 -o coda.mpg
> >
> >INFO: [mplex] No. Pictures: 2909
>
> 2909 frames/ 25fps = 116.36 seconds of video
>
> >INFO: [mplex] Audio stream length 3258528 bytes.
>
> 3258528*8bits/(224 kbits/sec) = 116.37 seconds of audio
>
> >INFO: [mplex] Syncwords  : 4849
> >INFO: [mplex] Frames : 4849 padded
> >INFO: [mplex] Frames :0 unpadded
> >INFO: [mplex] BUFFERING min 15 Buf max 683
> >INFO: [mplex] MUX STATUS: no under-runs detected.
>
> The video and and audio matches well, the minor difference
> in length may be due to padding of audio packets. All other
> parameters also look right.
>
> Probably something wrong with your mpeg2 player?
>
I don't know what to think, Selva.  I'll try to create an SVCD version and see 
whether that runs OK, but if I can't find the cause of the problem I'm 
scuppered, as the whole point of the exercise was to use this sequence to 
close out a video session that ended too abruptly.

Anne
- -- 
Registered Linux User No.293302
Have you visited http://twiki.mdklinuxfaq.org yet?
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (GNU/Linux)

iD4DBQFBKgD+kFAvMr/nNX8RAifAAJdexqTRM5pDGH2mLH/hxD5qId5KAJ40crNt
jAUqXEujautylXAd6UHpuw==
=qa7e
-END PGP SIGNATURE-


---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
Mjpeg-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mjpeg-users


Re: [Mjpeg-users] Too late?

2004-08-23 Thread Selva Nair

Hi Anne,

  I cant see anything obviously wrong with your mplex output. 


On Mon, 23 Aug 2004, Anne Wilson wrote:

> I just don't get it, Selva. I've rebuilt the soundtrack then mplexed it again, 
> and I still have stuttering sound.  I'm posting the entire output of mplex, 
> in case it gives you any clues:
> 
> mplex -f8 coda.m2v coda_sound.mp2 -o coda.mpg

>INFO: [mplex] No. Pictures: 2909

2909 frames/ 25fps = 116.36 seconds of video

>INFO: [mplex] Audio stream length 3258528 bytes.

3258528*8bits/(224 kbits/sec) = 116.37 seconds of audio
 
>INFO: [mplex] Syncwords  : 4849
>INFO: [mplex] Frames : 4849 padded
>INFO: [mplex] Frames :0 unpadded
>INFO: [mplex] BUFFERING min 15 Buf max 683
>INFO: [mplex] MUX STATUS: no under-runs detected.

The video and and audio matches well, the minor difference 
in length may be due to padding of audio packets. All other
parameters also look right.

Probably something wrong with your mpeg2 player? 

Selva






---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
Mjpeg-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mjpeg-users


Re: [Mjpeg-users] Too late?

2004-08-23 Thread Anne Wilson
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Sunday 22 Aug 2004 20:38, Steven M. Schultz wrote:
>
>   It's not mpeg2enc (or mplex) that is encoding the audio.
>
>   I believe you used 'mp2enc' to encode the audio - you may have
>   either specified "mp2enc -V ..." or simply defaulted the sampling rate
>   (and the default is 44100).  The default is a carryover from the
>   VCD/SVCD era.  That generates VCD compatible audio which is not
>   suitable for DVD use.  What you really needed was "-r 48000" so
>   that mp2enc would encode at the 48000 sampling rate.  Perhaps today
>   the default sampling rate in mp2enc should be changed now that DVD
>   creation has become more popular.
>
Hi, Steven.  I tried rebuilding the soundtrack, then a new mplex, but I still 
have stuttering sound.  I've posted the entire output in reply to Selva.  
Perhaps you could have a look at it and see if it gives you any clues?  
Thanks

Anne
- -- 
Registered Linux User No.293302
Have you visited http://twiki.mdklinuxfaq.org yet?
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFBKbY7kFAvMr/nNX8RAnJ8AJ9LYphTAg0yZg4U9qObGN4vgMH4kACfXbtA
+BzVCzDBA+8Y6Ktm54cdxt4=
=Rzl3
-END PGP SIGNATURE-


---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
Mjpeg-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mjpeg-users


Re: [Mjpeg-users] Too late?

2004-08-23 Thread Anne Wilson
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Sunday 22 Aug 2004 22:24, Selva Nair wrote:
> On Sun, 22 Aug 2004, Anne Wilson wrote:
> > Hi, Selva.  That went through without a hicough, thanks, but the
> > soundtrack is terrible in both xine and totem.  It drops out all over. 
> > Any idea what might have caused that?
>
> Could be that your sound track is sampled at 44100 but xine expects 48000
> when you playing it as a dvd stream. mp2enc defaults to 44100, so
> you may want to try
>
> lav2wav coda.avi | mp2enc -r 48000 -o coda.mp2
>
> I think xine can play generic mpeg2 with sound sampled at non-dvd rates,
> so your problem could be something else.
>
I just don't get it, Selva. I've rebuilt the soundtrack then mplexed it again, 
and I still have stuttering sound.  I'm posting the entire output of mplex, 
in case it gives you any clues:

mplex -f8 coda.m2v coda_sound.mp2 -o coda.mpg
   INFO: [mplex] mplex version 1.6.2 (2.2.3 $Date: 2004/01/13 20:45:26 $)
   INFO: [mplex] File coda.m2v looks like an MPEG Video stream.
   INFO: [mplex] File coda_sound.mp2 looks like an MPEG Audio stream.
   INFO: [mplex] Video stream 0: profile 8 selected - ignoring non-standard 
opti
ons!
   INFO: [mplex] Found 1 audio streams and 1 video streams
   INFO: [mplex] Selecting dvdauthor DVD output profile
   INFO: [mplex] Multiplexing video program stream!
   INFO: [mplex] Scanning for header info: Video stream e0 (coda.m2v)
   INFO: [mplex] VIDEO STREAM: e0
   INFO: [mplex] Frame width : 720
   INFO: [mplex] Frame height: 576
   INFO: [mplex] Aspect ratio: 4:3 display
   INFO: [mplex] Picture rate: 25.000 frames/sec
   INFO: [mplex] Bit rate: 450 bits/sec
   INFO: [mplex] Vbv buffer size : 229376 bytes
   INFO: [mplex] CSPF: 0
   INFO: [mplex] Scanning for header info: Audio stream c0 (coda_sound.mp2)
   INFO: [mplex] MPEG AUDIO STREAM: c0
   INFO: [mplex] Audio version  : 1.0
   INFO: [mplex] Layer  :2
   INFO: [mplex] CRC checksums  :   no
   INFO: [mplex] Bit rate   :28672 bytes/sec (224 kbit/sec)
   INFO: [mplex] Frequency  : 48000 Hz
   INFO: [mplex] Mode   :0 stereo
   INFO: [mplex] Mode extension :0
   INFO: [mplex] Copyright bit  :0 no copyright
   INFO: [mplex] Original/Copy  :0 copy
   INFO: [mplex] Emphasis   :0 none
   INFO: [mplex] SYSTEMS/PROGRAM stream:
   INFO: [mplex] rough-guess multiplexed stream data rate: 4827544
   INFO: [mplex] target data-rate specified   : 1008
   INFO: [mplex] Setting specified specified data rate: 1008
   INFO: [mplex] Run-in Sectors = 89 Video delay = 13019 Audio delay = 16619
   INFO: [mplex] New sequence commences...
   INFO: [mplex] Video e0: buf= 237568 frame=00 sector=
   INFO: [mplex] Audio c0: buf=   4096 frame=00 sector=
   INFO: [mplex] Scanned to end AU 2909
   INFO: [mplex] STREAM e0 completed @ frame 2909.
   INFO: [mplex] STREAM c0 completed @ frame 4848.
   INFO: [mplex] Multiplex completion at SCR=10482102.
   INFO: [mplex] Video e0: buf= 237221 frame=002909 sector=00011636
   INFO: [mplex] Audio c0: buf=   2080 frame=004848 sector=1614
   INFO: [mplex] VIDEO_STATISTICS: e0
   INFO: [mplex] Video Stream length:23449067 bytes
   INFO: [mplex] Sequence headers:  195
   INFO: [mplex] Sequence ends   :1
   INFO: [mplex] No. Pictures: 2909
   INFO: [mplex] No. Groups  :  195
   INFO: [mplex] No. I Frames:  195 avg. size 65785 bytes
   INFO: [mplex] No. P Frames: 2715 avg. size  3911 bytes
   INFO: [mplex] No. B Frames:0 avg. size 0 bytes
   INFO: [mplex] Average bit-rate :  1611600 bits/sec
   INFO: [mplex] Peak bit-rate:  4958000  bits/sec
   INFO: [mplex] BUFFERING min 16 Buf max 219900
   INFO: [mplex] AUDIO_STATISTICS: c0
   INFO: [mplex] Audio stream length 3258528 bytes.
   INFO: [mplex] Syncwords  : 4849
   INFO: [mplex] Frames : 4849 padded
   INFO: [mplex] Frames :0 unpadded
   INFO: [mplex] BUFFERING min 15 Buf max 683
   INFO: [mplex] MUX STATUS: no under-runs detected.

Anne
- -- 
Registered Linux User No.293302
Have you visited http://twiki.mdklinuxfaq.org yet?
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFBKbXGkFAvMr/nNX8RAnPtAJ41/RhG5c4zEwrvnfoikH08bMZY1wCdGAMi
lZx46ev8hPZVkQHHKU42mq0=
=dHWg
-END PGP SIGNATURE-


---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
Mjpeg-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mjpeg-users