tovid-suite / tovid

Suite of tools for DVD authoring
http://tovid.wikia.com/wiki/Tovid_Wiki
GNU General Public License v2.0
7 stars 4 forks source link

no audio track found if mplayer uses -msgcolor #132

Closed tovid-suite closed 9 years ago

tovid-suite commented 9 years ago

From shub...@gmail.com on September 27, 2010 03:15:06

I had the 'msgcolor' option set in ~/.mplayer/config. Since idvid uses mplayer to determine some video file properties, idvid was confronted with color codes in the corresponding output of mplayer.

This lead to the annoying bug that no audio streams have been found in my .mp4 video file.

Suggestions:

  1. Use sed to get rid of coloring escape sequences from mplayer output, or
  2. at least warn if such escape sequences are found.

Original issue: http://code.google.com/p/tovid/issues/detail?id=132

tovid-suite commented 9 years ago

From grepper@gmail.com on December 15, 2010 02:25:59

I think this is easily prevented with adding -nomsgcolor to the mplayer command line. Could you please test the attached patch ?

thanks for reporting !

grepper

Status: Questions
Owner: grepper

tovid-suite commented 9 years ago

From grepper@gmail.com on December 15, 2010 02:27:20

Sorry, attachment below

Attachment: idvid.patch

tovid-suite commented 9 years ago

From shub...@gmail.com on December 15, 2010 03:40:45

Just tested it with your patch. Seems to work fine for me. I modified the patch in order to make it work with tovid-0.31- r2 (from gentoo portage). (Btw, the mplayer option '-nomsgcolor' is not documented in the man page, but good to know.)

tovid-suite commented 9 years ago

From grepper@gmail.com on December 15, 2010 04:18:54

Great, thanks again for reporting the issue. BTW, any "flag" option in mplayer can take a -no{OPTION} form. Its under "USAGE" in the manpage: "Every 'flag' option has a 'noflag' counterpart, e.g. the opposite of the -fs option is -nofs."

grepper

Status: Fixed