Recherche avancée

Médias (29)

Mot : - Tags -/Musique

Autres articles (109)

  • Sélection de projets utilisant MediaSPIP

    29 avril 2011, par

    Les exemples cités ci-dessous sont des éléments représentatifs d’usages spécifiques de MediaSPIP pour certains projets.
    Vous pensez avoir un site "remarquable" réalisé avec MediaSPIP ? Faites le nous savoir ici.
    Ferme MediaSPIP @ Infini
    L’Association Infini développe des activités d’accueil, de point d’accès internet, de formation, de conduite de projets innovants dans le domaine des Technologies de l’Information et de la Communication, et l’hébergement de sites. Elle joue en la matière un rôle unique (...)

  • Les thèmes de MediaSpip

    4 juin 2013

    3 thèmes sont proposés à l’origine par MédiaSPIP. L’utilisateur MédiaSPIP peut rajouter des thèmes selon ses besoins.
    Thèmes MediaSPIP
    3 thèmes ont été développés au départ pour MediaSPIP : * SPIPeo : thème par défaut de MédiaSPIP. Il met en avant la présentation du site et les documents média les plus récents ( le type de tri peut être modifié - titre, popularité, date) . * Arscenic : il s’agit du thème utilisé sur le site officiel du projet, constitué notamment d’un bandeau rouge en début de page. La structure (...)

  • MediaSPIP v0.2

    21 juin 2013, par

    MediaSPIP 0.2 is the first MediaSPIP stable release.
    Its official release date is June 21, 2013 and is announced here.
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

