There appears to be a bug in ffmpegX. If mplex is invoked by ffmpegX one gets a "syntax error near unexpected token `;' "
I think the problem is that bash regards two consecutive semicolons as an error.
ie
[macjerry:~]$ printf foo ; ; printf bar
bash: syntax error near unexpected token `;'
[macjerry:~]$
If your default shell is tcsh the above will work
ie
[macjerry:~]$ tcsh
[macjerry:~] jerry% printf foo ; ; printf bar
foobar[macjerry:~] jerry% exit
As you can see the extra semicolon has no effect in this case.
ffmpegX will need a patch to fix the problem.
One possible workaround that I have used is to simple edit out the extra semicolon and re execute the command in the terminal window.
I really don't feel like changing my default shell to tcsh...
Jerry
Results 1 to 7 of 7
-
-
Whoops, I forgot to post an example. The following is lifted from the topic "SVCD to VCD, Possible?"
[MAChine:~] critchie% pbpaste | sh
sh: line 1: syntax error near unexpected token `;'
sh: line 1: `/Applications/ffmpegX.app//Contents/Resources/ffmpeg -i -y -vn -f mp2 -acodec mp2 -ab 224 -ac 2 -map 0.0:0.0 .mp2; /Applications/ffmpegX.app//Contents/Resources/mplex -V -f 4 -S 9999 -M -O 0 -b 230 -o /Users/critchie/Desktop/Movies/Undercover\ Brother\ 1/AVSEQ02.MPG.mpg /Users/critchie/Desktop/Movies/Undercover\ Brother\ 1/AVSEQ02.MPG .mp2; ; printf "Processing complete!\a\n"'
^ the extra semicolon
Jerry
-
Originally Posted by major
When this happened to me I edited the command to remove one of the semicolons and run the command and everything worked.
I think it is a shell related problem, you need to suppress the extra semicolon somehow.
I think I wrote you about the problem a couple of weeks ago...
--Jerry
-
Whoops, my bad.
I can get the error by "muxing" a m2v and mp2 stream in the "tools" tab *and* have the postprocess (split and author) checked *with only* the "keep elementary streams" checked in the Mpeg-1/2 post processing panel of the tools tab. ie none of the "author as" boxes checked.
I guess I errored on the side of caution, I did not want the elementary streams deleted so I thought I could insure this by checking the "keep elementary streams" button and I thought I needed to check the postprocessing box inorder to have the program look at the Postprocessing panel.
There is no problem if only the "mux selection" is ticked.
Sorry for the missunderstanding.
--Jerry
Similar Threads
-
Episode 6 Bug? Or Quicktime Player 7 bug?
By NY2LA in forum Video ConversionReplies: 3Last Post: 25th Jun 2012, 16:59 -
Windows version/download of mplex ?
By halsboss in forum Video ConversionReplies: 11Last Post: 6th Jun 2011, 18:17 -
Mplex.exe help needed please
By lovelylisa in forum Video ConversionReplies: 1Last Post: 5th May 2011, 05:14 -
[mplex] Unable to open file?
By modyouup in forum ffmpegX general discussionReplies: 11Last Post: 12th Sep 2009, 16:29 -
svcdvd problem, mplex error
By randomtool in forum ffmpegX general discussionReplies: 1Last Post: 26th Sep 2007, 10:49