Recherche avancée

Médias (0)

Mot : - Tags -/publication

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (103)

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

  • Use, discuss, criticize

    13 avril 2011, par

    Talk to people directly involved in MediaSPIP’s development, or to people around you who could use MediaSPIP to share, enhance or develop their creative projects.
    The bigger the community, the more MediaSPIP’s potential will be explored and the faster the software will evolve.
    A discussion list is available for all exchanges between users.

  • 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 (...)

Sur d’autres sites (7571)

  • Python threading - multiple ffmpeg percentage

    2 février 2015, par speedyrazor

    I am running 2 ffmpeg jobs simultaneously and trying to read the log files to print out the running percentage completed. This works perfectly when just running one instance, but if I try to start a second then I get this error :

     File "/Users/kev/Desktop/Python/Standards_Converter_Server_V1.0.py", line 2569, in getProgress
       self.infile.flush()
    AttributeError: 'str' object has no attribute 'flush'

    Here is the crux of my code, not sure why it’s not working :

    if jobID == 1:
       self.logFilePath = "//LinkToSomeFile.log"
    elif jobID == 2:
       self.logFilePath = "//LinkToSomeOtherFile.log"

    threading.Thread(target=self.getProgress, args=(the_running_pane, jobID, slotNumber, self.logFilePath, self.duration, self.countNumber, self.countFile)).start()

    def getProgress(self, the_running_pane, jobID, slotNumber, logFilePath, duration, countNumber, countFile):
       self.logFilePath = logFilePath
       if os.path.isfile(self.logFilePath):
           self.logPath = self.logFilePath
           self.infile = codecs.open(self.logPath, encoding='utf8')
       else:
           raise ValueError("%s isn't a file!" % file_path)
       a = str(countNumber)
       b = str(countFile)
       lastSize = 0
       lastLineIndex = 0
       while not self.completed:
           fileSize = os.path.getsize(self.logPath)
           if fileSize > lastSize:
               lines2 = self.infile.readlines()
               newLines = 0
               for line222 in lines2[lastLineIndex:]:
                   newLines += 1
                   if "No more output streams to write to, finishing." in line222:
                       return
                   if ("size=" and "time=" and "bitrate=" in line222):
                       findMe = re.findall('time=[0-9][0-9]:[0-9][0-9]:[0-9][0-9].[0-9[0-9].', line222)
                       findMe = findMe[0]
                       runningTime = findMe[5:]
                       processRunning = a + " of " + b + "-"
                       currentStatus = (processRunning + "%s" % self.percentage(runningTime, self.secondsDuration) + "%" + " - %s" % duration)
                       if slotNumber == 1:
                           self.params["process1Percentage"] = currentStatus
                       elif slotNumber == 2:
                           self.params["process2Percentage"] = currentStatus
                       lastLineIndex += newLines
           lastSize = fileSize
           self.infile.flush()
           self.infile.seek(0)

    def percentage(self, part, secondsDuration):
       self.ftr1 = [3600,60,1]
       part = part.replace('.', ':')
       secondsPart = sum([a*b for a,b in zip(self.ftr1, map(int,part.split(':')))])
       percentage = str(100 * float(secondsPart)/float(secondsDuration))
       percentage = percentage.split('.')[0]
       if int(percentage) < 10:
           percentage = " " + percentage
       else:
           percentage = " " + percentage
       return percentage

    I am trying to get the currentStatus value into self.params["process1Percentage"] and self.params["process2Percentage"]

  • CSipSimple make VideoLibs - error

    10 juin 2014, par gopalanrc

    I downloaded the CSipSimple source from https://code.google.com/p/csipsimple/source/checkout and tried to build, as said in the build guide lines (https://code.google.com/p/csipsimple/wiki/HowToBuild). But, when I build video libs by using the command ’make VideoLibs’, the build fails due to some error. See the logs below. Help me fix this error

    In file included from libavformat/riff.c:24:0:
    libavformat/avformat.h:383:18: error: field 'audio_codec' has incomplete type
    libavformat/avformat.h:384:18: error: field 'video_codec' has incomplete type
    libavformat/avformat.h:385:18: error: field 'subtitle_codec' has incomplete type
    In file included from libavformat/riff.c:24:0:
    libavformat/avformat.h:960:18: error: field 'video_codec_id' has incomplete type
    libavformat/avformat.h:966:18: error: field 'audio_codec_id' has incomplete type
    libavformat/avformat.h:972:18: error: field 'subtitle_codec_id' has incomplete type
    In file included from libavformat/riff.h:33:0,
                from libavformat/riff.c:26:
    libavformat/internal.h:36:18: error: field 'id' has incomplete type
    libavformat/internal.h:42:18: error: field 'id' has incomplete type
    In file included from libavformat/riff.c:26:0:
    libavformat/riff.h:78:18: error: field 'id' has incomplete type
    libavformat/riff.c:711:14: error: return type is an incomplete type
    libavformat/riff.c:711:14: error: conflicting types for 'ff_codec_guid_get_id'
    libavformat/riff.h:82:14: note: previous declaration of 'ff_codec_guid_get_id' was here
    libavformat/riff.c: In function 'ff_codec_guid_get_id':
    libavformat/riff.c:716:13: warning: 'return' with a value, in function returning void         [enabled by default]
    libavformat/riff.c:718:5: warning: 'return' with a value, in function returning void [enabled by default]
    make[2]: *** [libavformat/riff.o] Error 1
    make[2]: *** Waiting for unfinished jobs....
    make[2]: Leaving directory `/home/dev/projects/CSipSimple-                                    trunk/CSipSimple/jni/ffmpeg/ffmpeg_src'
    make[1]: *** [build/ffmpeg/armeabi/lib/libavcodec.a] Error 1
    make[1]: Leaving directory `/home/dev/projects/CSipSimple-trunk/CSipSimple/jni/ffmpeg'
    make: *** [ffmpeg-lib] Error 2
  • Piwik is expanding ! We’re seeking a talented Software Engineer in New Zealand or in Poland

    13 mai 2014, par Matthieu Aubry — About, Community

    At Piwik and Piwik PRO we develop the leading open source web analytics platform, used by more than one million websites worldwide. Our vision is to build the best open alternative to Google Universal Analytics.

    The Piwik platform collects, stores and processes a lot of information : hundreds of millions of data points each month. We create intuitive, simple and beautiful reports that delight our users.

    Are you seeking a new challenge ? We are currently looking for a software engineer or software developer who is passionate about data processing, security, privacy, the open source philosophy and usable interface design.

    We practise agile methodology, test driven development, and fast release cycles. The main technologies we work with are Javascript (AngularJS, jquery), PHP5 and MySQL. You will write open source code that will directly benefit 250,000+ Piwik users in more than 200 countries and 50 languages.

    Responsibilities

    • Write server-side code (PHP5) and front-end code (Javascript) for Piwik platform.
    • Create robust high-volume production applications and develop prototypes quickly.
    • Tackle new problems as we continue to push technology forward.

    Minimum qualifications

    • BA/BS degree in Computer Science or equivalent practical experience.
    • 2 years of relevant work experience in software development.
    • Understanding of, and practical experience with PHP5 and Javascript application development.
    • Strong analytical and coding skills.
    • Excellent communication skills.

    Location

    • Wellington central, New Zealand.
      If you are not in New Zealand, and you are the right candidate, we will help you relocate here !
    • Wrocław, Poland

    Apply online

    To apply for this position, please Apply online here. We look forward to receiving your applications !