Recherche avancée

Médias (91)

Autres articles (97)

  • Encoding and processing into web-friendly formats

    13 avril 2011, par

    MediaSPIP automatically converts uploaded files to internet-compatible formats.
    Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
    Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
    Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
    All uploaded files are stored online in their original format, so you can (...)

  • Installation en mode ferme

    4 février 2011, par

    Le mode ferme permet d’héberger plusieurs sites de type MediaSPIP en n’installant qu’une seule fois son noyau fonctionnel.
    C’est la méthode que nous utilisons sur cette même plateforme.
    L’utilisation en mode ferme nécessite de connaïtre un peu le mécanisme de SPIP contrairement à la version standalone qui ne nécessite pas réellement de connaissances spécifique puisque l’espace privé habituel de SPIP n’est plus utilisé.
    Dans un premier temps, vous devez avoir installé les mêmes fichiers que l’installation (...)

  • Installation en mode standalone

    4 février 2011, par

    L’installation de la distribution MediaSPIP se fait en plusieurs étapes : la récupération des fichiers nécessaires. À ce moment là deux méthodes sont possibles : en installant l’archive ZIP contenant l’ensemble de la distribution ; via SVN en récupérant les sources de chaque modules séparément ; la préconfiguration ; l’installation définitive ;
    [mediaspip_zip]Installation de l’archive ZIP de MediaSPIP
    Ce mode d’installation est la méthode la plus simple afin d’installer l’ensemble de la distribution (...)

