
Recherche avancée
Médias (1)
-
The Great Big Beautiful Tomorrow
28 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Texte
Autres articles (20)
-
Contribute to translation
13 avril 2011You can help us to improve the language used in the software interface to make MediaSPIP more accessible and user-friendly. You can also translate the interface into any language that allows it to spread to new linguistic communities.
To do this, we use the translation interface of SPIP where the all the language modules of MediaSPIP are available. Just subscribe to the mailing list and request further informantion on translation.
MediaSPIP is currently available in French and English (...) -
List of compatible distributions
26 avril 2011, parThe table below is the list of Linux distributions compatible with the automated installation script of MediaSPIP. Distribution nameVersion nameVersion number Debian Squeeze 6.x.x Debian Weezy 7.x.x Debian Jessie 8.x.x Ubuntu The Precise Pangolin 12.04 LTS Ubuntu The Trusty Tahr 14.04
If you want to help us improve this list, you can provide us access to a machine whose distribution is not mentioned above or send the necessary fixes to add (...) -
Submit bugs and patches
13 avril 2011Unfortunately a software is never perfect.
If you think you have found a bug, report it using our ticket system. Please to help us to fix it by providing the following information : the browser you are using, including the exact version as precise an explanation as possible of the problem if possible, the steps taken resulting in the problem a link to the site / page in question
If you think you have solved the bug, fill in a ticket and attach to it a corrective patch.
You may also (...)
Sur d’autres sites (5695)
-
FFmpeg drop HLS frames
6 juillet 2017, par Vladi’am start ffmpeg
vlad@s1 : /hls/first$ ffmpeg -re -i http://86.57.225.238:8090 -c:v copy -c:a copy index.m3u8
but ffmpeg don’t start. what it is a problem ?
Input #0, mpegts, from 'http://86.57.225.238:8090':
Duration: N/A, start: 88845.286311, bitrate: N/A
Program 1
Metadata:
service_name : Bel_4 Mogilev
service_provider: Bel_4 Mogilev
Stream #0:0[0xc9]: Video: h264 (Main) ([27][0][0][0] / 0x001B), yuv420p, 720x576 [SAR 12:11 DAR 15:11], 25 fps, 25 tbr, 90k tbn, 50 tbc
Stream #0:1[0xca]: Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, stereo, s16p, 224 kb/s
Output #0, hls, to 'index.m3u8':
Metadata:
encoder : Lavf56.40.101
Stream #0:0: Video: h264 ([27][0][0][0] / 0x001B), yuv420p, 720x576 [SAR 12:11 DAR 15:11], q=2-31, 25 fps, 25 tbr, 90k tbn, 25 tbc
Stream #0:1: Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, stereo, 224 kb/s
Stream mapping:
Stream #0:0 -> #0:0 (copy)
Stream #0:1 -> #0:1 (copy)
Press [q] to stop, [?] for help
frame= 0 fps=0.0 q=-1.0 size=N/A time=00:00:41.35 bitrate=N/A -
bigbluebutton ...
7 mars 2015, par signo
Hello i have a BigBlueButton (0.9.0-beta (622)) installation on Debian Wheezy (7.8) all is ok except archiving recordings...
in the log (/var/log/bigbluebutton/archive-488052dc7c095c74bf8992ec51a66298db04b765-1425642166675.log) i have always same message :
I, [2015-03-06T11:48:19.320704 #4550] INFO -- : Archiving events for 488052dc7c095c74bf8992ec51a66298db04b765-1425642166675.
W, [2015-03-06T11:48:19.851280 #4550] WARN -- : Failed to archive events for 488052dc7c095c74bf8992ec51a66298db04b765-1425642166675. Permission denied - /var/bigbluebutton/recording/raw/488052dc7c095c74bf8992ec51a66298db04b765-1425642166675/events.xml (complete error below...)but all directory are writable by right user (tomcat7).
More Info :
bbb packages installed
ii bbb-apps 0.9.0-1ubuntu88 amd64 BigBlueButton applications for Red5
ii bbb-apps-deskshare 0.9.0-1ubuntu25 amd64 BigBlueButton deskshare module for Red5
ii bbb-apps-sip 0.9.0-1ubuntu19 amd64 BigBlueButton SIP module for Red5
ii bbb-apps-video 0.9.0-1ubuntu18 amd64 BigBlueButton video module for Red5
ii bbb-client 0.9.0-1ubuntu235 all BigBlueButton Flash client
ii bbb-config 0.9.0-1ubuntu42 all BigBlueButton configuration
rc bbb-demo 0.9.0-1ubuntu8 amd64 BigBlueButton API demos
ii bbb-freeswitch 0.9.0-1ubuntu38 amd64 BigBlueButton build of FreeSWITCH 1.5.x
ii bbb-mkclean 0.8.7-1 amd64 tool to clean and optimize Matroska and WebM files
ii bbb-office 0.9.0-1ubuntu6 amd64 BigBlueButton wrapper for LibreOffice
ii bbb-playback-presentation 0.9.0-1ubuntu11 amd64 BigBluebutton playback of presentation
ii bbb-record-core 0.9.0-1ubuntu37 amd64 BigBlueButton record and playback
ii bbb-red5 0.9.0-1ubuntu25 amd64 The Red5 server for bbb
ii bbb-swftools 0.9.2-1ubuntu14 amd64 The swftools files for bbb
ii bbb-web 0.9.0-1ubuntu54 all BigBlueButton API
ii bigbluebutton 0.9.0-1ubuntu2 amd64 Open source web conferencing platform (bbb)
bbb-conf —check
BigBlueButton Server 0.9.0-beta (622)
Kernel version: 3.16.0-4-amd64(64-bit)
Memory: 12044 MB
/var/www/bigbluebutton/client/conf/config.xml (bbb-client)
Port test (tunnel): 2xx.xxx.xxx.xx
Red5: 2xx.xxx.xxx.xx
useWebrtcIfAvailable: true
/opt/freeswitch/conf/sip_profiles/external.xml (FreeSWITCH)
websocket port: 5066
WebRTC enabled: true
/etc/nginx/sites-available/bigbluebutton (nginx)
server name: 2xx.xxx.xxx.xx
port: 80
bbb-client dir: /var/www/bigbluebutton
/var/lib/tomcat7/webapps/bigbluebutton/WEB-INF/classes/bigbluebutton.properties (bbb-web)
bbb-web host: 2xx.xxx.xxx.xx
/usr/share/red5/webapps/bigbluebutton/WEB-INF/red5-web.xml (red5)
voice conference: FreeSWITCH
capture video: true
capture desktop: true
/usr/local/bigbluebutton/core/scripts/bigbluebutton.yml (record and playback)
playback host: 2xx.xxx.xxx.xx
* Potential problems described below **
# IP does not match:
# IP from ifconfig: 172.xx.xxx.xx
# /etc/nginx/sites-available/bigbluebutton: 2xx.xxx.xxx.xx
# Error: Unable to connect to port 1935 (RTMP) 2xx.xxx.xxx.xx
# Error: Unable to connect to port 9123 (desktop sharing) on 212.xxx.xxx.xx
ls -l /var/freeswitch/meetings/
-rw-r--r-- 1 freeswitch daemon 5139984 Mar 6 11:44 488052dc7c095c74bf8992ec51a66298db04b765-1425642166675-81976383.wav
ls -l /usr/share/red5/webapps/video/streams/488052dc7c095c74bf8992ec51a66298db04b765-1425642166675/
-rw-rw-r-- 1 red5 red5 438342 Mar 6 11:44 320x240-cztd6nyzasaz_1-1425642114164.flv
ls -l /usr/share/red5/webapps/video/streams/488052dc7c095c74bf8992ec51a66298db04b765-1425642166675/
-rw-rw-r-- 1 red5 red5 438342 Mar 6 11:44 320x240-cztd6nyzasaz_1-1425642114164.flv
cat /usr/share/red5/webapps/video/WEB-INF/red5-web.xml
<bean class="org.bigbluebutton.app.video.VideoApplication">
<property value="true"></property>
<property ref="redisRecorder"></property>
</bean>
cat /usr/share/red5/webapps/deskshare/WEB-INF/red5-web.xml
<bean class="org.bigbluebutton.deskshare.server.stream.StreamManager">
</bean>
bbb-record —watch
Every 2.0s: bbb-record --list20 Fri Mar 6 11:53:58 2015
Internal MeetingID Time APVD APVDE RAS Slides Processed Published External MeetingID
------------------------------------------------------ ---------------------------- ---- ----- --- ------ -------------------- ------------------ -------------------
57d9849193299cebe9409d1c98d175958331d34a-1425642748807 Fri 6 Mar 11:52:28 GMT 2015 X 5
488052dc7c095c74bf8992ec51a66298db04b765-1425642166675 Fri 6 Mar 11:42:46 GMT 2015 XXX X 6
bbb-record —debug
E, [2015-03-06T11:48:20.335578 #4548] ERROR -- : Sanity check failed on 488052dc7c095c74bf8992ec51a66298db04b765-1425642166675
cat /var/log/bigbluebutton/archive-488052dc7c095c74bf8992ec51a66298db04b765-1425642166675.log
# Logfile created on 2015-03-06 11:48:19 +0000 by logger.rb/31641
I, [2015-03-06T11:48:19.320704 #4550] INFO -- : Archiving events for 488052dc7c095c74bf8992ec51a66298db04b765-1425642166675.
W, [2015-03-06T11:48:19.851280 #4550] WARN -- : Failed to archive events for 488052dc7c095c74bf8992ec51a66298db04b765-1425642166675. Permission denied - /var/bigbluebutton/recording/raw/488052dc7c095c74bf8992ec51a66298db04b765-1425642166675/events.xml
I, [2015-03-06T11:48:19.851428 #4550] INFO -- : Fetching the recording marks for 488052dc7c095c74bf8992ec51a66298db04b765-1425642166675.
I, [2015-03-06T11:48:19.851501 #4550] INFO -- : Getting record status events
W, [2015-03-06T11:48:19.851585 #4550] WARN -- : Failed to fetch the recording marks for 488052dc7c095c74bf8992ec51a66298db04b765-1425642166675. Permission denied - /var/bigbluebutton/recording/raw/488052dc7c095c74bf8992ec51a66298db04b765-1425642166675/events.xml
I, [2015-03-06T11:48:19.851645 #4550] INFO -- : Archiving audio /var/freeswitch/meetings/488052dc7c095c74bf8992ec51a66298db04b765-1425642166675*.wav.
W, [2015-03-06T11:48:19.851920 #4550] WARN -- : Failed to archive audio for 488052dc7c095c74bf8992ec51a66298db04b765-1425642166675. Permission denied - /var/bigbluebutton/recording/raw/488052dc7c095c74bf8992ec51a66298db04b765-1425642166675/audio
I, [2015-03-06T11:48:19.851981 #4550] INFO -- : Archiving presentation for 488052dc7c095c74bf8992ec51a66298db04b765-1425642166675.
W, [2015-03-06T11:48:19.852257 #4550] WARN -- : Failed to archive presentations for 488052dc7c095c74bf8992ec51a66298db04b765-1425642166675. Permission denied - /var/bigbluebutton/recording/raw/488052dc7c095c74bf8992ec51a66298db04b765-1425642166675/presentation
I, [2015-03-06T11:48:19.852322 #4550] INFO -- : Archiving deskshare for 488052dc7c095c74bf8992ec51a66298db04b765-1425642166675.
W, [2015-03-06T11:48:19.852561 #4550] WARN -- : Failed to archive deskshare for 488052dc7c095c74bf8992ec51a66298db04b765-1425642166675. Permission denied - /var/bigbluebutton/recording/raw/488052dc7c095c74bf8992ec51a66298db04b765-1425642166675/deskshare
I, [2015-03-06T11:48:19.852620 #4550] INFO -- : Archiving video for 488052dc7c095c74bf8992ec51a66298db04b765-1425642166675.
W, [2015-03-06T11:48:19.852834 #4550] WARN -- : Failed to archive video for 488052dc7c095c74bf8992ec51a66298db04b765-1425642166675. Permission denied - /var/bigbluebutton/recording/raw/488052dc7c095c74bf8992ec51a66298db04b765-1425642166675/video
all folder under /var/bigbluebutton/ have same rights (drwxrwxrwx tomcat7 tomcat7)
ls -l /var/bigbluebutton/
total 40
drwxr-xr-x 3 tomcat7 tomcat7 4096 Mar 6 11:42 488052dc7c095c74bf8992ec51a66298db04b765-1425642166675
drwxr-xr-x 3 tomcat7 tomcat7 4096 Mar 6 11:52 57d9849193299cebe9409d1c98d175958331d34a-1425642748807
drwxrwxrwx 2 tomcat7 tomcat7 4096 Mar 3 15:52 blank
drwxrwxrwx 2 tomcat7 tomcat7 4096 Feb 17 17:17 configs
drwxrwxrwx 2 tomcat7 tomcat7 4096 Mar 3 15:57 deskshare
drwxrwxrwx 2 tomcat7 tomcat7 4096 Mar 3 15:57 meetings
drwxrwxrwx 3 tomcat7 tomcat7 4096 Mar 3 15:52 playback
drwxrwxrwx 3 tomcat7 tomcat7 4096 Mar 3 15:57 published
drwxrwxrwx 6 tomcat7 tomcat7 4096 Mar 3 15:57 recording
drwxrwxrwx 2 tomcat7 tomcat7 4096 Mar 3 15:57 unpublished -
I tried to play the audio on Alexa skill from my S3 Bucket, from the test tab, **it show but in fact, I can't hear any sound
19 avril 2022, par Siti MaynaSo I tried to play the audio on Alexa skill from my S3 Bucket, from the test tab, it show but in fact, I can't hear any sound. Another fact is, that I tried to use the sample audio from https://developer.amazon.com/en-US/docs/alexa/custom-skills/ask-soundlibrary.html and it is worked, but why it won't work when it comes from my own S3 Bucket ?


Notes :


I've tried to test the skill using my mobile phone also.


I've tried to encode the audio using FFmpeg.


I've tried to use Jovo to convert the audio. https://v3.jovo.tech/audio-converter


I don't know how to fix this error.


There is no error message on cloud watch.


Assumptions :
There is some problem related to the audio resources or there is more set to play audio from S3 Bucket since the sample audio is working.


Steps to reproduce :




Build the interaction model






Encode the audio to make it Alexa skill friendly (fulfill the requirements, like sample rate, etc), I used and tried all of these :




A :


ffmpeg -i -ac 2 -codec:a libmp3lame -b:a 48k -ar 16000 -write_xing 0 



B :


ffmpeg -i -ac 2 -codec:a libmp3lame -b:a 48k -ar 24000 -write_xing 0 



C :


ffmpeg -y -i input.mp3 -ar 16000 -ab 48k -codec:a libmp3lame -ac 1 output.mp3





Upload the audio resources on S3Bucket
Audio sample on s3 storage but none of them are produce any sounds






Use the link and insert it to APLA.json





 {
 "type": "APLA",
 "version": "0.91",
 "description": "Simple document that generates speech",
 "mainTemplate": {
 "parameters": [
 "payload"
 ],
 "type": "Sequencer",
 "items": [
 {
 "type": "Audio",
 "source": "https://72578561-d9d8-47b4-811c-cafbcbc5ddb9-us-east-1.s3.amazonaws.com/Media/one-small-step-alexa-24.mp3"
 }
 ]
 }
 }




notes : I change the link sources based on audio that I tried.




the intent on lambda_function.py :




def _load_apl_document(file_path):
 # type: (str) -> Dict[str, Any]
 """Load the apl json document at the path into a dict object."""
 with open(file_path) as f:
 return json.load(f)

class LaunchRequestHandler(AbstractRequestHandler):
 """Handler for Skill Launch."""
 def can_handle(self, handler_input):
 # type: (HandlerInput) -> bool

 return ask_utils.is_request_type("LaunchRequest")(handler_input)

 def handle(self, handler_input):
 # type: (HandlerInput) -> Response
 logger.info("In LaunchRequestHandler")

 # type: (HandlerInput) -> Response
 speak_output = "Hello World!"
 # .ask("add a reprompt if you want to keep the session open for the user to respond")

 return (
 handler_input.response_builder
 #.speak(speak_output)
 .add_directive(
 RenderDocumentDirective(
 token="pagerToken",
 document=_load_apl_document("APLA.json"),
 datasources={}
 )
 )
 .response
 )





Deploy






Test it






The result of the test on my end :

The response for testing




the JSON response :


{
 "body": {
 "version": "1.0",
 "response": {
 "directives": [
 {
 "type": "Alexa.Presentation.APLA.RenderDocument",
 "token": "pagerToken",
 "document": {
 "type": "APLA",
 "version": "0.91",
 "description": "Simple document that generates speech",
 "mainTemplate": {
 "parameters": [
 "payload"
 ],
 "type": "Sequencer",
 "items": [
 {
 "type": "Audio",
 "source": "https://72578561-d9d8-47b4-811c-cafbcbc5ddb9-us-east-1.s3.amazonaws.com/Media/one-small-step-alexa-24.mp3"
 }
 ]
 }
 },
 "datasources": {}
 }
 ],
 "type": "_DEFAULT_RESPONSE"
 },
 "sessionAttributes": {},
 "userAgent": "ask-python/1.16.1 Python/3.7.12"
 }
}





On my cloud Watch :
Cloud Watch