Hello,
I try to build a mpeg file as a dvdauthor input (I am a beginner).
So I transform each image as m2v file
(q1.m2v
Mpeg 2 Video File
Estimated Duration: 00.45s
Aspect ratio 4/3 (TV)
Interlaced, chroma format: 4:2:0
Video Format: PAL
Size [720 x 576] 25.00 fps 7.50 Mbps
)
cat q1.ppm | ppmtoy4m -n50 -F25:1 -A59:54 -I p -r -S 420mpeg2 |
mpeg2enc -n p -f8 -b7500 -a2 -I 0 -o q1.m2v
cat q2.ppm | ppmtoy4m -n50 -F25:1 -A59:54 -I p -r -S 420mpeg2 |
mpeg2enc -n p -f8 -b7500 -a2 -I 0 -o q2.m2v
Then I build a audio file
ffmpeg -ab 224 -ar 48000 -ac 1 -t 4 -i soung.mp3 menu_audio.ac3
Then I put together the different part of the movie (mpgjoin)
mpgtx -j q1.m2v q2.m2v -o joined.m2v
And I convert the element to be compatible with the dvdauthor tool (I
think it it the -f8 argument).
mplex -f8 -o firstplay.mpg joined.m2v menu_audio.ac3
INFO: [mplex] mplex version 1.8.0 (2.2.4 $Date: 2005/08/28 17:50:54 $)
INFO: [mplex] File joined.m2v looks like an MPEG Video stream.
INFO: [mplex] File menu_audio.ac3 looks like an AC3 Audio stream.
INFO: [mplex] Video stream 0: profile 8 selected - ignoring
non-standard options!
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 (joined.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 : 7500000 bits/sec
INFO: [mplex] Vbv buffer size : 229376 bytes
INFO: [mplex] CSPF : 0
INFO: [mplex] Scanning for header info: AC3 Audio stream 00
(menu_audio.ac3)
INFO: [mplex] AC3 frame size = 974
INFO: [mplex] AC3 AUDIO STREAM:
INFO: [mplex] Bit rate : 28672 bytes/sec (224 kbit/sec)
INFO: [mplex] Frequency : 44100 Hz
INFO: [mplex] SYSTEMS/PROGRAM stream:
INFO: [mplex] rough-guess multiplexed stream data rate : 7889048
INFO: [mplex] target data-rate specified : 10080000
INFO: [mplex] Setting specified specified data rate: 10080000
INFO: [mplex] Run-in Sectors = 89 Video delay = 13019 Audio delay = 16619
INFO: [mplex] New sequence commences...
INFO: [mplex] Video e0: buf= 0 frame=000000 sector=00000000
INFO: [mplex] Audio bd: buf= 0 frame=000000 sector=00000000
INFO: [mplex] Scanned to end AU 49
++ WARN: [mplex] No seq. header starting new sequence after seq. end!
INFO: [mplex] Sequence end marker! Running out...
INFO: [mplex] Run out PTS limit to AU 51 200219 SCR=98157
INFO: [mplex] Video e0: buf= 209787 frame=000047 sector=00000208
INFO: [mplex] Audio bd: buf= 14993 frame=000041 sector=00000020
**ERROR: [mplex] Need to split output but there appears to be no %d in
the filename pattern firstplay.mpg
I thing this problem is a consequence of the join operation, because the
script works when the file is not catenated.
Question :
1) Why does not this method work ? Any idears or pointers
2) Do you know a solution to convert the list of image into a movie ? If
possible, the duration of each picture must be tuned (2s for the first
one, 4s for the second, 1s for the third, ...)
Thanks.
PHL
-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Mjpeg-users mailing list
Mjpeg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mjpeg-users