Sur d’autres sites (7756)

  • Linphone OSx msx264 encryption VGA takes 97% CPU, why ?

    11 septembre 2013, par Maxim Shoustin

    I have problem and today don't know how to fix it or even from where to start.

    I have Linphone application that uses msx264 plugin.

    All stuff I run on OSx and my ffmpeg version installed from port , I didn't using selfupdate for port

    bash-3.2# port installed ffmpeg-devel

    The following ports are currently installed:
    ffmpeg-devel @20130205_0+gpl2
    ffmpeg-devel @20130328_0 (active)
    ffmpeg-devel @20130328_0+gpl2

    So I compiled and build msx264, no errors.

    Now I try to send video over CIP resolution VGA (640x480) and get huge delay 8-9 seconds, even self-view I see in big delay.

    when I configure CIF (352x288), all seems fine.

    It's really strange that self-view camera has delay 4-5 sec.

    So from logs during the session I found that msx264 plugin takes 97% CPU

    On PC (windows 7) the same code runs fine, even HD I don't see any problems.

    What is the problem should be ?

    warning: Video MSTicker: We are late of 32146 miliseconds.
    message: Filter MSRtpRecv is not scheduled; nothing to do.
    message: ===========================================================
    message:              AUDIO SESSION'S RTP STATISTICS                
    message: -----------------------------------------------------------
    message: sent                                          2344 packets
    message:                                             403168 bytes  
    message: received                                      2038 packets
    message:                                             350536 bytes  
    message: incoming delivered to the app               325080 bytes  
    message: lost                                             0 packets
    message: received too late                              123 packets
    message: bad formatted                                    0 packets
    message: discarded (queue overflow)                      17 packets
    message: ===========================================================
    message: ms_filter_unlink: MSAuRead:0x7fb5a34955b0,0-->MSResample:0x7fb5aa917820,0
    message: ms_filter_unlink: MSResample:0x7fb5aa917820,0-->MSSpeexEC:0x7fb5a34f6d20,1
    message: ms_filter_unlink: MSSpeexEC:0x7fb5a34f6d20,1-->MSVolume:0x7fb5a3493450,0
    message: ms_filter_unlink: MSVolume:0x7fb5a3493450,0-->MSTee:0x7fb5a3498e40,0
    message: ms_filter_unlink: MSTee:0x7fb5a3498e40,0-->MSUlawEnc:0x7fb5a3499410,0
    message: ms_filter_unlink: MSUlawEnc:0x7fb5a3499410,0-->MSRtpSend:0x7fb5aa910ba0,0
    message: ms_filter_unlink: MSRtpRecv:0x7fb5a3400170,0-->MSUlawDec:0x7fb5a34933c0,0
    message: ms_filter_unlink: MSUlawDec:0x7fb5a34933c0,0-->MSGenericPLC:0x7fb5aa91b040,0
    message: ms_filter_unlink: MSGenericPLC:0x7fb5aa91b040,0-->MSDtmfGen:0x7fb5a6585f00,0
    message: ms_filter_unlink: MSDtmfGen:0x7fb5a6585f00,0-->MSVolume:0x7fb5aa917790,0
    message: ms_filter_unlink: MSVolume:0x7fb5aa917790,0-->MSTee:0x7fb5aa914fc0,0
    message: ms_filter_unlink: MSTee:0x7fb5aa914fc0,0-->MSEqualizer:0x7fb5a3498f50,0
    message: ms_filter_unlink: MSEqualizer:0x7fb5a3498f50,0-->MSSpeexEC:0x7fb5a34f6d20,0
    message: ms_filter_unlink: MSSpeexEC:0x7fb5a34f6d20,0-->MSResample:0x7fb5aa9178b0,0
    message: ms_filter_unlink: MSResample:0x7fb5aa9178b0,0-->MSAuWrite:0x7fb5a3499380,0
    message: ms_filter_unlink: MSTee:0x7fb5a3498e40,1-->MSAudioMixer:0x7fb5aa914df0,0
    message: ms_filter_unlink: MSTee:0x7fb5aa914fc0,1-->MSAudioMixer:0x7fb5aa914df0,1
    message: ms_filter_unlink: MSAudioMixer:0x7fb5aa914df0,0-->MSFileRec:0x7fb5aa911020,0
    message: Audio MSTicker thread exiting
    message: ===========================================================
    message:                   FILTER USAGE STATISTICS                  
    message: Name                Count     Time/tick (ms)      CPU Usage
    message: -----------------------------------------------------------
    message: MSX264Enc           321       138.147             97.1677  
    message: MSResample          8076      0.0550274           0.97085  
    message: MSSpeexEC           4302      0.0873765           0.821276  
    message: MSH264Dec           291       0.880267            0.561463  
    message: MSRtpSend           6174      0.012353            0.166623  
    message: MSRtpRecv           6174      0.0115132           0.155295  
    message: MSOSXGLDisplay      375       0.0376117           0.0308912
    message: MSAudioMixer        4695      0.00249638          0.0256072
    message: MSV4m               1480      0.00740446          0.0239537
    message: MSUlawEnc           4038      0.0019542           0.0172411
    message: MSTee               6540      0.000698976         0.00998688
    message: MSAuRead            4695      0.00095017          0.0097466
    message: MSUlawDec           1890      0.00205553          0.00849059
    message: MSVolume            5928      0.000633159         0.00820007
    message: MSFileRec           4695      0.000722743         0.00741371
    message: MSDtmfGen           4695      0.0005              0.00512887
    message: MSGenericPLC        4695      0.000429514         0.00440585
    message: MSAuWrite           4038      0.000364199         0.00321319
    message: MSEqualizer         1890      0.000250661         0.00103538
    message: MSSizeConv          322       0.00104334          0.000736128
    message: MSJpegWriter        290       0.000694158         0.00044124
    message: MSPixConv           322       0.000405573         0.000286151
    message: MSFilePlayer        0         0                   0        
    message: MSVoidSink          0         0                   0        
    message: ===========================================================
    warning: Video MSTicker: We are late of 32256 miliseconds.
    message: v4m video device closed.
    message: Filter MSRtpRecv is not scheduled; nothing to do.
    message: ===========================================================
    message:              VIDEO SESSION'S RTP STATISTICS                
    message: -----------------------------------------------------------
    message: sent                                          1311 packets
    message:                                            1517528 bytes  
    message: received                                      1783 packets
    message:                                            1049010 bytes  
    message: incoming delivered to the app               986868 bytes  
    message: lost                                             0 packets
    message: received too late                                0 packets
    message: bad formatted                                    0 packets
    message: discarded (queue overflow)                       0 packets
    message: ===========================================================

    In addition the application shows me delay status, from logs :

    message:: Dialog [0x7fb5a7634940]: now updated by transaction [0x7fb5aa9685d0].
    warning: Video MSTicker: We are late of 20415 miliseconds.
    warning: Video MSTicker: We are late of 20564 miliseconds.
    message:: A SPS is being sent.
    message:: A PPS is being sent.
    warning: Video MSTicker: We are late of 20609 miliseconds.
    warning: Video MSTicker: We are late of 20636 miliseconds.
    warning: Video MSTicker: We are late of 20694 miliseconds.
    warning: Video MSTicker: We are late of 20784 miliseconds.
    warning: Video MSTicker: We are late of 20894 miliseconds.
    warning: Video MSTicker: We are late of 21016 miliseconds.
    warning: echo canceller: we are accumulating too much reference signal, need to throw out 1216 samples
    message:: audio_stream_iterate(): local statistics available
    Local's current jitter buffer size:77.440002 ms
    message:: bandwidth usage: audio=[d=80.1,u=80.1] video=[d=305.3,u=441.8] kbit/sec
    message:: Thread processing load: audio=2.135499    video=1268.186768
    warning: Video MSTicker: We are late of 21134 miliseconds.
    warning: Video MSTicker: We are late of 21256 miliseconds.
    warning: Video MSTicker: We are late of 21382 miliseconds.
    warning: Video MSTicker: We are late of 21506 miliseconds.
    warning: Video MSTicker: We are late of 21638 miliseconds.
    warning: Video MSTicker: We are late of 21781 miliseconds.
    warning: Video MSTicker: We are late of 21921 miliseconds.
    message:: bandwidth usage: audio=[d=81.6,u=80.0] video=[d=271.9,u=185.5] kbit/sec
    message:: Thread processing load: audio=1.971647    video=1342.125000
    warning: Video MSTicker: We are late of 22068 miliseconds.
    message:: audio_stream_iterate(): remote statistics available
    remote's interarrival jitter=68
    remote's lost packets percentage since last report=0.390625
    round trip time=0.258850 seconds
    warning: Video MSTicker: We are late of 22216 miliseconds.

    Please, help me to find the problem.

    Thanks,

    this is a msx264 git repository : git clone git://git.linphone.org/msx264.git

  • Linphone OSx msx264 encryption VGA takes 97% CPU, why ?

    11 septembre 2013, par Maxim Shoustin

    I have problem and today don't know how to fix it or even from where to start.

    I have Linphone application that uses msx264 plugin.

    All stuff I run on OSx and my ffmpeg version installed from port , I didn't using selfupdate for port

    bash-3.2# port installed ffmpeg-devel

    The following ports are currently installed:
    ffmpeg-devel @20130205_0+gpl2
    ffmpeg-devel @20130328_0 (active)
    ffmpeg-devel @20130328_0+gpl2

    So I compiled and build msx264, no errors.

    Now I try to send video over CIP resolution VGA (640x480) and get huge delay 8-9 seconds, even self-view I see in big delay.

    when I configure CIF (352x288), all seems fine.

    It's really strange that self-view camera has delay 4-5 sec.

    So from logs during the session I found that msx264 plugin takes 97% CPU

    On PC (windows 7) the same code runs fine, even HD I don't see any problems.

    What is the problem should be ?

    warning: Video MSTicker: We are late of 32146 miliseconds.
    message: Filter MSRtpRecv is not scheduled; nothing to do.
    message: ===========================================================
    message:              AUDIO SESSION'S RTP STATISTICS                
    message: -----------------------------------------------------------
    message: sent                                          2344 packets
    message:                                             403168 bytes  
    message: received                                      2038 packets
    message:                                             350536 bytes  
    message: incoming delivered to the app               325080 bytes  
    message: lost                                             0 packets
    message: received too late                              123 packets
    message: bad formatted                                    0 packets
    message: discarded (queue overflow)                      17 packets
    message: ===========================================================
    message: ms_filter_unlink: MSAuRead:0x7fb5a34955b0,0-->MSResample:0x7fb5aa917820,0
    message: ms_filter_unlink: MSResample:0x7fb5aa917820,0-->MSSpeexEC:0x7fb5a34f6d20,1
    message: ms_filter_unlink: MSSpeexEC:0x7fb5a34f6d20,1-->MSVolume:0x7fb5a3493450,0
    message: ms_filter_unlink: MSVolume:0x7fb5a3493450,0-->MSTee:0x7fb5a3498e40,0
    message: ms_filter_unlink: MSTee:0x7fb5a3498e40,0-->MSUlawEnc:0x7fb5a3499410,0
    message: ms_filter_unlink: MSUlawEnc:0x7fb5a3499410,0-->MSRtpSend:0x7fb5aa910ba0,0
    message: ms_filter_unlink: MSRtpRecv:0x7fb5a3400170,0-->MSUlawDec:0x7fb5a34933c0,0
    message: ms_filter_unlink: MSUlawDec:0x7fb5a34933c0,0-->MSGenericPLC:0x7fb5aa91b040,0
    message: ms_filter_unlink: MSGenericPLC:0x7fb5aa91b040,0-->MSDtmfGen:0x7fb5a6585f00,0
    message: ms_filter_unlink: MSDtmfGen:0x7fb5a6585f00,0-->MSVolume:0x7fb5aa917790,0
    message: ms_filter_unlink: MSVolume:0x7fb5aa917790,0-->MSTee:0x7fb5aa914fc0,0
    message: ms_filter_unlink: MSTee:0x7fb5aa914fc0,0-->MSEqualizer:0x7fb5a3498f50,0
    message: ms_filter_unlink: MSEqualizer:0x7fb5a3498f50,0-->MSSpeexEC:0x7fb5a34f6d20,0
    message: ms_filter_unlink: MSSpeexEC:0x7fb5a34f6d20,0-->MSResample:0x7fb5aa9178b0,0
    message: ms_filter_unlink: MSResample:0x7fb5aa9178b0,0-->MSAuWrite:0x7fb5a3499380,0
    message: ms_filter_unlink: MSTee:0x7fb5a3498e40,1-->MSAudioMixer:0x7fb5aa914df0,0
    message: ms_filter_unlink: MSTee:0x7fb5aa914fc0,1-->MSAudioMixer:0x7fb5aa914df0,1
    message: ms_filter_unlink: MSAudioMixer:0x7fb5aa914df0,0-->MSFileRec:0x7fb5aa911020,0
    message: Audio MSTicker thread exiting
    message: ===========================================================
    message:                   FILTER USAGE STATISTICS                  
    message: Name                Count     Time/tick (ms)      CPU Usage
    message: -----------------------------------------------------------
    message: MSX264Enc           321       138.147             97.1677  
    message: MSResample          8076      0.0550274           0.97085  
    message: MSSpeexEC           4302      0.0873765           0.821276  
    message: MSH264Dec           291       0.880267            0.561463  
    message: MSRtpSend           6174      0.012353            0.166623  
    message: MSRtpRecv           6174      0.0115132           0.155295  
    message: MSOSXGLDisplay      375       0.0376117           0.0308912
    message: MSAudioMixer        4695      0.00249638          0.0256072
    message: MSV4m               1480      0.00740446          0.0239537
    message: MSUlawEnc           4038      0.0019542           0.0172411
    message: MSTee               6540      0.000698976         0.00998688
    message: MSAuRead            4695      0.00095017          0.0097466
    message: MSUlawDec           1890      0.00205553          0.00849059
    message: MSVolume            5928      0.000633159         0.00820007
    message: MSFileRec           4695      0.000722743         0.00741371
    message: MSDtmfGen           4695      0.0005              0.00512887
    message: MSGenericPLC        4695      0.000429514         0.00440585
    message: MSAuWrite           4038      0.000364199         0.00321319
    message: MSEqualizer         1890      0.000250661         0.00103538
    message: MSSizeConv          322       0.00104334          0.000736128
    message: MSJpegWriter        290       0.000694158         0.00044124
    message: MSPixConv           322       0.000405573         0.000286151
    message: MSFilePlayer        0         0                   0        
    message: MSVoidSink          0         0                   0        
    message: ===========================================================
    warning: Video MSTicker: We are late of 32256 miliseconds.
    message: v4m video device closed.
    message: Filter MSRtpRecv is not scheduled; nothing to do.
    message: ===========================================================
    message:              VIDEO SESSION'S RTP STATISTICS                
    message: -----------------------------------------------------------
    message: sent                                          1311 packets
    message:                                            1517528 bytes  
    message: received                                      1783 packets
    message:                                            1049010 bytes  
    message: incoming delivered to the app               986868 bytes  
    message: lost                                             0 packets
    message: received too late                                0 packets
    message: bad formatted                                    0 packets
    message: discarded (queue overflow)                       0 packets
    message: ===========================================================

    In addition the application shows me delay status, from logs :

    message:: Dialog [0x7fb5a7634940]: now updated by transaction [0x7fb5aa9685d0].
    warning: Video MSTicker: We are late of 20415 miliseconds.
    warning: Video MSTicker: We are late of 20564 miliseconds.
    message:: A SPS is being sent.
    message:: A PPS is being sent.
    warning: Video MSTicker: We are late of 20609 miliseconds.
    warning: Video MSTicker: We are late of 20636 miliseconds.
    warning: Video MSTicker: We are late of 20694 miliseconds.
    warning: Video MSTicker: We are late of 20784 miliseconds.
    warning: Video MSTicker: We are late of 20894 miliseconds.
    warning: Video MSTicker: We are late of 21016 miliseconds.
    warning: echo canceller: we are accumulating too much reference signal, need to throw out 1216 samples
    message:: audio_stream_iterate(): local statistics available
    Local's current jitter buffer size:77.440002 ms
    message:: bandwidth usage: audio=[d=80.1,u=80.1] video=[d=305.3,u=441.8] kbit/sec
    message:: Thread processing load: audio=2.135499    video=1268.186768
    warning: Video MSTicker: We are late of 21134 miliseconds.
    warning: Video MSTicker: We are late of 21256 miliseconds.
    warning: Video MSTicker: We are late of 21382 miliseconds.
    warning: Video MSTicker: We are late of 21506 miliseconds.
    warning: Video MSTicker: We are late of 21638 miliseconds.
    warning: Video MSTicker: We are late of 21781 miliseconds.
    warning: Video MSTicker: We are late of 21921 miliseconds.
    message:: bandwidth usage: audio=[d=81.6,u=80.0] video=[d=271.9,u=185.5] kbit/sec
    message:: Thread processing load: audio=1.971647    video=1342.125000
    warning: Video MSTicker: We are late of 22068 miliseconds.
    message:: audio_stream_iterate(): remote statistics available
    remote's interarrival jitter=68
    remote's lost packets percentage since last report=0.390625
    round trip time=0.258850 seconds
    warning: Video MSTicker: We are late of 22216 miliseconds.

    Please, help me to find the problem.

    Thanks,

    this is a msx264 git repository : git clone git://git.linphone.org/msx264.git

  • Noobs approach to automate x264 cmd

    16 novembre 2012, par nightcrawler

    so here is my script to loop through specific video extensions » add a manual profile » generate necessary *.bat & finally a final 'loader' batch file to execute previous *.bat files sequentially & necessary logging (this gives quiet a deal of freedom if you so want)

    ::==
    :: gets lines into vars c1 v2 v...
    @echo off
    :: user input required
    cd /d "d:\Trainers\out\"
    setLocal EnableDelayedExpansion
    dir /B /O:N | findstr ".wmv$ " >filename.txt
    echo. >log.txt
    :: user input required
    for /f "tokens=* delims= " %%a in ('type filename.txt ^|findstr ".wmv$"') do (
    set /a n+=1
    echo. >file!n!.bat
    set in=%in%%%a
    :: user input required
    set out=!in:.wmv=.mp4!
    :: user input required
    set v=x264 --crf 23  --level 3.1 --tune film -o "d:\Trainers\out\!in!" "d:\Trainers\out\!out!"
    echo. !v!>file!n!.bat
    )
    dir /B /O:N | findstr ".bat$ " >x264_home.txt
    for /f "tokens=* delims= " %%a in (x264_home.txt) do (
    set /a n+=1
    :: mtee is an external library Google it
    set "z=call %%a | mtee /d/c/t/+ log.txt"
    echo. !z! >> x264_home.bat
    )
    echo. @echo off > newFile.bat
    type x264_home.bat >> newFile.bat
    type newFile.bat > x264_home.bat
    del newFile.bat,x264_home.txt,filename.txt
    echo. pause >> x264_home.bat
    echo. @echo All Operation done... >> x264_home.bat
    :: user input required
    move "d:\Trainers\out\*.bat" "d:\Program Files\x264_auto\test\"
    :: user input required
    move "d:\Trainers\out\log.txt" "d:\Program Files\x264_auto\test\"
    ::==

    Now the above code which is fairly easy to understand (bcz its written by a noob) run perfectly & create necessary files. For instance one of the file1.bat looks like this :

    x264 --crf 23  --level 3.1 --tune film --preset veryslow --deblock -2:-1 --zones 24233,25324,q=20 --acodec aac --abitrate 80 -o "d:\Trainers\out\1.wmv" "d:\Trainers\out\1.mp4"

    ...& the loader .bat file looks like

    @echo off
    call file1.bat | mtee /d/c/t/+ log.txt
    call file2.bat | mtee /d/c/t/+ log.txt
    call file3.bat | mtee /d/c/t/+ log.txt
    @echo All Operation done...

    You see this is a quiet flexible approach in that you can use special filestr » set another loop » set another profile. Furthermore every batch file can be latter edited especiialy when you heavily use --zone x264 feature
    I am successful because there is no error in any output ...but its the x264.exe (provider/compiler x264GUI) throws error which it otherwise don't ?

    d:\Program Files\x264_auto\test>x264 --crf 23  --level 3.1 --tune film --preset
    veryslow --deblock -2:-1 --zones 24233,25324,q=20 --acodec aac --abitrate 80 -o
    "d:\Trainers\out\1.wmv" "d:\Trainers\out\1.mp4"
    ffms [error]: could not create index
    lavf [error]: could not open input file
    raw [error]: raw input requires a resolution.
    x264 [error]: could not open input file `d:\Trainers\out\1.mp4' via any method!

    its the x264 thats the culprit perhaps a senior guide is required here