Added AC3 support for menus

Updated spanish translation

Added POTFILES.in file
This commit is contained in:
Sergio Costas 2014-08-13 21:09:52 +02:00
parent c914b5e66c
commit e42829e887
8 changed files with 1659 additions and 1267 deletions

View file

@ -349,7 +349,7 @@ class ffmpeg_converter(devede.executor.executor):
self.command_var.append(output_file)
def create_menu_mpeg(self,n_page,background_music,sound_length,pal,video_rate, audio_rate,output_path):
def create_menu_mpeg(self,n_page,background_music,sound_length,pal,video_rate, audio_rate,output_path, use_mp2):
self.n_page = n_page
self.final_length = float(sound_length)
@ -375,7 +375,10 @@ class ffmpeg_converter(devede.executor.executor):
else:
self.command_var.append("ntsc-dvd")
self.command_var.append("-acodec")
self.command_var.append("mp2")
if use_mp2:
self.command_var.append("mp2")
else:
self.command_var.append("ac3")
self.command_var.append("-s")
if pal:
self.command_var.append("720x576")