[Libav-user] Help : Preserve meta data

Philippe Gorley philippe.gorley at savoirfairelinux.com
Tue Aug 6 17:19:59 EEST 2019


On 2019-08-06 5:30 a.m., Rockland wrote:
> Hello all,
> 
> Can someone tells me which option I can add among my configure options 
> to preserve metadata during transcoding? In command line I know that the 
> option is map_metadata but I'm using libav
> in my project.

The relevant code is in fftools/ffmpeg_opt.c in copy_metadata(). It uses 
av_dict_copy.

If you meant you're using the libav project (as in libav.org), you're on 
the wrong mailing list.

> 
> This is my configure options :
>   CONFIGURE_COMMAND
>              env LD_PRELOAD=${ALGOLIB_DIR}/libalgolib.so 
> <SOURCE_DIR>/configure
>              --prefix=<BINARY_DIR>
>              --extra-cflags=-I<BINARY_DIR>/include
>              --extra-ldflags=-L<BINARY_DIR>/lib
>              --extra-libs=-lalgolib\ -lpthread
>              --enable-gpl
>              --enable-nonfree
>              --enable-libfdk-aac
>              --disable-doc
>              --enable-pthreads
>              --disable-programs
>              --enable-shared
>              --enable-static
>              --enable-runtime-cpudetect
> 
> Regards
> 
> _______________________________________________
> Libav-user mailing list
> Libav-user at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/libav-user
> 
> To unsubscribe, visit link above, or email
> libav-user-request at ffmpeg.org with subject "unsubscribe".
> 

Cheers,

-- 
Philippe Gorley
Free Software Consultant | Montréal, Qc
Savoir-faire Linux


More information about the Libav-user mailing list