secondlife / jira-archive

2 stars 0 forks source link

[BUG-232856] llSetLinkMedia definition #10044

Open sl-service-account opened 1 year ago

sl-service-account commented 1 year ago

What just happened?

I am using llSetLinkMedia function on faces of some mesh clothes. I am facing two problems:

What were you doing when it happened?

it's a simple script:

llSetLinkMedia(prim,face,[ PRIM_MEDIA_CURRENT_URL,path_video+(string)value,

PRIM_MEDIA_PERMS_INTERACT,PRIM_MEDIA_PERM_NONE, PRIM_MEDIA_PERMS_CONTROL,PRIM_MEDIA_PERM_NONE, PRIM_MEDIA_AUTO_SCALE,TRUE, PRIM_MEDIA_AUTO_ZOOM,TRUE, PRIM_MEDIA_AUTO_PLAY,TRUE, PRIM_MEDIA_AUTO_LOOP,TRUE ]);

What were you expecting to happen instead?

mp4 files to be read and to be looped

Other information

there is no info about video files constraints in: https://wiki.secondlife.com/wiki/LlSetLinkMedia

Original Jira Fields | Field | Value | | ------------- | ------------- | | Issue | BUG-232856 | | Summary | llSetLinkMedia definition | | Type | Bug | | Priority | Unset | | Status | Needs More Info | | Resolution | Unresolved | | Reporter | Ophelatex Demonia (ophelatex.demonia) | | Created at | 2022-11-03T16:03:42Z | | Updated at | 2022-11-15T18:45:34Z | ``` { 'Build Id': 'unset', 'Business Unit': ['Platform'], 'Date of First Response': '2022-11-03T12:21:00.139-0500', "Is there anything you'd like to add?": 'there is no info about video files constraints in:\r\nhttps://wiki.secondlife.com/wiki/LlSetLinkMedia\r\n', 'ReOpened Count': 0.0, 'Severity': 'Unset', 'System': 'SL Viewer', 'Target Viewer Version': 'viewer-development', 'What just happened?': "I am using llSetLinkMedia function on faces of some mesh clothes.\r\nI am facing two problems:\r\n- some mp4 files are stated as incompatible\r\n- some others mp4 files can't loop (read once only and stop)\r\nSome mp4 files are OK (read and loop).", 'What were you doing when it happened?': "it's a simple script:\r\n\r\nllSetLinkMedia(prim,face,[\r\n PRIM_MEDIA_CURRENT_URL,path_video+(string)value,\r\n\r\nPRIM_MEDIA_PERMS_INTERACT,PRIM_MEDIA_PERM_NONE,\r\nPRIM_MEDIA_PERMS_CONTROL,PRIM_MEDIA_PERM_NONE,\r\n PRIM_MEDIA_AUTO_SCALE,TRUE,\r\n PRIM_MEDIA_AUTO_ZOOM,TRUE,\r\n PRIM_MEDIA_AUTO_PLAY,TRUE,\r\n PRIM_MEDIA_AUTO_LOOP,TRUE\r\n ]);", 'What were you expecting to happen instead?': 'mp4 files to be read and to be looped', 'Where': 'http://maps.secondlife.com/secondlife/Whole%20New%20World/96/221/4081 (my workshop, but problems occurs in all sims)', } ```
sl-service-account commented 1 year ago

Ophelatex Demonia commented at 2022-11-03T16:12:37Z

may you add info about video constraints (mp4 or other formats) to make them compatible with media on faces of attached mesh objects.

if necessary, I will change some size, compression format, compression parameters to make my videos compatible with SL media projection on faces of attached mesh objects.

sl-service-account commented 1 year ago

Dan Linden commented at 2022-11-03T17:21:00Z

Hi Ophelatex,

The media decoding is handled by LibVLC Version: 3.0.16. Whatever media is handled by that should work in the viewer.

Do you have links to the media that does not loop and the media that does not play at all?

 

sl-service-account commented 1 year ago

Ophelatex Demonia commented at 2022-11-15T14:00:09Z, updated at 2022-11-15T14:00:21Z

Hi

I have both as défined in BUG

vidéos are OK on VLC 3.0.16, but not inworld.

 

sl-service-account commented 1 year ago

Dan Linden commented at 2022-11-15T18:37:33Z

Hi Ophelatex, Please provide a URL to a movie that you are trying to play so that we can investigate.

Note that playing media on other avatars is disabled by default. Preferences > Sound & Media > Play media attached to other avatars