Recherche avancée

Médias (16)

Mot : - Tags -/mp3

Autres articles (72)

  • List of compatible distributions

    26 avril 2011, par

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

  • Encodage et transformation en formats lisibles sur Internet

    10 avril 2011

    MediaSPIP transforme et ré-encode les documents mis en ligne afin de les rendre lisibles sur Internet et automatiquement utilisables sans intervention du créateur de contenu.
    Les vidéos sont automatiquement encodées dans les formats supportés par HTML5 : MP4, Ogv et WebM. La version "MP4" est également utilisée pour le lecteur flash de secours nécessaire aux anciens navigateurs.
    Les documents audios sont également ré-encodés dans les deux formats utilisables par HTML5 :MP3 et Ogg. La version "MP3" (...)

  • Problèmes fréquents

    10 mars 2010, par

    PHP et safe_mode activé
    Une des principales sources de problèmes relève de la configuration de PHP et notamment de l’activation du safe_mode
    La solution consiterait à soit désactiver le safe_mode soit placer le script dans un répertoire accessible par apache pour le site

Sur d’autres sites (5140)

  • Why is my discord.py bot not having voice while being hosted on Heroku ?

    24 juillet 2020, par Flying Thunder

    My bot is all set up and running, everything works, EXCEPT for voice : He joins the channel, but doesnt play audio. I have heard many different claims for what the reason is (no permission to use ffmpeg.exe, missing buildpack, missing dependency, Heroku blocking UDP on free users...) - but i hope that someone here ACTUALLY knows what the problem is, because i couldnt find any definitive reason online.

    


    This is the code of the bot : https://github.com/FlyingThunder/DiscordBot/blob/master/main.py
Everything is working fine on my machine.
This is the only error that Heroku logs gave me :
2020-07-24T06:28:30.329937+00:00 app[worker.1]: PermissionError: [Errno 13] Permission denied: 'res/ffmpeg.exe'

    


    I already tried adding https://github.com/jonathanong/heroku-buildpack-ffmpeg-latest.git to my buildpacks, and i added cffi==1.14.0 to my requirements.txt - both solutions that are supposed to fix this exact issue.

    


  • Unable to find a suitable output format for 'ffmpeg' I/flutter (29205) : ffmpeg : Invalid argument

    24 juillet 2020, par Abhijit Rajmane

    I'm trying to mix two audio files using flutter_ffmpeg : 0.2.10 but I get

    


    [NULL @ 0xd77d4400] Unable to find a suitable output format for 'ffmpeg'
I/flutter (29205): ffmpeg: Invalid argument

code : 
String file1= _localPath+"/file1.m4a";
String file2= _localPath+"/file2.mp3";
String output= _localPath+"/abhijit.wav";

String finalPath= "ffmpeg -i "+ file1 +" -i "+file2+" -filter_complex amix=inputs=2:duration=first:dropout_transition=0 "+output;

