[FFmpeg-user] converting broadcast wavs strips xml metadata

Pete Coward pete at byta.fm
Sun Apr 19 17:34:31 CEST 2015


ffmpeg supports decoding and encoding of broadcast wavs (bwf format)
but in my tests it strips the bext chunk from the input broadcast wav
when copying it, so not outputting a valid bwf file. is this a bug or
is it a configuration issue? i would be grateful for any advice.

input file has a bext chunk in aXML format
output file has no bext chunk

i am using bwfmetaedit (http://bwfmetaedit.sourceforge.net) to verify bext data.

ffmpeg -i MAVISwithISRC.wav -acodec copy -map_metadata 0 -write_id3v2
1 -id3v2_version 3 -strict -2  out.wav

ffmpeg version 2.2.1 Copyright (c) 2000-2014 the FFmpeg developers
  built on Apr 13 2014 13:00:18 with gcc 4.4.6 (GCC) 20120305 (Red Hat 4.4.6-4)
  configuration: --prefix=/usr --libdir=/usr/lib64
--shlibdir=/usr/lib64 --mandir=/usr/share/man --enable-shared
--enable-runtime-cpudetect --enable-gpl --enable-version3
--enable-postproc --enable-avfilter --enable-pthreads --enable-x11grab
--enable-vdpau --disable-avisynth --enable-frei0r --enable-libopencv
--enable-libdc1394 --enable-libgsm --enable-libmp3lame --enable-libnut
--enable-libopencore-amrnb --enable-libopencore-amrwb
--enable-libopenjpeg --enable-librtmp --enable-libspeex
--enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264
--enable-libxavs --enable-libxvid --extra-cflags='-O2 -g -pipe -Wall
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
--param=ssp-buffer-size=4 -m64 -mtune=generic -fPIC'
--disable-stripping
  libavutil      52. 66.100 / 52. 66.100
  libavcodec     55. 52.102 / 55. 52.102
  libavformat    55. 33.100 / 55. 33.100
  libavdevice    55. 10.100 / 55. 10.100
  libavfilter     4.  2.100 /  4.  2.100
  libswscale      2.  5.102 /  2.  5.102
  libswresample   0. 18.100 /  0. 18.100
  libpostproc    52.  3.100 / 52.  3.100
Guessed Channel Layout for  Input Stream #0.0 : stereo
Input #0, wav, from 'MAVISwithISRC.wav':
  Metadata:
    date            : 2015-04-18
    creation_time   : 10:15:33
    time_reference  : 0
    coding_history  : A=PCM,F=44100,W=16,M=stereo,T=Sonoris ISRC Editor
  Duration: 00:04:48.39, bitrate: 1411 kb/s
    Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 44100 Hz,
stereo, s16, 1411 kb/s
Output #0, wav, to 'out.wav':
  Metadata:
    ICRD            : 2015-04-18
    creation_time   : 10:15:33
    time_reference  : 0
    coding_history  : A=PCM,F=44100,W=16,M=stereo,T=Sonoris ISRC Editor
    ISFT            : Lavf55.33.100
    Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 44100 Hz,
stereo, 1411 kb/s
Stream mapping:
  Stream #0:0 -> #0:0 (copy)
Press [q] to stop, [?] for help
size=   49680kB time=00:04:48.39 bitrate=1411.2kbits/s
video:0kB audio:49680kB subtitle:0 data:0 global headers:0kB muxing
overhead 0.000197%


More information about the ffmpeg-user mailing list