version: 0.2: Total revamp of the interface layout, removed the options panel for a tabbed window in the main window instead. The fundamental options are all still the same, mostly just aesthetic changes in this version. Only major feature addition is the ability to deinterlace with yuvdenoise instead of yuvscaler (yuvdenoise works MUCH better to deinterlace) also added fast mode denoise (will add ability to tweak denoise functions later) if you are using deinterlace and you don't the conversion to go SIGNIFICANTLY slower and the material is fairly low noise (most dvd material obviously doesn't have any noise) then you will want to use fast mode denoise in addition to the deinterlace function. I haven't done extensive testing on this version yet so it could be buggy, any bug reports will be helpful.
as promised i WILL change the decoder/encoder for the ac3-mp2 conversion and will additionally make more input audio formats compatible in the next version or two.. i spent a lot of time debugging and changing the interface and that took away all my time to change any of the audio decoding
http://www.anycities.com/user/bilestyle/index.html
+ Reply to Thread
Results 1 to 17 of 17
-
As below, so above and beyond, I imagine
drawn outside the lines of reason.
Push the envelope. Watch it bend.
Over thinking, over analyzing separates the body from the mind. Withering my intuition leaving all these opportunities behind. -
Hi, I was just playing with AfroPic 0.2. It just kept on runing (I stoped it after 24 hours). By the way, the .vob file is over 4G in size. Is it suppose to be that long for a file > 4G? I then tried to do .vob to SVCD and still the same result.
I remember that with AfroPic 0.12 and I was able to get a VCD mpeg file within 5 hours. But that was with a .vob file < 4G. When I go home tonight, I'll use AfroPic 0.12 and see if I can get it to work on the same .vob file. -
Bilestyle, whenever I try to convert a DVD-->SVCD with Afropic I keep getting the same error. What am I doing wrong?
sh /Applications/AfroPic\ 0.1.2.app/Contents/Resources/shell
bbDMUX - version 1.9, by Brent Beyeler (beyeler@home.com)
speed increases by, Apachez and Christian Vogelgsang
Saving stream 0xBD, substream 0x80 into file audio.ac3...
File /Volumes/Video/MARY/TITLE01-AN1.VOB is an MPEG-2 Program Stream
Summary:
MPEG Packs = 3209634
Private Stream 1 packets = 85064, total bytes = 171812384
AC3 Audio stream 0 packets = 85064, total bytes = 171472128
Padding Stream packets = 14889, total bytes = 15081013
Video stream 0 packets = 3124570, total bytes = 2016983942
bbDMUX - version 1.9, by Brent Beyeler (beyeler@home.com)
speed increases by, Apachez and Christian Vogelgsang
Saving stream 0xE0 into file video.m2v...
File /Volumes/Video/MARY/TITLE01-AN1.VOB is an MPEG-2 Program Stream
Summary:
MPEG Packs = 3209634
Private Stream 1 packets = 85064, total bytes = 171812384
Padding Stream packets = 14889, total bytes = 15081013
Video stream 0 packets = 3124570, total bytes = 2016983942
INFO: [mplex] mplex version 2.2.1 ($Date: 2002/04/20 19:08:30 $)
INFO: [mplex] File video.m2v looks like an MPEG Video stream.
INFO: [mplex] File audio.ac3 looks like an AC3 Audio stream.
INFO: [mplex] Found 1 video streams 0 MPEG audio streams and 1 AC3 streams
INFO: [mplex] Selecting DVD output profile (INCOMEPLETE!!!!)
INFO: [mplex] Scanning for header info: Video stream e0 (video.m2v)
INFO: [mplex] VIDEO STREAM: e0
INFO: [mplex] Frame width : 720
INFO: [mplex] Frame height : 480
INFO: [mplex] Aspect ratio : 4:3 display
INFO: [mplex] Picture rate : 29.970 frames/sec
INFO: [mplex] Bit rate : 9800000 bits/sec
INFO: [mplex] Vbv buffer size : 229376 bytes
INFO: [mplex] CSPF : 0
INFO: [mplex] Scanning for header info: Audio stream c0 (audio.ac3)
INFO: [mplex] AC3 AUDIO STREAM:
INFO: [mplex] Bit rate : 24576 bytes/sec (192 kbit/sec)
INFO: [mplex] Frequency : 48000 Hz
INFO: [mplex] SYSTEMS/PROGRAM stream:
INFO: [mplex] rough-guess multiplexed stream data rate : 9958400
INFO: [mplex] target data-rate specified : 10080000
INFO: [mplex] Setting specified specified data rate: 10080000
INFO: [mplex] Sectors = 89 Video delay = 13019 Audio delay = 13019
INFO: [mplex] New sequence commences...
INFO: [mplex] Video e0: buf= 237568 frame=000000 sector=00000000
INFO: [mplex] Audio bd: buf= 16384 frame=000000 sector=00000000
INFO: [mplex] Scanned to end AU 171302
INFO: [mplex] STREAM e0 completed @ 171302.
INFO: [mplex] STREAM bd completed @ 223270.
INFO: [mplex] Multiplex completion at SCR=642973257.
INFO: [mplex] Video e0: buf= 216581 frame=171302 sector=03124564
INFO: [mplex] Audio bd: buf= 1024 frame=223270 sector=00085056
INFO: [mplex] VIDEO_STATISTICS: e0
INFO: [mplex] Video Stream length: 252122065 bytes
INFO: [mplex] Sequence headers: 14930
INFO: [mplex] Sequence ends : 1
INFO: [mplex] No. Pictures : 171303
INFO: [mplex] No. Groups : 14930
INFO: [mplex] No. I Frames : 14930 avg. size119417 bytes
INFO: [mplex] No. P Frames : 44597 avg. size 35187 bytes
INFO: [mplex] No. B Frames : 111776 avg. size 26479 bytes
INFO: [mplex] No. D Frames : 0 avg. size 0 bytes
INFO: [mplex] Average bit-rate : 2258400 bits/sec
INFO: [mplex] Peak bit-rate : 8751200 bits/sec
INFO: [mplex] BUFFERING min 15 Buf max 212196
INFO: [mplex] AUDIO_STATISTICS: bd
INFO: [mplex] Audio stream length 171472128 bytes.
INFO: [mplex] Syncwords : 223271
INFO: [mplex] Frames : 223271 padded
INFO: [mplex] Frames : 0 unpadded
INFO: [mplex] BUFFERING min 67 Buf max 9475
INFO: [mplex]
INFO: [mplex] MUX STATUS: no under-runs detected.
++ WARN: [mpeg2enc] Generating dummy SVCD scan-data offsets to be filled in by "vcdimager"
++ WARN: [mpeg2enc] If you're not using vcdimager you may wish to turn this off using -d
++ WARN: [mpeg2enc] Generating dummy SVCD scan-data offsets to be filled in by "vcdimager"
++ WARN: [mpeg2enc] If you're not using vcdimager you may wish to turn this off using -d
/Applications/AfroPic 0.1.2.app/Contents/Resources/shell: mpgtx: command not found
appending File Browser
objc: Both /Library/MPipes/AACEncoder.mpipe/Contents/MacOS/AACEncoder and /Library/MPipes/XViDEncoder.mpipe/Contents/MacOS/XViDEncoder have implementations of class MAKFile.
objc: Using implementation from /Library/MPipes/XViDEncoder.mpipe/Contents/MacOS/XViDEncoder.
CFBundleLoadExecutableCFBundleGetFunctionPointerFo rNamePluginObject:etDispatch (0x3743A4)CFBundleLoadExecutableCFBundleGetFunctio nPointerForNamePluginObject:
etDispatch (0x474C28)CFBundleLoadExecutableCFBundleGetFunctio nPointerForNamePluginObject:
etDispatch (0x485118)CFBundleLoadExecutableCFBundleGetFunctio nPointerForNamePluginObject:
etDispatch (0x517178)CFBundleLoadExecutableCFBundleGetFunctio nPointerForNamePluginObject:
etDispatch (0x534818)CFBundleLoadExecutableCFBundleGetFunctio nPointerForNamePluginObject:
etDispatch (0x58CC58)CFBundleLoadExecutableCFBundleGetFunctio nPointerForNamePluginObject:
etDispatch (0x609BCC)CFBundleLoadExecutableCFBundleGetFunctio nPointerForNamePluginObject:
etDispatch (0x6308FC)CFBundleLoadExecutableCFBundleGetFunctio nPointerForNamePluginObject:
etDispatch (0x644F10)CFBundleLoadExecutableCFBundleGetFunctio nPointerForNamePluginObject:
etDispatch (0x662610)CFBundleLoadExecutableCFBundleGetFunctio nPointerForNamePluginObject:
etDispatch (0x68D170)CFBundleLoadExecutableCFBundleGetFunctio nPointerForNamePluginObject:
etDispatch (0x8BBE44)CFBundleLoadExecutableCFBundleGetFunctio nPointerForNamePluginObject:
etDispatch (0x8CD864)CFBundleLoadExecutableCFBundleGetFunctio nPointerForNamePluginObject:
etDispatch (0x98B89C)CFBundleLoadExecutableCFBundleGetFunctio nPointerForNamePluginObject:
etDispatch (0x1258F20)setting Path to audio.ac3
appending File Streamer
setting PacketSize to 16384
appending AC3 Decoder
appending MP2 Encoder
setting mp2enc to -V
starting the pipeline
Progress: [*.......................................] 0.01%
Progress: [****************************************] 99.99%
MP2 Encoder: Please wait as the encoder is finishing the encode
MP2 Encoder: This might take a few minutes...
done!
INFO: [mplex] mplex version 2.2.1 ($Date: 2002/04/20 19:08:30 $)
**ERROR: [mplex] Unable to open file thefile.m2v for reading.
rm: thefile.m2v: No such file or directory -
Originally Posted by changwei
... wont be any different in 0.1.2
As below, so above and beyond, I imagine
drawn outside the lines of reason.
Push the envelope. Watch it bend.
Over thinking, over analyzing separates the body from the mind. Withering my intuition leaving all these opportunities behind. -
SCB - try just opening the terminal and typing "mpgtx -h" and tell me what your output is.. it seems like mpgtx just doesnt want to work for some odd reason.. tell me what settings you are using and ill try and replicate the problem if i can..if that does recieve a reply from the terminal then ill ask u to check something else.. but let me know if the terminal says unknown command or prints out commands..
As below, so above and beyond, I imagine
drawn outside the lines of reason.
Push the envelope. Watch it bend.
Over thinking, over analyzing separates the body from the mind. Withering my intuition leaving all these opportunities behind. -
Typed in mpgtx -h and I got "command not found". I tried installing the binaries for 0.2 but it gave me an error saying that there was a newer version that was already installed and that I couldn't install over them. Strange error because I know I have the older version installed. Maybe the problem has to do with the version numbers? The new binaries are 0.2 where as the old ones are read as 1.1.
The settings I've been using in 1.1 are like this:
Input format: program string
Mode: svcd
Bitrate: 2500
Multiplex
Encode Audio
Input file: over 4 GB - Demux/Remux -
Originally Posted by bilestyle
-
i apologize.. that is probably the reason for the error... now why mpgtx doesnt install is totally beyond me.. it was in all the binary packages including the first one... so it SHOULD be there already the only new binary i added to the package was yuvdenoise.. but either way i repacked the package as 1.2 so it SHOULD work if the version number was the issue... let me know. AfroPic 0.2r2
http://www.anycities.com/user/bilestyle/index.htmlAs below, so above and beyond, I imagine
drawn outside the lines of reason.
Push the envelope. Watch it bend.
Over thinking, over analyzing separates the body from the mind. Withering my intuition leaving all these opportunities behind. -
Cool. Works great now. This is an awesome all in one solution. Can you tell me what the best settings would be to go from a DVD--->XSVCD? Basically I want to have the highest quality SVCD I can get squeezed onto two CD's. Thanks for the great app.
-
bilestyle,
Now the binary pacakage installs fine. But I still get the same messages when doing .vob to SVCD.
Progress: [****************************************] 99.99%
MP2 Encoder: Please wait as the encoder is finishing the encode
MP2 Encoder: This might take a few minutes...
done!
INFO: [mplex] mplex version 2.2.1 ($Date: 2002/04/20 19:08:30 $)
**ERROR: [mplex] Unable to open file thefile.m2v for reading.
rm: thefile.m2v: No such file or directory
The settings in AfroPic 0.1.2 are:
Input format: program string
auto size: NTSC SVCD
Mode: SVCD
Bitrate: 2500
force segment
795MB
Multiplex
Encode Audio
Input file: over 4 GB - Demux/Remux
And I typed in mpgtx -h in terminal and it shows that I have mpgtx installed. -
changwei - okay now a few things about your settings.
1) demux then remux option only applies for under 4 gig material, over 4 gig it demuxes then remuxes automatically
2) if you have a vob that is bigger than 4 gigs its more efficient to rip as elementary streams in osex instead of program streams (select Elem. Streams instead of Prog. Streams in the FMT menu)
reason being is in order to process the files bigger than 4 gigs (due to a bug in quicktime, OR the mpeg-2 component im not sure where the problem EXACTLY lies) but when you input a vob file it needs to demultiplex and then remultiplex as 4 gig segments, then it encodes one after another and so on..... if you input elementary streams (m2v and ac3) it skips the demux step and goes straight to muxing in 4 gig segments... since bbdmux isnt the fastest demuxing program (but its the only one i've gotten to personally work with rippin out ac3 streams) that demux step takes a bit of unnessesary time up...but elementary stream input is ONLY faster for bigger than 4 gigs conversions, otherwise a program stream is still faster.
also, since i do all my testing of files bigger than 4 gigs in the elem. stream settings in AfroPic while redesigning i might have messed something up in the program stream conversion for over 4 gigs... thats only a MAYBE though, im not really certain without seeing your full terminal output. Email me and we'll discuss the problem further
comfortableliar@hotmail.comAs below, so above and beyond, I imagine
drawn outside the lines of reason.
Push the envelope. Watch it bend.
Over thinking, over analyzing separates the body from the mind. Withering my intuition leaving all these opportunities behind. -
I am having a very similar problem. I rip a DVD as elementary streams, choose them in AfroPic, and select settings for SVCD. The terminal output shows an error early on:
Code:**ERROR: [mpeg2enc] Could not read YUV4MPEG2 header: system error (failed read/write)! ## Component Manager: attempting to find symbols in a component alias of type (regR/carP/x!bt) usage: movtoy4m -w width -h height -F a:b -a a:b movie.mov example: movtoy4m -w 352 -h 288 -F 25:1 -a 4:3 pal_normal.mov example: movtoy4m -w 352 -h 240 -F 30000:1001 -a 16:9 ntsc_wide.mov **ERROR: [mpeg2enc] Could not read YUV4MPEG2 header: system error (failed read/write)! temp1 is not a valid mpeg file rm: temp1: No such file or directory rm: temp2: No such file or directory
Code:MP2 Encoder: Please wait as the encoder is finishing the encode MP2 Encoder: This might take a few minutes... MP2 Encoder: INFO: [mp2enc] Opened WAV file, freq = 48000 Hz, channels = 2, bits = 16 MP2 Encoder: INFO: [mp2enc] format = 0x1, audio length = 2030043099 bytes INFO: [mp2enc] slots/frame = 731 INFO: [mp2enc] frac SpF=0.429, tot bitrate=224 kbps, s freq=44.1 kHz INFO: [mp2enc] Fractional number of slots, padding required INFO: [mp2enc] System is big endian done! INFO: [mplex] mplex version 2.2.1 ($Date: 2002/04/20 19:08:30 $) **ERROR: [mplex] Unable to open file thefile.m2v for reading. rm: thefile.m2v: No such file or directory 11:43PM up 8:03, 3 users, load averages: 1.07, 1.10, 1.08
-
hmmmmmmm, did you choose anymore options? like deinterlace or anything like that? email me your full terminal ouput and ill see if i can find anything that looks wrong.. the mpeg2enc error i see MIGHT be the problem, possibly you tried to install the binaries with 0.2 instead of 0.2r2, there was a new binary installed with 0.2 and if you used 0.1.2 b4 the installer version number was accidentaly larger then the new one (0.2) and was fixed in 0.2r2, b/c if u checked off deinterlace or fast mode denoise it uses yuvdenoise... so MAYBE that could be a problem.. i'd like to see the full output, but ill most likely need to see the imbedded script-- if that is the case ill ask you for it after seeing the full output.. unless i answered the question already in this post.
As below, so above and beyond, I imagine
drawn outside the lines of reason.
Push the envelope. Watch it bend.
Over thinking, over analyzing separates the body from the mind. Withering my intuition leaving all these opportunities behind. -
bilestyle,
I'm emailing you my term output and settings. I ran AfroPic again,
the errors are different this time and occurred later in the process.
This time I ended up with 2 files - a 1.44GB muxed mpeg2 video file
(with audio) at 480x270 pixels and 30fps, and a matching mp2 audio
file. When I play the muxed mpeg2 file in quicktime or vlc, it stays in
sync, but about 1/2 through the video starts getting choppy and stays
that way through the end. I looked at the source elementary stream
video file and it never gets choppy.
Check your email for details.
-- rockinsage -
any idea whats going on here?
1:43AM up 9:01, 3 users, load averages: 1.96, 1.68, 1.88
INFO: [mplex] mplex version 2.2.1 ($Date: 2002/04/20 19:08:30 $)
INFO: [mplex] File /Volumes/Solordrive/GLADIATOR/TITLE01-ANGLE1-VIDEO1.M2V looks like an MPEG Video stream.
INFO: [mplex] File /Volumes/Solordrive/GLADIATOR/TITLE01-ANGLE1-AUDIO1.AC3 looks like an AC3 Audio stream.
INFO: [mplex] Found 1 video streams 0 MPEG audio streams and 1 AC3 streams
INFO: [mplex] Selecting DVD output profile (INCOMEPLETE!!!!)
INFO: [mplex] Scanning for header info: Video stream e0 (/Volumes/Solordrive/GLADIATOR/TITLE01-ANGLE1-VIDEO1.M2V)
INFO: [mplex] VIDEO STREAM: e0
INFO: [mplex] Frame width : 720
INFO: [mplex] Frame height : 480
INFO: [mplex] Aspect ratio : 16:9 display
INFO: [mplex] Picture rate : 29.970 frames/sec
INFO: [mplex] Bit rate : 9801600 bits/sec
INFO: [mplex] Vbv buffer size : 229376 bytes
INFO: [mplex] CSPF : 0
INFO: [mplex] Scanning for header info: Audio stream c0 (/Volumes/Solordrive/GLADIATOR/TITLE01-ANGLE1-AUDIO1.AC3)
INFO: [mplex] AC3 AUDIO STREAM:
INFO: [mplex] Bit rate : 57344 bytes/sec (448 kbit/sec)
INFO: [mplex] Frequency : 48000 Hz
INFO: [mplex] SYSTEMS/PROGRAM stream:
INFO: [mplex] rough-guess multiplexed stream data rate : 9962000
INFO: [mplex] target data-rate specified : 10080000
INFO: [mplex] Setting specified specified data rate: 10080000
INFO: [mplex] Sectors = 89 Video delay = 13019 Audio delay = 13019
INFO: [mplex] New sequence commences...
INFO: [mplex] Video e0: buf= 237568 frame=000000 sector=00000000
INFO: [mplex] Audio bd: buf= 16384 frame=000000 sector=00000000
INFO: [mplex] Scanned to end AU 223001
++ WARN: [mplex] Sequence end marker found in video stream but single-segment splitting specified!
INFO: [mplex] Scanned to end AU 223002
INFO: [mplex] STREAM e0 completed @ 223002.
INFO: [mplex] STREAM bd completed @ 290564.
INFO: [mplex] Multiplex completion at SCR=836814555.
INFO: [mplex] Video e0: buf= 230075 frame=223002 sector=02984783
INFO: [mplex] Audio bd: buf= 2048 frame=290564 sector=00258281
INFO: [mplex] VIDEO_STATISTICS: e0
INFO: [mplex] Video Stream length: 216270273 bytes
INFO: [mplex] Sequence headers: 18590
INFO: [mplex] Sequence ends : 2
INFO: [mplex] No. Pictures : 223003
INFO: [mplex] No. Groups : 18590
INFO: [mplex] No. I Frames : 18590 avg. size 78844 bytes
INFO: [mplex] No. P Frames : 55835 avg. size 32844 bytes
INFO: [mplex] No. B Frames : 148578 avg. size 18344 bytes
INFO: [mplex] No. D Frames : 0 avg. size 0 bytes
INFO: [mplex] Average bit-rate : 1488800 bits/sec
INFO: [mplex] Peak bit-rate : 9918800 bits/sec
INFO: [mplex] BUFFERING min 15 Buf max 214594
INFO: [mplex] AUDIO_STATISTICS: bd
INFO: [mplex] Audio stream length 520692480 bytes.
INFO: [mplex] Syncwords : 290565
INFO: [mplex] Frames : 290565 padded
INFO: [mplex] Frames : 0 unpadded
INFO: [mplex] BUFFERING min 35 Buf max 8771
INFO: [mplex]
INFO: [mplex] MUX STATUS: no under-runs detected.
## Component Manager: attempting to find symbols in a component alias of type (regR/carP/x!bt)
usage: movtoy4m -w width -h height -F a:b -a a:b movie.mov
example: movtoy4m -w 352 -h 288 -F 25:1 -a 4:3 pal_normal.mov
example: movtoy4m -w 352 -h 240 -F 30000:1001 -a 16:9 ntsc_wide.mov
**ERROR: [mpeg2enc] Could not read YUV4MPEG2 header: system error (failed read/write)!
## Component Manager: attempting to find symbols in a component alias of type (regR/carP/x!bt)
usage: movtoy4m -w width -h height -F a:b -a a:b movie.mov
example: movtoy4m -w 352 -h 288 -F 25:1 -a 4:3 pal_normal.mov
example: movtoy4m -w 352 -h 240 -F 30000:1001 -a 16:9 ntsc_wide.mov
**ERROR: [mpeg2enc] Could not read YUV4MPEG2 header: system error (failed read/write)!
temp1 is not a valid mpeg file
rm: temp1: No such file or directory
rm: temp2: No such file or directory
INFO: [mplex] mplex version 2.2.1 ($Date: 2002/04/20 19:08:30 $)
**ERROR: [mplex] Unable to open file thefile.m2v for reading.
rm: thefile.m2v: No such file or directory
2:16AM up 9:34, 3 users, load averages: 1.15, 1.35, 1.38
[Quicksilver:~] evan% -
okay here is ONE thing to try type this in your terminal:
sudo chmod 755 /usr/bin/mpeg2enc
after that
yuvdenoise -h
(if you are using the deinterlace or fast mode denoise switch)
let me know what you get..As below, so above and beyond, I imagine
drawn outside the lines of reason.
Push the envelope. Watch it bend.
Over thinking, over analyzing separates the body from the mind. Withering my intuition leaving all these opportunities behind. -
bilestyle...
First of all... fantastic application, I just love it.
Second of all... hellllp!!!
I'm also getting the YUV4MPEG2 error... (with the same error messages others are reporting).
I'm just practicing with a DVD (since I don't want to import a bunch of footage from my videocam) and I ripped it as elementary streams in chapters.
The DVD in question is Bill and Ted's Excellent Adventure (Wyld! Stallyns! Reer, Reer, Reer).
The first chapter (the intro) encodes and muxes just fine, with no problems at all, but when I go to encode the second chapter I get the error I mentioned above.
I'm using the basic settings:
Decoding:
Autosize: NTSC SVCD
Aspect: 16:9 (it's widescreen)
Framerate: 29.97
Encoding:
Default Settings
Audio/Mplex:
Default Settings
General Options:
Default settings
(since I ripped it in chapters, the largest chunk is around 350MB)
I haven't tried ripping the DVD as one large track, but I did try re-ripping it as program streams and after demuxing chapter 2 I run into the same problem.
Since I really have no clue what's going on under the hood, I don't know what to check.
Thanks again for a great app... I've been recommending it to everyone... much more intuitive than FFMpeg (no offense major... it's great in it's own right... just a bit more confusing for the n00b... like me).