> Ok, "generic MPEG-1" at a 1Mb/s rate. That does seem a bit low > for 800x600.
Should I raise it? > Ah, so the video is for "computer playback" only. That's not a > framesize that is suitable for VCD/DVD use (and MP3 audio couldn't be used for (S)VCD or DVD) Right! I am trying to get the playback using SMPEG for the SDL library. I have tested with some mpeg files off the net and the player works fine my issues has been mainly associated with the audio. I am trying to record a voice over for the video using audacity, I have some posts going on in that mailing list as well. Anyway, getting mp3 out of audacity properly was a problem so I exported as a WAV and then used cinelerra to render the video and audio into the final(.m1v and .mp3) files. I have used mplex for smaller video files and existing mp3 files on my system with the above method and it worked fine (for nothing longer than 30s to 1min). Anyway, I am thinking that the problem has to do with audio. But, I do not know enough to really make that statement. Also, is there a way that I can mplex using a null audio source? > > mplex -f 0 -r 1200 -o 3mintest.mpg final.m1v final.mp3 > > should work better. What is needed is the "-r" option that is the sum of the audio and video bitrates plus a little extra to account for overhead and peaks. If you still get an underrun error or two try bumping up the value used with -r to 1300. I tried both 1200 and 1300 no luck... The bit rate for the mp3 is interesting becuase I thought it was rendered as 256(Kbs), Thoughts? The relivant output: $ mplex -f 0 -r 1300 -o 3mintest.mpg final.m1v final.mp3 INFO: [mplex] mplex version 1.6.2 (2.2.3 $Date: 2004/01/13 20:45:26 $) INFO: [mplex] File final.m1v looks like an MPEG Video stream. INFO: [mplex] File final.mp3 looks like an MPEG Audio stream. INFO: [mplex] Found 1 audio streams and 1 video streams INFO: [mplex] Selecting generic MPEG1 output profile INFO: [mplex] Multiplexing video program stream! INFO: [mplex] Scanning for header info: Video stream e0 (final.m1v) INFO: [mplex] VIDEO STREAM: e0 INFO: [mplex] Frame width : 800 INFO: [mplex] Frame height : 600 INFO: [mplex] Aspect ratio : 1:0.6735 INFO: [mplex] Picture rate : b reserved INFO: [mplex] Bit rate : 1000000 bits/sec INFO: [mplex] Vbv buffer size : 1222656 bytes INFO: [mplex] CSPF : 0 INFO: [mplex] Scanning for header info: Audio stream c0 (final.mp3) INFO: [mplex] MPEG AUDIO STREAM: c0 INFO: [mplex] Audio version : 1.0 INFO: [mplex] Layer : 3 INFO: [mplex] CRC checksums : no INFO: [mplex] Bit rate : 16384 bytes/sec (128 kbit/sec) INFO: [mplex] Frequency : 48000 Hz INFO: [mplex] Mode : 1 joint stereo INFO: [mplex] Mode extension : 2 INFO: [mplex] Copyright bit : 0 no copyright INFO: [mplex] Original/Copy : 1 original INFO: [mplex] Emphasis : 0 none INFO: [mplex] SYSTEMS/PROGRAM stream: INFO: [mplex] rough-guess multiplexed stream data rate : 1155496 INFO: [mplex] target data-rate specified : 1300000 INFO: [mplex] Setting specified specified data rate: 1300000 INFO: [mplex] Run-in Sectors = 21 Video delay = 23819 Audio delay = 27419 INFO: [mplex] New sequence commences... INFO: [mplex] Video e0: buf= 47104 frame=000000 sector=00000000 INFO: [mplex] Audio c0: buf= 4096 frame=000000 sector=00000000 INFO: [mplex] Padding : sector=00000000 ++ WARN: [mplex] Stream e0: data will arrive too late sent(SCR)=23819 required(DTS)=23819 ... ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Mjpeg-users mailing list Mjpeg-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mjpeg-users