[Mjpeg-users] How to use the "-S" option of mplex?
Hello, I use this: mplex -f 8 -S 400 -o name%d.mpg "001.mp*" to mux files together, but I alwasy get 2 Gb files :-( Any idea on how to use this option? Thank you very much and please CC to me as I am not on this ml!!! Grégoire http://ulima.unil.ch/greg ICQ:16624071 mailto:[EMAIL PROTECTED] --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ___ Mjpeg-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/mjpeg-users
Re: [Mjpeg-users] How to use the "-S" option of mplex?
On Sun, Jan 05, 2003 at 07:32:40AM +0100, Bernhard Praschinger wrote: Good morming ;-) > > mplex -f 8 -S 400 -o name%d.mpg "001.mp*" > > to mux files together, but I alwasy get 2 Gb files :-( > That is a correct behavior of mplex. > > > Any idea on how to use this option? > man mplex Well, do you really think I haddn't? I am too stupid to understand how to use the -S option: -S|--max-segment-size num This option specifies the maximum size of output files in MBytes (2^10). The default is 2000 Mbytes (splitting output before 2G limits can hit). When the limit is reached a new file is started. So what's wrong with my -S 400? I am a little bit disapointed by this answer :-( Please CC to me as I am not in this ml, thank you very much, Grégoire http://ulima.unil.ch/greg ICQ:16624071 mailto:[EMAIL PROTECTED] --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ___ Mjpeg-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/mjpeg-users
Re: [Mjpeg-users] How to use the "-S" option of mplex?
On Sun, Jan 05, 2003 at 12:49:12PM +0100, Andrew Stevens wrote: > Sounds like your using an older version. There was a bug where the size for > -f 8 was effectively hard-wired to 2GB. > > This is certainly fixed in the development version and I think I also merged > in the (1 line) fix into the 1.6.1 stable release. Well, no, mplex gives me: mjpegtools mplex version 1.6.1 Usage: mplex [params] -o ... Prior to that, I was using version 1.6.0 with same result. Thank you for your answer ;-) Please keep CC to me as I am not on this ml!!! Grégoire http://ulima.unil.ch/greg ICQ:16624071 mailto:[EMAIL PROTECTED] --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ___ Mjpeg-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/mjpeg-users
Re: [Mjpeg-users] How to use the "-S" option of mplex?
On Sun, Jan 05, 2003 at 12:13:13PM +0100, Bernhard Praschinger wrote: > With that information I cannot exactly tell. I know that it works on my > machine with 100MB (I have no stream with more than 400 MB lying > around). > The only differnce I see with the information you reveal is that you do > not specifie each stream. That might be a differnece. > Try to specifie the audio and video stream: > mplex -f 8 -S 400 audio.mp2 video.m2v -o dvd%d.mpg Well, I have tried exactly that: mplex -f 8 -S 400 /video2/001.mp2 -o dvd%d.mpg INFO: [mplex] mplex version 2.2.1 ($Date: 2002/02/04 19:06:14 $) INFO: [mplex] File /video2/001.mp2 looks like an MPEG Audio stream. INFO: [mplex] File /video2/001.mpv looks like an MPEG Video stream. INFO: [mplex] Found 1 video streams 1 MPEG audio streams and 0 AC3 streams INFO: [mplex] Selecting DVD output profile (INCOMEPLETE) INFO: [mplex] Scanning for header info: Video stream e0 (/video2/001.mpv) 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: 7766400 bits/sec INFO: [mplex] Vbv buffer size : 229376 bytes INFO: [mplex] CSPF: 0 INFO: [mplex] Scanning for header info: Audio stream c0 (/video2/001.mp2) INFO: [mplex] AUDIO STREAM: INFO: [mplex] Audio version : 1.0 INFO: [mplex] Layer :3 INFO: [mplex] CRC checksums : yes INFO: [mplex] Bit rate :32768 bytes/sec (256 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: 8158800 INFO: [mplex] target data-rate specified : 1008 INFO: [mplex] Setting specified specified data rate: 1008 INFO: [mplex] Sectors = 89 Video delay = 13019 Audio delay = 13019 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 147456 INFO: [mplex] STREAM e0 completed @ 147456. INFO: [mplex] STREAM c0 completed @ 245761. INFO: [mplex] Multiplex completion at SCR=530850523. INFO: [mplex] Video e0: buf= 193052 frame=147456 sector=01420140 INFO: [mplex] Audio c0: buf= 1792 frame=245761 sector=00093439 INFO: [mplex] VIDEO_STATISTICS: e0 INFO: [mplex] Video Stream length: 357844096 bytes INFO: [mplex] Sequence headers:12724 INFO: [mplex] Sequence ends :1 INFO: [mplex] No. Pictures: 147457 INFO: [mplex] No. Groups :12724 INFO: [mplex] No. I Frames:12724 avg. size 43477 bytes INFO: [mplex] No. P Frames:36429 avg. size 23466 bytes INFO: [mplex] No. B Frames:98304 avg. size 14797 bytes INFO: [mplex] No. D Frames:0 avg. size 0 bytes INFO: [mplex] Average bit-rate : 3882800 bits/sec INFO: [mplex] Peak bit-rate: 699 bits/sec INFO: [mplex] BUFFERING min 15 Buf max 134306 INFO: [mplex] AUDIO_STATISTICS: c0 INFO: [mplex] Audio stream length 188745216 bytes. INFO: [mplex] Syncwords : 245762 INFO: [mplex] Frames : 245762 padded INFO: [mplex] Frames :0 unpadded INFO: [mplex] BUFFERING min 15 Buf max 779 INFO: [mplex] INFO: [mplex] MUX STATUS: no under-runs detected. And the first files is 2.0Gb and the second 900Mb :-( > For more help you need to give more information. Starting with the > version of the mjpeg tools you use, the commands used, the filesizes. I use mjpeg 1.6.1, the command I alreday gives several times, the filesizes are a lots different from time to time, here: -rw-r--r--1 greg greg 181M Jan 5 12:19 /video2/001.mp2 -rw-r--r--1 greg greg 2.7G Jan 5 12:19 /video2/001.mpv > And why you want to split a DVD stream into pices. I have the strange > feeling that you are trying something not suitable or not allowed for > DVD. Because, I use this to create a DVD: ifogen -o /video2/tmp/VIDEO_TS/VTS "mpeg_files" tocgen /video2/tmp/VIDEO_TS And if the mpeg files are smaller I got more chapters ;-) If you know other way to make DVD under linux, I would enjoy to know about that way, and I like to have some chapters in my DVD (made with recordings from VDR). Thank you very much for all help, and please keep CC to me as I am not on this ml ;-) Have a great day, Grégoire http://ulima.unil.ch/greg ICQ:16624071 mailto:[EMAIL PROTECTED] ---
Re: [Mjpeg-users] How to use the "-S" option of mplex?
On Sun, Jan 05, 2003 at 06:09:33PM +0100, Bernhard Praschinger wrote: > The CVS Version I use is a bit newer. Then I should take the CVS also ;-) And voila, that's it!!! > If you want more chapters, you should create more editlistfiles. And > encode more steams instead of that spliting. Spliting the video with > that option into pieces is not the best solution. Well, the DVD I made with small .vdr files that I demuxed with ds.jar (java) and muxed with mplex -f 8 and then ifogen, tocgen are just perfect, at least on my PC (mplayer, VDR), one iMac (OSX) and one my standalone DVD player ;-) > At least on my system I get after the first part that message: > > WARN: Skipping sector, waiting for first VOBU... > I get this messages on every start of such a split part. (Using > dvdauthor 0.3.1) Never seen this message ;-) > Which means that dvdauthor is dropping audio frames (you find in the > dvdauthor mailinglist archive why) . I heard after every start of every > part except the first part a short time silence. Maybe you HW player > handles that problem better. Or maybe my files are really OK so? I should maybe then make files of no limit size? Because I got lots of files to MUX bigger than 2 Gb... And learn how to make editlistfiles... > When I use several files that were not split that way, I do not hear > that probelm, and the meassage does not appear to. Thank you very much, Grégoire http://ulima.unil.ch/greg ICQ:16624071 mailto:[EMAIL PROTECTED] --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ___ Mjpeg-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/mjpeg-users
[Mjpeg-users] How to make mpeg files for DVD creation?
Hello, i reccord data with VDR: http://www.cadsoft.de/people/kls/vdr/download.htm And then, I demux the recording with ds.jar: http://home.arcor.de/matt2/dvb.matt/ It gives me one video file and one file per audio tracks (most of the time just one). After that, using mplex, I mux the files together, if I split it using the -S option, dvdauthor: http://dvdauthor.sourceforge.net/ finds errors in the second file (and without the -S as there is a 2Gb limit, I also get errors...on following files) (I use -f 8, -f 9 only gives errors...). Is there a way to have "real" split? Thank you very much and have a great day, Grégoire http://ulima.unil.ch/greg ICQ:16624071 mailto:[EMAIL PROTECTED] --- This SF.NET email is sponsored by: SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! http://www.vasoftware.com ___ Mjpeg-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/mjpeg-users
Re: [Mjpeg-users] How to make mpeg files for DVD creation?
On Tue, Jan 07, 2003 at 09:58:52AM -0500, Selva Nair wrote: > As you mention -f 9, I guess you are using mplex from cvs. Have you > tried the stable version (1.6.x) with the patch for fixing -S that > I sent you the otherday? It works fine for me. Yes I have... without success... Thank you very much, Grégoire http://ulima.unil.ch/greg ICQ:16624071 mailto:[EMAIL PROTECTED] --- This SF.NET email is sponsored by: SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! http://www.vasoftware.com ___ Mjpeg-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/mjpeg-users
Re: [Mjpeg-users] How to make mpeg files for DVD creation?
On Tue, Jan 07, 2003 at 04:47:09PM +0100, Bernhard Praschinger wrote: > So you have a digital Sat Card, and have on your disk that digial MPEG2 > Broadcast stream ? Yes I have such cards ;-) And no, it's not real MPEG2, I don't know exactly what it is... > Are you soure that the D-Sat broadcast is DVD compatibel ? No: it depends on the resolution, but I don't care: my Imac, my PC and my standalone DVD player are happy with all res ;-) > I'm not soure because D-Sat allowes a higher bitrate than DVD. Well ??? > > Is there a way to have "real" split? I found the solution: mplex, and then cat all muxed files together (OK, I would prefer without the 2Gb limit, but it's a solutions) ;-) > Decode the files to mjpeg avi, split it using glav/lavplay, reencode > them. Well, why should I do so? Now the only remaining problem is to make real chapter... I could already split my VDR (Video Disk Recorder) files and demux, then remux each other, but I would like something automatic ;-) > As mentioned in mails long time ago, mpeg is a format where you cannot > glue streams together or cut it into pieces without problems. Then I should be happy that's everything works just that way ;-) > PS: I've not forgotten you other mail's. ;) (answering them soon) Thank you very much, and no more need to CC to me ;-) Grégoire http://ulima.unil.ch/greg ICQ:16624071 mailto:[EMAIL PROTECTED] --- This SF.NET email is sponsored by: SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! http://www.vasoftware.com ___ Mjpeg-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/mjpeg-users
Re: [Mjpeg-users] How to make mpeg files for DVD creation?
On Tue, Jan 07, 2003 at 05:17:41PM +0100, Wolfgang Goeller wrote: > Thanks to your email I finally got ds.jar - that was the > tool I missed. Yes, great tool, prior of that, I used cPVA with wine... I don't know if it would be possible to compil this .jar (I don't know anything in JAVA...)? > I think of two tools. > The one is fast, based on GOP - limits and the first > few pictures after each split are bad. Well, then it's the same as mplex... no use for me :-( > The second is great but time-consuming: transcode Yes, you could say, I used it, but it's really long, and all I want it to store my recordings on DVD in an easy way... and fast enough... So I really shall learn how to make chapter out of a mpeg files on a DVD... dvdauthor gets better and better at each new version, so I'll certainly be happier and happier ;-) Thank you very much, Grégoire http://ulima.unil.ch/greg ICQ:16624071 mailto:[EMAIL PROTECTED] --- This SF.NET email is sponsored by: SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! http://www.vasoftware.com ___ Mjpeg-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/mjpeg-users
[Mjpeg-users] Prepare files for ifogen (size)?
Hello, as mplex can't split files in a suitable way for ifogen, I have joined my files, and I have lots of files bigger than 2Gb, and when I try to create a DVD with such files: ifogen -o /video2/tmp/VIDEO_TS/VTS --next-vts file.mpg STAT: Picking VTS 04 STAT: Processing file.mpg ERR: Error opening file.mpg: File too large Exit 1 Any idea on what is to be done? Thank you very much, Grégoire http://ulima.unil.ch/greg ICQ:16624071 mailto:[EMAIL PROTECTED] --- This SF.NET email is sponsored by: Thawte.com - A 128-bit supercerts will allow you to extend the highest allowed 128 bit encryption to all your clients even if they use browsers that are limited to 40 bit encryption. Get a guide here:http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0030en ___ Mjpeg-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/mjpeg-users
Re: [Mjpeg-users] Prepare files for ifogen (size)?
Hello Markus ;-) Tremendous: adding -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE effectively make it working also for me !!! Thank you very much, Grégoire http://ulima.unil.ch/greg ICQ:16624071 mailto:[EMAIL PROTECTED] --- This SF.NET email is sponsored by: Thawte.com - A 128-bit supercerts will allow you to extend the highest allowed 128 bit encryption to all your clients even if they use browsers that are limited to 40 bit encryption. Get a guide here:http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0030en ___ Mjpeg-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/mjpeg-users
Re: [Mjpeg-users] Video-encoding questions (mostly DVD related)
On Sun, Jan 19, 2003 at 07:36:08AM +0100, Bernhard Praschinger wrote: Hello ;-) > As I wrote in the mail shortly before you should not use the -M switch > (or any other spliting by mplex). If you multiplex a DVD the -M switch > was deactivated because it generated several files. The -M option does > not generate valid MPEG streams. > > You should use the -S -B option of mpeg2enc for spliting videos. Does that mean I could split some of my really big mpeg2 files with that option (I don't want to recode it...)? Thank you very much, Grégoire http://ulima.unil.ch/greg ICQ:16624071 mailto:[EMAIL PROTECTED] --- This SF.NET email is sponsored by: FREE SSL Guide from Thawte are you planning your Web Server Security? Click here to get a FREE Thawte SSL guide and find the answers to all your SSL security issues. http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0026en ___ Mjpeg-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/mjpeg-users
Re: [Mjpeg-users] Video-encoding questions (mostly DVD related)
On Sun, Jan 19, 2003 at 02:53:40PM +0100, Bernhard Praschinger wrote: > When you encode the video you should use the -S -B option. Then mplex > will split the file when multiplexing into pices with a correct start > and end. As there is no -B option in the released mplex, I assume you are talking about the CVS... I can't compil it on my computer, but on another, mplex still has no -B option??? I don't use any encoding tools: I record directly in mpeg2 format and I demux with ds.jar, and use mplex to mux the files together ;-) Wouldn't it be easyer to add an option to mplex like this: mplex -f 8 -B -S 400 -o file%02d.mpg /video2/*.* Or is there a way to split correctly after? Thank you very much, Grégoire http://ulima.unil.ch/greg ICQ:16624071 mailto:[EMAIL PROTECTED] --- This SF.NET email is sponsored by: FREE SSL Guide from Thawte are you planning your Web Server Security? Click here to get a FREE Thawte SSL guide and find the answers to all your SSL security issues. http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0026en ___ Mjpeg-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/mjpeg-users
[Mjpeg-users] How to "split"?
Hello, I have recorded some "movies" which are a following suites, each movies are about each 2.4Gb (I have those as mpg files from mplex -f) and I want to backup those on DVD. The total files sizes is 12868 Mb so what I would really like is to obtain a split in three part to make 3 DVD out of it, but how? And if possible, I would love to be able to repeat the last 10 seconds of end of part one at beginning of part two, and same for 2 - 3... Thank you very much, Grégoire http://ulima.unil.ch/greg ICQ:16624071 mailto:[EMAIL PROTECTED] --- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ ___ Mjpeg-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/mjpeg-users