← Back to team overview

linux-traipu team mailing list archive

Re: [Openshot.bugs] [Bug 927126] Re: Issues with commas preventing export in x264

 

Are you able to try our daily PPA (
https://launchpad.net/~openshot.developers/+archive/daily), or grab the
latest source code. There are a number of locale fixes in the latest code
updates, including a fix for the preferences window.

2012/2/5 Cenwen <eolinwen@xxxxxxxxx>

> Thanks a lot for reporting this nasty bugs.
>
> I 'd know What is your version of FFmpeg/x264 ?
>
> I 'm checkcing the code to find the second error.
>
> I 'm tagging  them like critical.
>
> Again thanks to improve Openshot.
>
> ** Changed in: openshot
>   Importance: Undecided => Critical
>
> ** Changed in: openshot
>    Milestone: None => 1.4.2
>
> --
> You received this bug notification because you are a member of OpenShot
> Bugs, which is subscribed to OpenShot Video Editor.
> https://bugs.launchpad.net/bugs/927126
>
> Title:
>  Issues with commas preventing export in x264
>
> Status in OpenShot Video Editor:
>  New
>
> Bug description:
>  I have Ubuntu 11.10 and I installed Openshot through the ppa. I have
>  the latest version, that is, 1.4.1.
>
>  I'd like to report a couple of bugs that I found, the first of them
>  driving me crazy. I simply couldn't export using codec x264 (I had
>  sound but no video) and I looked at all the possible solutions,
>  updating MLT, checking python libraries, etc. Well, it was all much
>  simpler than that. The file "video.py"
>  (/usr/lib/pymodules/python2.7/openshot/classes/video.py) has this
>  problem, at least for me, since everytime I tried to render files
>  using libx264, I had the following output:
>
>  [NULL @ 0x22e0900] [Eval @ 0x7fa2259f34c0] Invalid chars '.6' at the end
> of expression '0.6'
>  [NULL @ 0x22e0900] Unable to parse option value "0.6"
>  [libx264 @ 0x22e0900] broken ffmpeg default settings detected
>  [libx264 @ 0x22e0900] use an encoding preset (e.g. -vpre medium)
>  [libx264 @ 0x22e0900] preset usage: -vpre <speed> -vpre <profile>
>  [libx264 @ 0x22e0900] speed presets are listed in x264 --help
>  [libx264 @ 0x22e0900] profile is optional; x264 defaults to high
>
>  All I needed to do was the following:
>
>  if self.render_options["vcodec"] == "libx264":
>                                        self.c.set("minrate", "0")
>                                        self.c.set("b_strategy", "1")
>                                        self.c.set("subcmp", "2")
>                                        self.c.set("cmp", "2")
>                                        self.c.set("coder", "1")
>                                        self.c.set("flags", "+loop")
>                                        self.c.set("flags2", "dct8x8")
>                                        self.c.set("qmax", "51")
>                                        self.c.set("subq", "7")
>                                        self.c.set("qmin", "10")
>                                        self.c.set("qcomp", "0.6") --->
> changed the value for "0,6", using a comma
>                                        self.c.set("qdiff", "4")
>                                        self.c.set("trellis", "1")
>
>  The second one is much less important, but it also has to do with
>  commas. Every time I click of preferences and I close the menu, on my
>  "config.xml" file the value of the image size changes from "7" to
>  "7,00", again giving me the following mistake:
>
>
>  self.valImageLength.set_value(float(self.form.settings.general["imported_image_length"]))
>  ValueError: invalid literal for float(): 7,00
>
>  I haven't been able to fix it yet except by accessing the "config.xml"
>  file and changing it manually to the default value, that is, "7".
>
>  I think these issues can be easily fixed, so I hope that our
>  developers include them for the future.
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/openshot/+bug/927126/+subscriptions
>
> --
> Mailing list: https://launchpad.net/~openshot.bugs
> Post to     : openshot.bugs@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~openshot.bugs
> More help   : https://help.launchpad.net/ListHelp
>

-- 
You received this bug notification because you are a member of UBUNTU -
AL - BR, which is subscribed to OpenShot Video Editor.
https://bugs.launchpad.net/bugs/927126

Title:
  Issues with commas preventing export in x264

Status in OpenShot Video Editor:
  New

Bug description:
  I have Ubuntu 11.10 and I installed Openshot through the ppa. I have
  the latest version, that is, 1.4.1.

  I'd like to report a couple of bugs that I found, the first of them
  driving me crazy. I simply couldn't export using codec x264 (I had
  sound but no video) and I looked at all the possible solutions,
  updating MLT, checking python libraries, etc. Well, it was all much
  simpler than that. The file "video.py"
  (/usr/lib/pymodules/python2.7/openshot/classes/video.py) has this
  problem, at least for me, since everytime I tried to render files
  using libx264, I had the following output:

  [NULL @ 0x22e0900] [Eval @ 0x7fa2259f34c0] Invalid chars '.6' at the end of expression '0.6'
  [NULL @ 0x22e0900] Unable to parse option value "0.6"
  [libx264 @ 0x22e0900] broken ffmpeg default settings detected
  [libx264 @ 0x22e0900] use an encoding preset (e.g. -vpre medium)
  [libx264 @ 0x22e0900] preset usage: -vpre <speed> -vpre <profile>
  [libx264 @ 0x22e0900] speed presets are listed in x264 --help
  [libx264 @ 0x22e0900] profile is optional; x264 defaults to high

  All I needed to do was the following:

  if self.render_options["vcodec"] == "libx264":
  					self.c.set("minrate", "0")
  					self.c.set("b_strategy", "1")
  					self.c.set("subcmp", "2")
  					self.c.set("cmp", "2")
  					self.c.set("coder", "1")
  					self.c.set("flags", "+loop")
  					self.c.set("flags2", "dct8x8")
  					self.c.set("qmax", "51")
  					self.c.set("subq", "7")
  					self.c.set("qmin", "10")
  					self.c.set("qcomp", "0.6") ---> changed the value for "0,6", using a comma
  					self.c.set("qdiff", "4")
  					self.c.set("trellis", "1")

  The second one is much less important, but it also has to do with
  commas. Every time I click of preferences and I close the menu, on my
  "config.xml" file the value of the image size changes from "7" to
  "7,00", again giving me the following mistake:

  self.valImageLength.set_value(float(self.form.settings.general["imported_image_length"]))
  ValueError: invalid literal for float(): 7,00

  I haven't been able to fix it yet except by accessing the "config.xml"
  file and changing it manually to the default value, that is, "7".

  I think these issues can be easily fixed, so I hope that our
  developers include them for the future.

To manage notifications about this bug go to:
https://bugs.launchpad.net/openshot/+bug/927126/+subscriptions


References