Forum Archive Home -> ffmpegX general discussion -> AppleScript Error when trying to author DVD with subtitles
| AppleScript Error when trying to author DVD with subtitles | ||||||||
| Chopper Face posted 2008 Feb 13 22:26 | ||||||||
| Using ffmpegX 0.0.9y on Mac OS X 10.5.2.
I'm attempting to add my own subtitle track as a selectable subtitle to a DVD I have ripped to an mpg. Going through: Tools > Author When I put in an mpg file with no subtitle and "Author as" set to "DVD (VIDEO_TS)" it seems to run fine. When I put something in the subtitle field and try to "Author" I get the following error message:
I have seen mention of similar errors before that had to do with special characters in the path or localisation. I have reduced the paths of my files to something very basic with no change ( /data/smr.mpg and /data/empty.srt ) I have tried various "Subtitle font" and "Text encoding" settings. I have tried to change my international settings. I now only have "English" left as a language. Keyboard type is "Canadian English" but I have checked "Character palette" to make the icon in the menu bar go away. I do not see an option for resetting international settings to default but I have tried many configurations, as well as creating a new account to try to do the same thing and having the same problems. Not really sure what else to try at this point. Is there any kind of logging or debugging which may give me more information? Some way to see the command line that these settings are trying to produce or even to try this at the command line myself from a terminal session? Any help is appreciated. Thanks. | ||||||||
| Case posted 2008 Feb 14 06:31 | ||||||||
Such an .xml file might like like this:
| ||||||||
| Chopper Face posted 2008 Feb 14 17:16 | ||||||||
| Ah. Thanks for the help. I think I might have figured it out, or at least made some progress.
I could not get a .xml file but I wanted to verify the fps of my .mpg file for reference. Well I then noticed I couldn't open it in Quicktime and in VLC it would not play right. So I think it must have a problem. I was able to at least start the subbing process with another .mpg file. Unfortunately that crashed and died while doing it but regardless that wasn't the file I was going for. I will attempt to rip this file again or maybe some other way. I had ripped to a single .vob file and renamed as .mpg, as I read about in another thread around. Will let you know if I get this thing working. Strange thing I've never seen my computer do. I was testing out just making a DVD with no subs with this file and it just hung there for a while making it, I could see progress using 100% cpu from a top, and then all of a sudden I get a message telling me I have to reset my PC by holding down the power button, and the computer is otherwise frozen. Fun...
| ||||||||
| Case posted 2008 Feb 15 07:32 | ||||||||
| ||||||||
| Chopper Face posted 2008 Feb 15 15:45 | ||||||||
| Ack! But it's new!
First time it happens. I don't really know why, but the mpg I get from this DVD by any means is completely messed up. If I do a demux then the .ac3 files all play at varying speeds. The .m2v file won't open normally in anything. Video won't show, application will hang ... So if I try to mux them back together with ffmpeg it gives an error for the .ac3 track. Then I put a dummy .ac3 track compiled elsewhere in and it drops all frames for the .m2v... This kind of behaviour happens when ripped with different programs, or reading the VOB file directly, but through all this just playing the DVD straight up with any software player has no problems. Other DVDs work fine, but similar DVDs from the same publisher have problems (they are all Japanese Sailor Moon DVDs, both a movie and TV show cause this) Anyway ... this ceases to be specifically an ffmpeg error when all kinds of applications have poor behaviour with this file. I'm just not sure what I'm dealing with. | ||||||||
| Chopper Face posted 2008 Jul 02 23:25 | ||||||||
| Well, after countless hours of fighting with this thing, I've had some success.
The problem, it would seem, is just a bad .mpeg stream with the DVD. It plays fine, but rips not so fine. Ripping with MacTheRipper was giving me .vob files that wouldn't open in VLC, MPEGStreamclip, Quicktime or anything. Attempting to Demux them with a variety of software would always do something ridiculous like create 15 .mp1 (MPEG-1!!) files, and make one grow and grow (I stopped it at 100gb... from a 3.5gb source file...) The problem may be somehow related to a high bit rate at certain parts. DVD players seem capable of handling non standard bit rates though. Software, perhaps, not so forgiving. So yes... finally the solution I found was to rip it with 0SEx. This produced a better .mpeg. What it did, specifically, I don't know, but something was wrong with the data stream and this fixed it, somewhat. It fixed it to the point that the file could be played in most media players, could be demultiplexed properly into it's native streams. The file would not, however, author to a DVD with subs. Trying to rename the .vob to .mpg and author that with ffmpegx gives a lot of this: WARN: Skipping sector, waiting for first VOBU... So... what to do? Just demux and mux the file! So I demux with MPEGStreamclip to .m2v and .ac3 files. I then multiplexed with ffmpegx (can only multiplex a maximum of 2 audio files). That's when I got these messages: (blue) INFO: [mplex] Average bit-rate : 6141200 bits/sec INFO: [mplex] Peak bit-rate : 11827600 bits/sec (red) **ERROR: [mplex] MUX STATUS: Frame data under-runs detected! The Peak bit-rate is above the maximum for the VOB standard, which is kind of where I thinking my size problems come from. Regardless, the .mpg file is created and plays just fine. This is after all the bit rate the DVD has always played at. Now finally, I can go back with ffmpegx and with "Tools> Author", chose my .mpg and my .srt file, make a DVD (well a VIDEO_TS, which I then make into an image with "Tools> img", and then burn with Mac Disk Utility) So much to say, long long time all to just put a sub on a DVD I have. So maybe if someone else runs into this same problem, they can do similar things to get past it. |
Login/Register to our forum to be able to post here.
