Hi Everyone, I would like to split mp3 into parts and add id3tag v 2.3 using below command:
ffmpeg -i "source.mp3" -f segment -segment_time 120 -c copy -id3v2_version 3 -metadata artist="myartist" -metadata album="myalbum" r:\%03d_nas.mp3" As a result I get splited mp3 with default id3tag v 2.4. When I divide process into segmentation and then per splited file id3v2_version 3 everything works. Is there a way to achieve this in one go? STDOUT: ffmpeg version N-91441-g3a2d21bc5f Copyright (c) 2000-2018 the FFmpeg developers built with gcc 7.3.0 (GCC) configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-bzlib --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-libvidstab --enable-libvorbis --enable-libvo-amrwbenc --enable-libmysofa --enable-libspeex --enable-libxvid --enable-libaom --enable-libmfx --enable-amf --enable-ffnvcodec --enable-cuvid --enable-d3d11va --enable-nvenc --enable-nvdec --enable-dxva2 --enable-avisynth libavutil 56. 18.102 / 56. 18.102 libavcodec 58. 21.104 / 58. 21.104 libavformat 58. 17.101 / 58. 17.101 libavdevice 58. 4.101 / 58. 4.101 libavfilter 7. 25.100 / 7. 25.100 libswscale 5. 2.100 / 5. 2.100 libswresample 3. 2.100 / 3. 2.100 libpostproc 55. 2.100 / 55. 2.100 [mp3 @ 0000000000363340] Estimating duration from bitrate, this may be inaccurate Input #0, mp3, from 'M:\Music\(03) Nas - Got Yourself A Gun.mp3': Metadata: title : Got Yourself A Gun artist : Nas album : Stillmatic date : 2001 comment : http://www.21century-mp3.com Duration: 00:03:48.76, start: 0.000000, bitrate: 160 kb/s Stream #0:0: Audio: mp3, 44100 Hz, stereo, fltp, 160 kb/s [segment @ 0000000000392980] Opening 'r:\000_nas.mp3' for writing Output #0, segment, to 'r:\%03d_nas.mp3': Metadata: title : Got Yourself A Gun comment : http://www.21century-mp3.com artist : "myartist" date : 2001 album : "myalbum" encoder : Lavf58.17.101 Stream #0:0: Audio: mp3, 44100 Hz, stereo, fltp, 160 kb/s Stream mapping: Stream #0:0 -> #0:0 (copy) Press [q] to stop, [?] for help [segment @ 0000000000392980] Opening 'r:\001_nas.mp3' for writing size=N/A time=00:03:48.72 bitrate=N/A speed=2.29e+003x video:0kB audio:4468kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown Regards, Lucas _______________________________________________ ffmpeg-user mailing list [email protected] http://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email [email protected] with subject "unsubscribe".
