tuankhac / share-extras

Automatically exported from code.google.com/p/share-extras
0 stars 0 forks source link

MediaPreviews #47

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Login as a Admin user and upload an .mp4 file into an Alfresco Share folder
2. Click on the media file
3. Click on play icon in the media preview

What is the expected output? What do you see instead?
Expected to see a video, but instead saw a black screen. Audio is fine.

What version of the add-on are you using? Please provide version of the 
downloaded package, or Subversion revision number.
 media-preview-0.2.jar

What version of Alfresco are you using? On what application server?
Using Alfresco Enterprise 3.4 on JBoss 4.3 CP6

What web browser are you using? Please supply browser name and version.
Chrome 14

Please provide any additional information below.
ffmpeg is installed and referenced in alfresco-global.properties

Also, seeing the following errors when click on the media file

   command:    [sh, -c, ${ffmpeg.exe} -y -ss 10 -i '/opt/jboss/jboss-4.3-CP06/jboss-eap-4.3/jboss-as/server/production04/tmp/Alfresco/RuntimeExecutableContentTransformerWorker_source_2071131460842550038.mp4' -f image2 -vframes 1 '/opt/jboss/jboss-4.3-CP06/jboss-eap-4.3/jboss-as/server/production04/tmp/Alfresco/RuntimeExecutableContentTransformerWorker_target_5220355998221859548.jpg' 2> /dev/null]
   succeeded:  false
   exit code:  1
   out:        
   err:        sh: ${ffmpeg.exe}: bad substitution

Original issue reported on code.google.com by tuanhu...@gmail.com on 4 Oct 2011 at 5:09

GoogleCodeExporter commented 8 years ago
Sorry, resolved ${ffmpeg.exe}: bad substitution error. However, still seeing a 
black screen when playing video.

Original comment by tuanhu...@gmail.com on 4 Oct 2011 at 5:26

GoogleCodeExporter commented 8 years ago
the media preview can play .flv file but it seems that it has an issue of 
playing .mp4 file. Did I miss any steps in configuration?

Original comment by tuanhu...@gmail.com on 4 Oct 2011 at 6:03

GoogleCodeExporter commented 8 years ago
Hi, it may be that the MP4 files do not play because the Flash player does not 
support the settings that they were encoded with. Do you get the thumbnail 
images?

Are you able to post the MP4 files to a public location for me to test them 
against my local install?

Alternatively you could try editing the file metadata to change the mimetype to 
another video type (e.g. Flash Video). This should force the player to generate 
a fresh rendition of the MP4 file using ffmpeg.

Original comment by will.abson on 7 Nov 2011 at 3:59

GoogleCodeExporter commented 8 years ago
Closing ticket due to lack of feedback

Original comment by will.abson on 17 Jul 2012 at 6:40