Recherche avancée

Médias (1)

Mot : - Tags -/Rennes

Autres articles (38)

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

  • Des sites réalisés avec MediaSPIP

    2 mai 2011, par

    Cette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
    Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page.

  • MediaSPIP Player : problèmes potentiels

    22 février 2011, par

    Le lecteur ne fonctionne pas sur Internet Explorer
    Sur Internet Explorer (8 et 7 au moins), le plugin utilise le lecteur Flash flowplayer pour lire vidéos et son. Si le lecteur ne semble pas fonctionner, cela peut venir de la configuration du mod_deflate d’Apache.
    Si dans la configuration de ce module Apache vous avez une ligne qui ressemble à la suivante, essayez de la supprimer ou de la commenter pour voir si le lecteur fonctionne correctement : /** * GeSHi (C) 2004 - 2007 Nigel McNie, (...)

Sur d’autres sites (9541)

  • Concatenate MOV files without re-encoding on iOS with ffmpeg libs

    2 juillet 2013, par Developer82

    I would like to concatenate MOV files without re-encoding. I want to do it on iOS (iPhone). All the MOV files are recorded with the same settings, no difference in dimensions or encoding profiles.

    I have succeeded to do it with the command line ffmpeg :
    ffmpeg -re -f concat -i files.txt -c copy ...
    But I have difficulties using the libraries.

    I think the demuxing part is ok, I have the h.264+AAC packets. After demuxing I shift the PTS and DTS info of each packet to have ascending values in the joined MOV file.
    The hard part is the muxing.

    I have built the ffmpeg libs with x264 lib, so it can be used if necessary, but I am not sure whether I need the x264 codec since I don't want to re-encode the MOV files, I just want to join them.

    Problems I have encountered :

    1. In this case I do not use x264 codec. At muxing I create the stream with NULL codec parameter. I have successful writing of header, packets and trailer. All the function calls return with zero error code. However, the output can be opened, but black "screen" is displayed during playback. FFprobe report is attached. I have also examined the output with MediaInfo tool. I have attached that report as well (MediaInfo report - without x264 codec.txt). As you can see there is no h.264 profile or pixel info found that might be a problem.

    2. In this case I use x264 codec with functions : avcodec_find_encoder, avformat_new_stream and avcodec_open2. Again : no decode-encode ! In this case I have much more metadata in the output file like h.264 profile and pixel info (YUV), but the av_interleaved_write_frame call simply does nothing but returns success code (0). No packet is written to the file. :( I don't know how this could happen. fwrite works, but results in un-openable file. I have also attached the MediaInfo report of this output (MediaInfo report - with x264 codec.txt).

    Questions :

    • How should I process the demuxed packets to feed the muxer ?
    • What format context and codec context setting should be done including AVOption settings ?
    • Should I use the x264 codec to do this ? I just vant to re-mux the chunks into a single joined file.
    • The chunks have their own header/trailer. Should I somehow filter the demuxed packets to skip them ?
    • The final goal is creating a network stream (RTP or RTMP) - also with re-muxing and without re-encoding. It works with command line ffmpeg :
      ffmpeg -re -f concat -i files.txt -vcodec copy -an -f rtp rtp://127.0.0.1:20000 -vn -acodec copy -f rtp rtp://127.0.0.1:30000

    Concatenating to MOV format is only an intermediate pilot. Is it recommended to work on the network format since it is so different task that there is no benefit of solving the MOV format muxing ?

    Any help, advice, suggestion is greatly appreciated.
    I can reveal code to make deeper investigation possible.

    Thanks !

  • Concatenate MOV files without re-encoding on iOS with ffmpeg libs

    2 juillet 2013, par Developer82

    I would like to concatenate MOV files without re-encoding. I want to do it on iOS (iPhone). All the MOV files are recorded with the same settings, no difference in dimensions or encoding profiles.

    I have succeeded to do it with the command line ffmpeg :
    ffmpeg -re -f concat -i files.txt -c copy ...
    But I have difficulties using the libraries.

    I think the demuxing part is ok, I have the h.264+AAC packets. After demuxing I shift the PTS and DTS info of each packet to have ascending values in the joined MOV file.
    The hard part is the muxing.

    I have built the ffmpeg libs with x264 lib, so it can be used if necessary, but I am not sure whether I need the x264 codec since I don't want to re-encode the MOV files, I just want to join them.

    Problems I have encountered :

    1. In this case I do not use x264 codec. At muxing I create the stream with NULL codec parameter. I have successful writing of header, packets and trailer. All the function calls return with zero error code. However, the output can be opened, but black "screen" is displayed during playback. FFprobe report is attached. I have also examined the output with MediaInfo tool. I have attached that report as well (MediaInfo report - without x264 codec.txt). As you can see there is no h.264 profile or pixel info found that might be a problem.

    2. In this case I use x264 codec with functions : avcodec_find_encoder, avformat_new_stream and avcodec_open2. Again : no decode-encode ! In this case I have much more metadata in the output file like h.264 profile and pixel info (YUV), but the av_interleaved_write_frame call simply does nothing but returns success code (0). No packet is written to the file. :( I don't know how this could happen. fwrite works, but results in un-openable file. I have also attached the MediaInfo report of this output (MediaInfo report - with x264 codec.txt).

    Questions :

    • How should I process the demuxed packets to feed the muxer ?
    • What format context and codec context setting should be done including AVOption settings ?
    • Should I use the x264 codec to do this ? I just vant to re-mux the chunks into a single joined file.
    • The chunks have their own header/trailer. Should I somehow filter the demuxed packets to skip them ?
    • The final goal is creating a network stream (RTP or RTMP) - also with re-muxing and without re-encoding. It works with command line ffmpeg :
      ffmpeg -re -f concat -i files.txt -vcodec copy -an -f rtp rtp://127.0.0.1:20000 -vn -acodec copy -f rtp rtp://127.0.0.1:30000

    Concatenating to MOV format is only an intermediate pilot. Is it recommended to work on the network format since it is so different task that there is no benefit of solving the MOV format muxing ?

    Any help, advice, suggestion is greatly appreciated.
    I can reveal code to make deeper investigation possible.

    Thanks !

  • how to run "3gp, FLV, avi" video format in AVPLAYER or MPMoviePlayerViewController in iOS ?

    8 mai 2015, par Jenifer

    I need to play 3gp, FLV, avi Video file format in my application.
    I had searched lot about it.

    Got some library like "FFmpeg" Library. But could not find any sample code for it.

    Any other ways for it are also appreciated.

    Does any body have done it before ?

    I am even not sure that if it is possible or not in iOS.

    Please give me solution for it.

    UPDATE :

    I tried one 3gp Video in my AVquePlaye but it is not play in my code,

    While i use same Video in WhatsApp in my iPhone, Surprisingly video is playing there.