console ffmpeg's message...
I/flutter (29205):   libavutil      56. 38.100 / 56. 38.100
I/flutter (29205):   libavcodec     58. 65.102 / 58. 65.102
I/flutter (29205):   libavformat    58. 35.101 / 58. 35.101
I/flutter (29205):   libavdevice    58.  9.103 / 58.  9.103
I/flutter (29205):   libavfilter     7. 70.101 /  7. 70.101
I/flutter (29205):   libswscale      5.  6.100 /  5.  6.100
I/flutter (29205):   libswresample   3.  6.100 /  3.  6.100
I/flutter (29205): Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/storage/emulated/0/Android/data/com.arthenica.flutter.ffmpeg.FlutterFFmpegExample/files/Download/file1.m4a':
I/flutter (29205):   Metadata:
I/flutter (29205):     major_brand     : mp42
I/flutter (29205):     minor_version   : 1
I/flutter (29205):     compatible_brands: isommp41mp42
I/flutter (29205):     creation_time   : 2020-07-09T15:42:47.000000Z
I/flutter (29205):   Duration: 00:12:12.26, start: 0.000000, bitrate: 61 kb/s
I/flutter (29205):     Stream #0:0(und): Audio: aac (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 60 kb/s (default)
I/flutter (29205):     Metadata:
I/flutter (29205):       creation_time   : 2020-07-09T15:42:47.000000Z
I/flutter (29205):       handler_name    : Core Media Audio
I/flutter (29205): Input #1, mp3, from '/storage/emulated/0/Android/data/com.arthenica.flutter.ffmpeg.FlutterFFmpegExample/files/Download/file2.mp3':
I/flutter (29205):   Metadata:
I/flutter (29205):     artist          : SoundHelix
I/flutter (29205):     genre           : Techno
I/flutter (29205):     encoder         : Lavf58.20.100
I/flutter (29205):   Duration: 00:00:23.12, start: 0.011995, bitrate: 192 kb/s
I/flutter (29205):     Stream #1:0: Audio: mp3, 44100 Hz, stereo, fltp, 192 kb/s
I/flutter (29205):     Metadata:
I/flutter (29205):       encoder         : Lavf
I/flutter (29205): [NULL @ 0xd77d4400] Unable to find a suitable output format for 'ffmpeg'
I/flutter (29205): ffmpeg: Invalid argument
I/flutter (29205): "
I/flutter (29205): New FFmpeg pipe: /data/user/0/com.arthenica.flutter.ffmpeg.FlutterFFmpegExample/cache/mf_pipe_7
I/flutter (29205): FFmpeg process exited with rc 1


    


    Please check command of FFmpeg and suggest me if any correction occur, Unable to find a suitable output format for 'ffmpeg' I/flutter (29205) : ffmpeg : Invalid argument
I have no idea about this error please help me

    


  • How to initialize the AV format context from NetworkStream rather than url ?

    23 juillet 2020, par Ahmad

    I'm using FFmpeg.AutoGen to encode catpured frames :
https://github.com/Ruslan-B/FFmpeg.AutoGen

    


    I send the encoded packets through NetworkStream to another program using TCP Client/Server application, using this code :

    


     //Send size and encoded packet
 _stream.Write(BitConverter.GetBytes(pPacket->size), 0, 4);
 using (var packetStream = new UnmanagedMemoryStream(pPacket->data, pPacket->size)) 
        packetStream.CopyTo(_stream);


    


    At the server-side, after UTF8 encoding, I receive content like this :

    


    


    gd ?r@ ?/ ?a 2&#xF;1 ?   h?C?,?  ????E???H??,? ?#??x264 - core 160 - H.264/MPEG-4 AVC codec - Copyleft 2003-2020 - http://www.videolan.org/x264.html - options: cabac=1 ref=16 deblock=1:0:0 analyse=0x3:0x133 me=umh subme=10 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=24 chroma_me=1 trellis=2 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=11 lookahead_threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=8 b_pyramid=2 b_adapt=2 b_bias=0 direct=3 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=60 rc=crf mbtree=1 crf=23.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00 ?  e??   ??S?T????M?.O ??Ea???Q&#xF;?OI??X?????[?P???42=h??M?K? ??{?@c;?t?&#xB;??Ke?>???? ?2 ??&#xB; ?\qXEvg ???U A ?X ??q/&#xB;(?? ?L ?_c ?g ?X ?c(To ?k ?Y ?-F ???R ?] ??U ?&#xA; ;|=r ????\U ???2 ?g ??> ??½ ?7 ?A&#xE; ?1W9 ???A ??&#xF; ?_L ??P ?) ?&#xF;M ????q/ ?L ??) : ??< ??8d/* ?&#xF; ?^ ??} ?B ?H ?_8C[y ???CY ?QM(J ???1<3% ?K ?F ;Q3Q ????&#xA; ??jy&#xF;J" ???y]k ?m ?^} ???S ????h ?&#xF;3 ????EP ???pw ???q ?jKp ???h ?????

    &#xA;

    &#xA;

    My problem is, how to initialize the AV format context with this data, and decode the received packet to recover the original frame ?

    &#xA;

    _pFormatContext = ffmpeg.avformat_alloc_context();&#xA;ffmpeg.avformat_open_input(&amp;pFormatContext, url, null, null).ThrowExceptionIfError();&#xA;

    &#xA;

    As problem exactly is, ffmpeg.avformat_open_input takes URL as an input, not byte[]. If _pFormatContext can be initialized using the received data, things are resolved, but HOW ?

    &#xA;