Sur d’autres sites (11598)

  • ffmpeg. I correct that to insert the logo [closed]

    13 mai 2012, par user1390921
    private void btnStart_Click(object sender, EventArgs e)
    {
    this.btnStart.Enabled = false;
    this.progressBar1.Value = 0;

    string srcFile = Path.Combine(this.txtSource.Text, this.lstFiles.SelectedItem.ToString());
    MessageBox.Show(srcFile);
    string dstFile = Path.Combine(this.txtOutput.Text,
    Path.GetFileNameWithoutExtension(this.lstFiles.SelectedItem.ToString())) + "." + this.cboOutputFormat.SelectedItem;
    MessageBox.Show(dstFile);
    string imafile = Path.Combine("movie= "+this.openFileDialog1.SafeFileName);
    MessageBox.Show(imafile);



               string videoRateOption = string.Empty;
    if (this.cboVideoRate.SelectedIndex != 0)
    {
    videoRateOption = " -b:v " + this.cboVideoRate.SelectedItem.ToString().Split(' ')[0] + "k ";
    MessageBox.Show(videoRateOption);
    }

    string videoSizeOption = string.Empty;
    if (this.lstVideoSize.SelectedIndex != 0)
    {
    videoSizeOption = " -s " + this.lstVideoSize.SelectedItem.ToString().Split(' ')[0] + " ";
    }


               this.Text = "Converting...";
    ThreadPool.QueueUserWorkItem((object state) =>
    {
    ConvertFile(srcFile, imafile, dstFile, videoRateOption, videoSizeOption);
    });
    }


    string strFFMPEGOut;
    ProcessStartInfo psiProcInfo = new ProcessStartInfo();
    TimeSpan estimatedTime = TimeSpan.MaxValue;

    StreamReader srFFMPEG;

                   string ste = ""movie=watermarklogo.png [wm];[in][wm] overlay=main_w-overlay_w-10:main_h-overlay_h-10 [out]"";
    string strFFMPEGCmd = " -i "" + srcFile + "" -ar 44100 " + videoRateOption + videoSizeOption +"-vf"+ ste + "-y ""
    + dstFile + """;

    psiProcInfo.FileName = Application.StartupPath + ((IntPtr.Size == 8) ? "\x64" : "\x86") + "\ffmpeg.exe";
    psiProcInfo.Arguments = strFFMPEGCmd;
    psiProcInfo.UseShellExecute = false;
                   psiProcInfo.WindowStyle = ProcessWindowStyle.Hidden;
    psiProcInfo.UseShellExecute = false;
    psiProcInfo.RedirectStandardError = true;
    psiProcInfo.ErrorDialog = true;
    psiProcInfo.RedirectStandardOutput = true;
    psiProcInfo.CreateNoWindow = true;

    prcFFMPEG.StartInfo = psiProcInfo;

    prcFFMPEG.Start();

    There is no response that I push the start button that I tried to fix the code that I inserted the logo in the movie with Ffmpeg. Is that be okay if I don't choose the path of logo File. and Is there any something wrong that I did.

  • Kdialog unable to cancel job with ffmpeg from progressbar , with other command it works :S

    2 janvier 2015, par user1088530

    i did a script to convert my stuff with ffmpeg

    it does :

    1 create progressbar with cancel button
    2 loop to convert files
    3 set the progress value

    it works fine but it doens’t stop ffmpeg when i click on cancel

    the strange thing is that when i use another program like echo it works like it should it seems a ffmpeg issue

    can onyone help me how to find out the trick ?

    listoffile="$HOME/ffmpeglist.lst"
    numberoffile=$(wc -l <$listoffile)
    ffmpegpath="/usr/bin/ffmpeg"

       mystufvariabletouseonmyscript=$(kdialog --progressbar "hello this is a progress bar with 100 steps" 100) ;  sleep 2 ; qdbus $mystufvariabletouseonmyscript  showCancelButton true




       until test "true" = `qdbus  $mystufvariabletouseonmyscript wasCancelled` ; do

               while read line ; do
                   qdbus $mystufvariabletouseonmyscript org.kde.kdialog.ProgressDialog.setLabelText $"Starting Conversion...processing file $line"


                   $ffmpegpath -i   "$line"   "${line%%.*}.$mp3"


                   value=$(( $(($a*100))/$numberoffile ))
                   qdbus  $mystufvariabletouseonmyscript Set org.kde.kdialog.ProgressDialog value $value
                   a=$(($a+1))

                   done< "$listoffile"

           done
  • Unable to transcode video using ffmpeg transcoder

    28 octobre 2014, par user1843970

    This question may be asked in different forums but still answer is not discovered yet.

    I am trying to play *.flv using Video Module and FFMPEG Converter.
    Whenever I upload any flv Video , I get the following message :-

    PHPVideoToolkit error : Execute error. It was not possible to encode "C :\xampp\htdocs\Resonance\sites\default\files\videos\original\barsandtone_3.flv" as FFmpeg returned an error. The error is with the video codec of the input file. FFmpeg reports the error to be "Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height".

    Installed Modules are :-

    Video - 7.x-2.9

    Video.js - 7.x-2.3 - Version : 4.0.3

    Video transcoder : FFmpeg / avconv : git : c2dd5a1

    JW Player

    All above are installed correctly.

    Configuration of Video Module :-

    Inside Player Tab of Video(admin/config/media/video/players), following has been configured :-

    enter image description here

    A New FLV Preset has been created and added under Preset Tab of Video(admin/config/media/video/presets). Details are as Follows :-

    Preset name :- FLV Preset

    Video output extension :- FLV Flash Video

    Video codec :- H 263/H263-1996,H263+/H0-º1998/H263 Version 2(Not sure about Video Codec)

    FFmpeg video preset :- None

    Video quality :-None

    Video speed :- None

    Dimensions :- 640 X 360

    Aspect mode :- Preserve Aspect Ratio

    When I am uploading the video from content type then it extract the thumbnail as follows :-

    enter image description here

    After saving the video it shows the following Mesage :-

    enter image description here

    My gut feeling is that I am setting up wrong preset but I am not able to solve this problem out. Please help me as I am very close to my completion of project which would have been waste without solving the problem.

    Updated :-

    The Console message is as follows :-

    Reported errors

    PHPVideoToolkit error : Execute error. It was not possible to encode "C :\xampp\htdocs\Resonance\sites\default\files\videos\original\barsandtone_19.flv" as FFmpeg returned an error. Note, however the error was encountered on the second pass of the encoding process and the first pass appear to go fine. The error is with the video codec of the input file. FFmpeg reports the error to be "Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height".

    Executed commands and output

    /ffmpeg/ffmpeg.exe -i "C:\xampp\htdocs\Resonance\sites\default\files\videos\original\barsandtone_7.flv" -strict experimental -vcodec "h264" -s "320x180" -acodec "aac" -ac "2" -pass "1" -passlogfile "C:\xampp\tmp/1384191046-5281144682cfc-multipass"  -y C:\xampp\tmp/1384191046-5281144681e51.flv

    ffmpeg version N-49610-gc2dd5a1 Copyright (c) 2000-2013 the FFmpeg developers
     built on Feb  5 2013 13:26:02 with gcc 4.7.2 (GCC)
     configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-libass --enable-libbluray --enable-libcaca --enable-libfreetype --enable-libgsm --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-libxvid --enable-zlib
     libavutil      52. 17.101 / 52. 17.101
     libavcodec     54. 91.100 / 54. 91.100
     libavformat    54. 61.104 / 54. 61.104
     libavdevice    54.  3.103 / 54.  3.103
     libavfilter     3. 35.101 /  3. 35.101
     libswscale      2.  2.100 /  2.  2.100
     libswresample   0. 17.102 /  0. 17.102
     libpostproc    52.  2.100 / 52.  2.100
    [flv @ 00000000002fb860] max_analyze_duration 5000000 reached at 5018000 microseconds
    Input #0, flv, from 'C:\xampp\htdocs\Resonance\sites\default\files\videos\original\barsandtone_7.flv':
     Metadata:
       audiodelay      : 0
       canSeekToEnd    : true
     Duration: 00:00:06.00, start: 0.000000, bitrate: 118 kb/s
       Stream #0:0: Video: vp6f, yuv420p, 360x288, 409 kb/s, 1k tbr, 1k tbn, 1k tbc
       Stream #0:1: Audio: mp3, 44100 Hz, stereo, s16p, 96 kb/s
    [libx264 @ 0000000002457340] using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2
    [libx264 @ 0000000002457340] profile Main, level 4.0
    [libx264 @ 0000000002457340] 264 - core 129 r2245 bc13772 - H.264/MPEG-4 AVC codec - Copyleft 2003-2013 - http://www.videolan.org/x264.html - options: cabac=1 ref=1 deblock=1:0:0 analyse=0x1:0 me=dia subme=2 psy=1 psy_rd=1.00:0.00 mixed_ref=0 me_range=16 chroma_me=1 trellis=0 8x8dct=0 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=0 threads=6 lookahead_threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=23.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
    Output #0, flv, to 'C:\xampp\tmp/1384191046-5281144681e51.flv':
     Metadata:
       audiodelay      : 0
       canSeekToEnd    : true
       encoder         : Lavf54.61.104
       Stream #0:0: Video: h264 ([7][0][0][0] / 0x0007), yuv420p, 320x180, q=-1--1, pass 1, 1k tbn, 1k tbc
       Stream #0:1: Audio: aac ([10][0][0][0] / 0x000A), 44100 Hz, stereo, fltp, 128 kb/s
    Stream mapping:
     Stream #0:0 -> #0:0 (vp6f -> libx264)
     Stream #0:1 -> #0:1 (mp3 -> aac)
    Press [q] to stop, [?] for help
    frame=    2 fps=0.0 q=-1.0 Lsize=     102kB time=00:00:06.10 bitrate= 136.7kbits/s
    video:2kB audio:95kB subtitle:0 global headers:0kB muxing overhead 4.978013%
    [libx264 @ 0000000002457340] frame I:1     Avg QP:11.95  size:  1595
    [libx264 @ 0000000002457340] frame P:1     Avg QP: 2.00  size:    21
    [libx264 @ 0000000002457340] mb I  I16..4: 86.3%  0.0% 13.8%
    [libx264 @ 0000000002457340] mb P  I16..4:  0.4%  0.0%  0.0%  P16..4:  0.0%  0.0%  0.0%  0.0%  0.0%    skip:99.6%
    [libx264 @ 0000000002457340] coded y,uvDC,uvAC intra: 13.8% 40.7% 32.8% inter: 0.0% 0.0% 0.0%
    [libx264 @ 0000000002457340] i16 v,h,dc,p: 80% 15%  4%  0%
    [libx264 @ 0000000002457340] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 36% 42% 21%  0%  0%  0%  0%  0%  0%
    [libx264 @ 0000000002457340] i8c dc,h,v,p: 45% 24% 31%  0%
    [libx264 @ 0000000002457340] Weighted P-Frames: Y:0.0% UV:0.0%
    [libx264 @ 0000000002457340] kb/s:1.08

    /ffmpeg/ffmpeg.exe -i "C:\xampp\htdocs\Resonance\sites\default\files\videos\original\barsandtone_7.flv" -strict experimental -vcodec "h264" -s "320x180" -acodec "aac" -ac "2" -pass "2" -passlogfile "C:\xampp\tmp/1384191046-5281144682cfc-multipass"  -y C:\xampp\tmp/1384191046-5281144681e51.flv

    ffmpeg version N-49610-gc2dd5a1 Copyright (c) 2000-2013 the FFmpeg developers
     built on Feb  5 2013 13:26:02 with gcc 4.7.2 (GCC)
     configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-libass --enable-libbluray --enable-libcaca --enable-libfreetype --enable-libgsm --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-libxvid --enable-zlib
     libavutil      52. 17.101 / 52. 17.101
     libavcodec     54. 91.100 / 54. 91.100
     libavformat    54. 61.104 / 54. 61.104
     libavdevice    54.  3.103 / 54.  3.103
     libavfilter     3. 35.101 /  3. 35.101
     libswscale      2.  2.100 /  2.  2.100
     libswresample   0. 17.102 /  0. 17.102
     libpostproc    52.  2.100 / 52.  2.100
    [flv @ 00000000002fb860] max_analyze_duration 5000000 reached at 5018000 microseconds
    Input #0, flv, from 'C:\xampp\htdocs\Resonance\sites\default\files\videos\original\barsandtone_7.flv':
     Metadata:
       audiodelay      : 0
       canSeekToEnd    : true
     Duration: 00:00:06.00, start: 0.000000, bitrate: 118 kb/s
       Stream #0:0: Video: vp6f, yuv420p, 360x288, 409 kb/s, 1k tbr, 1k tbn, 1k tbc
       Stream #0:1: Audio: mp3, 44100 Hz, stereo, s16p, 96 kb/s
    [libx264 @ 00000000024e7340] using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2
    [libx264 @ 00000000024e7340] constant rate-factor is incompatible with 2pass.
    Output #0, flv, to 'C:\xampp\tmp/1384191046-5281144681e51.flv':
     Metadata:
       audiodelay      : 0
       canSeekToEnd    : true
       Stream #0:0: Video: h264, yuv420p, 320x180, q=-1--1, pass 2, 90k tbn, 1k tbc
       Stream #0:1: Audio: none, 44100 Hz, stereo, fltp, 128 kb/s
    Stream mapping:
     Stream #0:0 -> #0:0 (vp6f -> libx264)
     Stream #0:1 -> #0:1 (mp3 -> aac)
    Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height

    I am not Unix Wizard to get the things out of this. Please help me in suggesting the right path.