hi, I'm trying to convert some mp3 to ogg add mp3 cover art on ogg, but I can't do it. When I use the standard command, the mp3 art is transformed into video on ogg and that's not what I want, see the command that generates the mp3 art as a video on ogg:
ffmpeg -vsync 2 -i "input.mp3" -b:a 320k "output.ogg" Command output: Input #0, mp3, from 'input.mp3': Metadata: album : CMG Clássicos Pop Rock Nacionais genre : Clássico Pop Rock Nacional title : Cuidado! TKEY : E m encoder : Lavf59.17.102 artist : Lobão date : 1988 Duration: 00:03:26.63, start: 0.025056, bitrate: 330 kb/s Stream #0:0: Audio: mp3, 44100 Hz, stereo, fltp, 320 kb/s Metadata: encoder : Lavc59.12 Stream #0:1: Video: mjpeg (Baseline), yuvj420p(pc, bt470bg/unknown/unknown), 1018x1023 [SAR 72:72 DAR 1018:1023], 90k tbr, 90k tbn (attached pic) Metadata: title : Album cover comment : Cover (front) Stream mapping: Stream #0:1 -> #0:0* (mjpeg (native) -> theora (libtheora))* Stream #0:0 -> #0:1 (mp3 (mp3float) -> vorbis (libvorbis)) Press [q] to stop, [?] for help [swscaler @ 0000029ae24ab000] [swscaler @ 0000029ae2612f80] *deprecated pixel format* used, make sure you did set range correctly [swscaler @ 0000029ae24ab000] [swscaler @ 0000029ae263ea00] deprecated pixel format used, make sure you did set range correctly [swscaler @ 0000029ae24ab000] [swscaler @ 0000029ae2679500] deprecated pixel format used, make sure you did set range correctly [swscaler @ 0000029ae24ab000] [swscaler @ 0000029ae27d00c0] deprecated pixel format used, make sure you did set range correctly [swscaler @ 0000029ae24ab000] [swscaler @ 0000029ae27e6600] deprecated pixel format used, make sure you did set range correctly Output #0, ogg, to 'output.ogg': Metadata: album : CMG Clássicos Pop Rock Nacionais genre : Clássico Pop Rock Nacional title : Cuidado! TKEY : E m date : 1988 artist : Lobão encoder : Lavf59.17.102 Stream #0:0:* Video: theora,* yuv420p(tv, bt470bg/unknown/unknown, progressive), 1018x1023 [SAR 1:1 DAR 1018:1023], q=2-31, 200 kb/s, 90k fps, 90k tbn (attached pic) Metadata: title : Album cover DESCRIPTION : Cover (front) encoder : Lavc59.21.100 libtheora album : CMG Clássicos Pop Rock Nacionais genre : Clássico Pop Rock Nacional TKEY : E m date : 1988 artist : Lobão Stream #0:1: Audio: vorbis, 44100 Hz, stereo, fltp, 320 kb/s Metadata: encoder : Lavc59.21.100 libvorbis album : CMG Clássicos Pop Rock Nacionais genre : Clássico Pop Rock Nacional title : Cuidado! TKEY : E m date : 1988 artist : Lobão frame= 1 fps=0.2 q=-0.0 Lsize= 9753kB time=00:03:26.59 bitrate= 386.7kbits/s speed=41.8x 2x video:15kB audio:9677kB subtitle:0kB other streams:0kB global headers:7kB muxing overhead: 0.632931% Analyzing the conversion: 1 - Note that when converting art from mp3 to ogg, it changes *mjpeg* to *theora*. It seems that ogg's video codec transforms what was just an image into video on output. 2 - During image conversion, messages of *deprecated pixel format used* appear, perhaps because of the conversion that the ogg video codec does from the mp3 image to the ogg video. 3 - Finally, we see that the image, which was *mjpeg *in mp3, was *theora* in the ogg creation output, which is a video and which is not what I wanted. How do I convert mp3 to ogg without the image turning into a video on ogg output? _______________________________________________ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".