Recherche avancée

Médias (2)

Mot : - Tags -/documentation

Autres articles (108)

Sur d’autres sites (15584)

  • fftools/ffmpeg : replace MATCH_PER_STREAM_OPT(.., str, ..) with a function

    6 août 2024, par Anton Khirnov
    fftools/ffmpeg : replace MATCH_PER_STREAM_OPT(.., str, ..) with a function
    

    This has multiple advantages :
    * The macro has multiple parameters that often have similar or identical
    values, yet very different meanings (one is the name of the
    OptionsContext member where the parsed options are stored, the other
    the name of the variable into which the result is written) ; this
    change makes each of these explicit.

    * The macro returns on failure, which may cause leaks - this was the
    reason for adding MATCH_PER_STREAM_OPT_CLEAN(), also ost_add()
    currently leaks encoder_opts. The new function returns failure to its
    caller, which decides how to deal with it. While that adds a lot of
    error checks/forwards for now, those will be reduced in following
    commits.

    * new code is type- and const- correct

    Invocations of MATCH_PER_STREAM_OPT() with other types will be converted
    in following commits.

    • [DH] fftools/cmdutils.c
    • [DH] fftools/cmdutils.h
    • [DH] fftools/ffmpeg.h
    • [DH] fftools/ffmpeg_demux.c
    • [DH] fftools/ffmpeg_mux.h
    • [DH] fftools/ffmpeg_mux_init.c
    • [DH] fftools/ffmpeg_opt.c
  • flash/modules/global/app/ffmpeg.exe is Non-Executable

    30 octobre 2013, par Juan Rocamonde

    I cannot install dolphin. Always it returns back the same error :

    The following files have inappropriate permissions:
      flash/modules/global/app/ffmpeg.exe;


    And if I scroll down, I can se this :
    flash/modules/global/app/ffmpeg.exe -- Non-Executable
    And I made it executable, chmod777 and I didn't work, so I tried with chmod755 and all chmods with executable parametres. And it didn't work anyway.
    Help please ! I need to get this working asap, is for a business !
    Thanks people.

  • Parsing NAL units using FFMPEG

    6 novembre 2013, par 2ndlife

    I am new to MPEG-4 and taking baby steps to learn it. I am using FFMPEG as reference.

    1. I understand that all mpeg-4 are encoded into NAL units and wrt to FFMPEG av_read_frame() function returns one NAL unit, Am I right ? Is frame a NAL unit ? (though it can be a combination of multiple NALs)

    2. I also saw that h264_parser.c implements a function called h264_parse which is calling parse_nal_units() inside, If i need to get NAL units how can I use this parse_nal_units from my main function ?

    3. What is av_parse_Parse2() function do ? does it return decoded NAL units ?

    4. OR FFMPEG has -vbsf h264_mp4toannexb switch to dump raw NAL units, Can somebody help me understand how I can use the same from my main function ?

    Please help me out here...
    - ash5