Foren

Source code for Liferay's patched xuggle-xuggler

thumbnail
Yuri Konotopov, geändert vor 7 Jahren.

Source code for Liferay's patched xuggle-xuggler

New Member Beiträge: 9 Beitrittsdatum: 27.02.12 Neueste Beiträge
I see that Liferay is using some patched version of xuggle-xuggler since Aug, 30.
Could you please clarify what exactly was patched? Are there patched sources available somewhere?
thumbnail
Juan Gonzalez, geändert vor 7 Jahren.

RE: Source code for Liferay's patched xuggle-xuggler

Liferay Legend Beiträge: 3089 Beitrittsdatum: 28.10.08 Neueste Beiträge
Hi Yuri.

We made a different Xuggler jar build, but only affects Window 64 binaries (xuggle-xuggler-arch-x86_64-w64-mingw32_LIFERAY-PATCHED-1.jar).

We actually didn't change any Xuggler source code, but disable ASM optimizations that are enabled by default in Xuggler build. We found these were causing many stability issues when using Windows 64 bit. environments.

There are different ways to disable asm optimizations, one of them is exporting this variable before compiling:

export XUGGLE_DEBUG=1


There are other ways, like setting

--enable-optimizations=no


when executing the configure phase, but first option does exactly that and seems less intrusive.

After that, executing the build for Windows (ant -Dbuild.configure.os=x86_64-w64-mingw32 clobber stage
) and it should create a bigger jar file that would perform a bit worse but will have good stability.

Hope it is helpful.
thumbnail
Yuri Konotopov, geändert vor 7 Jahren.

RE: Source code for Liferay's patched xuggle-xuggler

New Member Beiträge: 9 Beitrittsdatum: 27.02.12 Neueste Beiträge
Juan Gonzalez:
We actually didn't change any Xuggler source code, but disable ASM optimizations that are enabled by default in Xuggler build. We found these were causing many stability issues when using Windows 64 bit. environments.


I see, thanks.
FYI those asm problems were fixed in newer libx264 and ffmpeg minor versions.
thumbnail
Juan Gonzalez, geändert vor 7 Jahren.

RE: Source code for Liferay's patched xuggle-xuggler

Liferay Legend Beiträge: 3089 Beitrittsdatum: 28.10.08 Neueste Beiträge
Yuri Konotopov:

FYI those asm problems were fixed in newer libx264 and ffmpeg minor versions.


Thanks for that point. As Xuggler is a third party library and didn't see any bug (apart for the one mentioned in this thread) we prefer to keep away from upgrading each component. We will probably change to ffmpeg someday, but not planned yet.
thumbnail
Yuri Konotopov, geändert vor 7 Jahren.

RE: Source code for Liferay's patched xuggle-xuggler

New Member Beiträge: 9 Beitrittsdatum: 27.02.12 Neueste Beiträge
For those who interested Xuggle with upgraded components for Windows x86_64 is available here.

It also contains a fix for vorbis buffer overflow and compilled with optimizations enabled .

All source changes are available at Github.
thumbnail
Juan Gonzalez, geändert vor 7 Jahren.

RE: Source code for Liferay's patched xuggle-xuggler

Liferay Legend Beiträge: 3089 Beitrittsdatum: 28.10.08 Neueste Beiträge
Yuri Konotopov:
For those who interested Xuggle with upgraded components for Windows x86_64 is available here.

It also contains a fix for vorbis buffer overflow and compilled with optimizations enabled .

All source changes are available at Github.


Thanks very much Yuri.
Taruchit Goyal, geändert vor 5 Jahren.

RE: Source code for Liferay's patched xuggle-xuggler

Junior Member Beiträge: 60 Beitrittsdatum: 16.03.18 Neueste Beiträge

Hello All,

I was able to configure Xuggler plugin in Liferay 7; and it worked very well. However, is it possible to customize the functionality provided by it?
Reasons for customization: -
1. When we select the video and click on center or right aligned, then, video remains left aligned.

2. To change the dimension (width and height) of the video, we need to double click on it; thus, got to find a method of defining the same at the same point when we upload the video. 

Please guide the ways to achieve the modifications.

 

Thanks
Taruchit

thumbnail
Yuri Konotopov, geändert vor 5 Jahren.

RE: Source code for Liferay's patched xuggle-xuggler

New Member Beiträge: 9 Beitrittsdatum: 27.02.12 Neueste Beiträge
Taruchit Goyal:

is it possible to customize the functionality provided by it?
Reasons for customization: -
1. When we select the video and click on center or right aligned, then, video remains left aligned.

I don't think it's about Xuggler rather it's about AUI or WYSIWYG.

Taruchit Goyal:

2. To change the dimension (width and height) of the video, we need to double click on it; thus, got to find a method of defining the same at the same point when we upload the video. 

I'm unsure what are you talking about - preview resolution or widget size.

Preview resolution can not be configured per-video AFAIK. Widget size is configurable.

 

 

 

Taruchit Goyal, geändert vor 5 Jahren.

RE: Source code for Liferay's patched xuggle-xuggler

Junior Member Beiträge: 60 Beitrittsdatum: 16.03.18 Neueste Beiträge

Hello Yuri,

Thank you for the inputs.

 

1. When we upload the video using Xuggler button into web content, and then try to align it center or right by selecting the video and clicking alignment buttons on CKEditor, the video sticks towards the left side. Thus, to change the alignment of videos uploaded, I am looking for adding the suitable functionality to the editor.

 

2. When we upload a video, and then need to change the width and height, we need to double click on the video to get those options on the screen. This is not very helpful for end users, as there is no explicit button while uploading to change the same. Thus, I am exploring options to add the same in customized Xuggler plugin.

 

Please help with your views on above points and if possible please share a way to carry out the customization.

 

Regards

Taruchit Goyal