Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Our Archives > General Archives > Digital Video & Audio Archives > what am I doing wrong with ffmpegX?

 
what am I doing wrong with ffmpegX?
Thread Tools
Dedicated MacNNer
Join Date: May 2001
Status: Offline
Nov 30, 2002, 01:41 AM
 
I am trying to make a svcd with the latest ffmpegX v0.0.4g Nov 2, 2002. I get my source from DV home video. Bring it to my system with imovie. Export to with the highest setting, meaning that the movei is basically a dv stream wrapped in a .mov extension, so my 60 min movie is about 11 GBs. Then if I use the vcd preset it works to make a vdc, but when I do a svcd, I get some weird errors at the end. Here is my transcript from an svcd:

Last login: Fri Nov 29 15:10:56 on ttyp2
pbpaste | sh
Welcome to Darwin!
You have mail.
[toy:~] toyboy% pbpaste | sh
Input #0, mov, from '/Users/toyboy/Desktop/toisan.mov':
Stream #0.0: Video: dvvideo, 720x480, 29.97 fps
Stream #0.1: Audio: adpcm_ima_qt, 22050 Hz, stereo
Output #0, yuv4mpegpipe, to 'pipe:':
Stream #0.0: Video: rawvideo, yuv420p, 480x480, 29.97 fps, q=2-31, 200 kb/s
Stream mapping:
Stream #0.0 -> #0.0
Press [q] to stop encoding
YUV4MPEG stream header written. FPS is 30000
++ WARN: [mpeg2enc] Generating dummy SVCD scan-data offsets to be filled in by "vcdimager"
frame=99922 q= 0 size=33724358kB time=3334.1 bitrate=82862.7kbits/s this off using -d
*** malloc[19832]: Deallocation of a pointer not malloced: 0x2631e0; This could be a double free(), or free() called with the middle of an allocated block; Try setting environment variable MallocHelp to see tools to help debug
Input #0, mov, from '/Users/toyboy/Desktop/toisan.mov':
Stream #0.0: Video: dvvideo, 720x480, 29.97 fps
Stream #0.1: Audio: adpcm_ima_qt, 22050 Hz, stereo
Output #0, mp2, to '/Users/toyboy/Desktop/svcd/to.mp2':
Stream #0.0: Audio: mp2, 48000 Hz, stereo, 128 kb/s
Stream mapping:
Stream #0.1 -> #0.0
Press [q] to stop encoding
size= 52905kB time=3385.9 bitrate= 128.0kbits/s
*** malloc[28028]: Deallocation of a pointer not malloced: 0x2631e0; This could be a double free(), or free() called with the middle of an allocated block; Try setting environment variable MallocHelp to see tools to help debug
INFO: [mplex] mplex version 2.2.1 ($Date: 2002/04/20 19:08:30 $)
INFO: [mplex] File /Users/toyboy/Desktop/svcd/to.m2v looks like an MPEG Video stream.
INFO: [mplex] File /Users/toyboy/Desktop/svcd/to.mp2 looks like an MPEG Audio stream.
INFO: [mplex] Found 1 video streams 1 MPEG audio streams and 0 AC3 streams
INFO: [mplex] Selecting SVCD output profile
INFO: [mplex] Scanning for header info: Video stream e0 (/Users/toyboy/Desktop/svcd/to.m2v)
INFO: [mplex] VIDEO STREAM: e0
INFO: [mplex] Frame width : 480
INFO: [mplex] Frame height : 480
INFO: [mplex] Aspect ratio : 4:3 display
INFO: [mplex] Picture rate : 29.970 frames/sec
INFO: [mplex] Bit rate : 2500000 bits/sec
INFO: [mplex] Vbv buffer size : 229376 bytes
INFO: [mplex] CSPF : 0
INFO: [mplex] Scanning for header info: Audio stream c0 (/Users/toyboy/Desktop/svcd/to.mp2)
INFO: [mplex] AUDIO STREAM:
INFO: [mplex] Audio version : 1.0
INFO: [mplex] Layer : 2
INFO: [mplex] CRC checksums : no
INFO: [mplex] Bit rate : 16384 bytes/sec (128 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 : 1 original
INFO: [mplex] Emphasis : 0 none
INFO: [mplex] SYSTEMS/PROGRAM stream:
INFO: [mplex] rough-guess multiplexed stream data rate : 2680400
INFO: [mplex] target data-rate specified : 2788800
INFO: [mplex] Setting specified specified data rate: 2788800
INFO: [mplex] Sectors = 78 Video delay = 46800 Audio delay = 46800
INFO: [mplex] New sequence commences...
INFO: [mplex] Video e0: buf= 235520 frame=000000 sector=00000000
INFO: [mplex] Audio c0: buf= 4096 frame=000000 sector=00000000
INFO: [mplex] Scanned to end AU 67995
INFO: [mplex] Video e0: buf= 2267 frame=067995 sector=00293278
INFO: [mplex] Audio c0: buf= 1139 frame=094506 sector=00015806
**ERROR: [mplex] Need to split output but there appears to be no %d in the filename pattern /Users/toyboy/Desktop/svcd/to.mpg
(Super) VideoCD xml description created successfully as `/Users/toyboy/Desktop/svcd/to.xml'
++ WARN: initializing libvcd 0.7.12 [darwin5.2/powerpc]
++ WARN:
++ WARN: this is the UNSTABLE development branch!
++ WARN: use only if you know what you are doing
++ WARN: see http://www.hvrlab.org/~hvr/vcdimager/ for more information
++ WARN:
**ERROR: could not stat() file `/Users/toyboy/Desktop/svcd/to': No such file or directory
rm: /Users/toyboy/Desktop/svcd/to_02_pregap.img: No such file or directory
rm: /Users/toyboy/Desktop/svcd/to.toc: No such file or directory
Encoding complete!
[toy:~] toyboy%
     
Mac Elite
Join Date: Mar 2001
Location: Cybertron
Status: Offline
Nov 30, 2002, 01:09 PM
 
Sorry to use this thread for other purposes but I'm having a problem after using ffmpegX and I didn't want to start a whole new thread for this.

Since I have used ffmpegX, whenever I launch the terminal the pbpaste |sh command gets executed.How do I get rid of this?

Good luck with your problem gee308
     
gee308  (op)
Dedicated MacNNer
Join Date: May 2001
Status: Offline
Nov 30, 2002, 03:56 PM
 
Originally posted by Mr_Frost:
Sorry to use this thread for other purposes but I'm having a problem after using ffmpegX and I didn't want to start a whole new thread for this.

Since I have used ffmpegX, whenever I launch the terminal the pbpaste |sh command gets executed.How do I get rid of this?

Good luck with your problem gee308
depending on your shell, check that shell's config file to see if the ffmpeg script is being called from there. ~/.profile, ~/.cshrc or some other file like that, other than that, I'm not sure what the problem could be.
Do SVCDs work for you on FFmpegX?
     
Mac Elite
Join Date: Feb 2000
Location: Upstate NY (cow country)
Status: Offline
Dec 1, 2002, 03:58 PM
 
try telling ffmpeg under the "Tools" tab to "keep elementary streams". This will prevent you from having to re-encode every time you want try something different. It look like you are encoding ok but he problem lies in the creation of the VCD. If you save the elementary streams you can try remuxing the streams in a separate process (under the "tools" tab).
"Destroy your ego. Trust your brain. Destroy your beliefs. Trust your divinity." -Danny Carey

MacPro Quad 2.66, G4 MDD dual 867, 23" Cinema Display and 17" LCD, G4 Quicksilver dual 800, 12" Powerbook 867, iMac 300 Grape, B&W G3/300 with G4/450 running yellowdog, iPod 5GB, iPod mini, PowerCenter 150, Powercenter 132 tower, Performa 6116, Quadra 700, MacSE, LC II, eMate 300
     
gee308  (op)
Dedicated MacNNer
Join Date: May 2001
Status: Offline
Dec 1, 2002, 08:36 PM
 
Originally posted by memento:
try telling ffmpeg under the "Tools" tab to "keep elementary streams". This will prevent you from having to re-encode every time you want try something different. It look like you are encoding ok but he problem lies in the creation of the VCD. If you save the elementary streams you can try remuxing the streams in a separate process (under the "tools" tab).
thanks, thats a big step for me fixinf the problem becuase I'm redoing thew whole process everytime.
     
Junior Member
Join Date: Aug 2000
Location: Baltimore, MD, USA
Status: Offline
Dec 7, 2002, 03:13 PM
 
Originally posted by Mr_Frost:
Sorry to use this thread for other purposes but I'm having a problem after using ffmpegX and I didn't want to start a whole new thread for this.

Since I have used ffmpegX, whenever I launch the terminal the pbpaste |sh command gets executed.How do I get rid of this?

Good luck with your problem gee308
I'm having the same problem with pbpaste being executed everytime I open a term window.

Looking in .tchrc and .profile doesn't work. Has anyone found a fix?

Thanks
     
gee308  (op)
Dedicated MacNNer
Join Date: May 2001
Status: Offline
Dec 15, 2002, 05:18 PM
 
a soultion to ffmpegx and the audio is afropic
     
v8q
Junior Member
Join Date: Mar 2002
Status: Offline
Dec 16, 2002, 05:05 PM
 
Originally posted by gee308:
I am trying to make a svcd with the latest ffmpegX v0.0.4g Nov 2, 2002. I get my source from DV home video. Bring it to my system with imovie. Export to with the highest setting, meaning that the movei is basically a dv stream wrapped in a .mov extension, so my 60 min movie is about 11 GBs. Then if I use the vcd preset it works to make a vdc, but when I do a svcd, I get some weird errors at the end. Here is my transcript from an svcd:

**ERROR: [mplex] Need to split output but there appears to be no %d [toy:~] toyboy%
Not sure if you got this fixed - but the error seems to be that your source is bigger than 1 CD - so it wants to split the output file in two. Put a %d in your file name and see if it works.
     
 
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 07:02 AM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2