
Recherche avancée
Médias (91)
-
Spitfire Parade - Crisis
15 mai 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Wired NextMusic
14 mai 2011, par
Mis à jour : Février 2012
Langue : English
Type : Video
-
Video d’abeille en portrait
14 mai 2011, par
Mis à jour : Février 2012
Langue : français
Type : Video
-
Sintel MP4 Surround 5.1 Full
13 mai 2011, par
Mis à jour : Février 2012
Langue : English
Type : Video
-
Carte de Schillerkiez
13 mai 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Texte
-
Publier une image simplement
13 avril 2011, par ,
Mis à jour : Février 2012
Langue : français
Type : Video
Autres articles (21)
-
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 (...) -
Encoding and processing into web-friendly formats
13 avril 2011, parMediaSPIP 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 (...) -
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 (...)
Sur d’autres sites (4096)
-
How to use ffmpeg for decoding aac data and transfer it to CMSamplebufferref
21 novembre 2016, par dgqbcwhThere are many encoding examples of how to encode
CMSamplebufferref
(PCM data) structure to aac . Now there is a stream which is from a ip camera. The camera use rtsp protocol for translating the h264+aac stream to iPhone. I’d like to know how to decode the aac stream then creatingCMSamplebufferref
. -
ffmpeg - How to (programmatically) copy a stream's side data ?
25 mars 2021, par waldenCalmsMy app is a tag editor (eg ID3) written in Swift for macOS. I'm using ffmpeg as my library to perform the tag editing. When the user is done editing, the app should save the changes to (essentially) a modified copy of the original file. I'm able to copy everything I need (from input -> output file) EXCEPT "side data".


In other words, I'm doing the programmatic equivalent of :


ffmpeg -i input.mp3 -metadata key1=value1 -metadata key2=value2 -codec copy output.mp3



So, output.mp3 must be identical to input.mp3, except for the few metadata changes made by the user.


What I have working so far


I'm able to copy the audio stream and all associated metadata (tags), as is, from input.mp3 to output.mp3.


The problem


My input.mp3 happens to have some side data (see below), which does not get copied over to output.mp3. How to copy side data ? To be honest, I don't even know what side data is, and the documentation is not very helpful.


ffprobe gives the following output (snippet) for the input.mp3's side data that looks like :


Side data:
 replaygain: track gain - -9.200000, track peak - unknown, album gain - unknown, album peak - unknown,



I want THIS ^ to get copied over to output.mp3, but it does not :(


Relevant code snippet (format context initialization code omitted for conciseness)


let inAudioStream = inFormatContext!.pointee.streams.advanced(by: Int(audio_stream_index)).pointee!.pointee
var outAudioStream = outFormatContext!.pointee.streams.advanced(by: Int(audio_stream_index)).pointee!.pointee
 
/* Free existing side data*/
 
for i in 0..* Copy side data if present */
 
if let srcSideData = inAudioStream.side_data {
 
 let rawPtr: UnsafeMutableRawPointer? = av_mallocz_array(Int(inAudioStream.nb_side_data),
 MemoryLayout<avpacketsidedata>.size)
 
 outAudioStream.side_data = UnsafeMutablePointer<avpacketsidedata>(OpaquePointer(rawPtr))
 outAudioStream.nb_side_data = inAudioStream.nb_side_data
 
 for i in 0..(OpaquePointer(data))
 }
}
 
status = avformat_write_header(outFormatContext, nil)
</avpacketsidedata></avpacketsidedata>


I got this logic from this page. Is this ^ the right way to copy a stream's side data to the corresponding stream in the output file ? If not, how to do it ?


I have also tried the following functions with no luck :


av_stream_new_side_data(...)
av_stream_add_side_data(...)



Please ask for details if required, and I will provide them. Thanks very much !


-
when using ffmpeg to copy h264 data from a fifo to a file, my free ram memory keeps decreasing over time
9 septembre 2019, par Nidheesh Vvideo data is comming to a fifo. the ffmpeg is made to take the fifo data and copy it to my sdcard
when ffmpeg is used to copy the data,the free ram decreasestried using different versions of ffmpeg,but same issue
ffmpeg -f h264 -i /tmp/file.h264 -c:a copy -c:v copy /tmp/sdcard/record_main.mp4
This command was used to perform the processram free memory should not decrease as time goes