[FFmpeg-devel] MP2 file tagged with MP3

herve.flores herve.flores
Fri Aug 3 19:07:15 CEST 2007


Hi,
since r9102, ffmpeg write headers of mp2 files with mp3 tags
related threads
<http://lists.mplayerhq.hu/pipermail/ffmpeg-user/2007-July/010215.html>
<http://lists.mplayerhq.hu/pipermail/ffmpeg-cvslog/2007-May/007581.html>

--------------------

a mp2 file produced by ffmpeg-r9101 =>

ffmpeg-r9101 -i /Volumes/Video_4H/_Freebox/Les\ canopus/Un\ nouveau\  
jeu.mpeg -acodec mp2 /Volumes/Video_4H/_Freebox/Les\ canopus/Un\  
nouveau\ jeu.mpeg.ff-r9101.mp2
FFmpeg version SVN-r9101, Copyright (c) 2000-2007 Fabrice Bellard, et  
al.
   configuration: --enable-pp --enable-gpl --enable-pthreads --enable- 
static --disable-shared --enable-libmp3lame
   libavutil version: 49.4.0
   libavcodec version: 51.40.4
   libavformat version: 51.12.1
   built on Aug  3 2007 16:07:24, gcc: 4.0.1 (Apple Computer, Inc.  
build 5367)
Input #0, mpeg, from '/Volumes/Video_4H/_Freebox/Les canopus/Un  
nouveau jeu.mpeg':
   Duration: 00:04:28.9, start: 0.989867, bitrate: 2953 kb/s
   Stream #0.0[0x1e0]: Video: mpeg2video, yuv420p, 544x576, 15000 kb/ 
s, 25.00 fps(r)
   Stream #0.1[0x1c0]: Audio: mp2, 48000 Hz, stereo, 192 kb/s
Output #0, mp2, to '/Volumes/Video_4H/_Freebox/Les canopus/Un nouveau  
jeu.mpeg.ff-r9101.mp2':
   Stream #0.0: Audio: mp2, 48000 Hz, stereo, 64 kb/s
Stream mapping:
   Stream #0.1 -> #0.0
Press [q] to stop encoding
size=    2107kB time=269.7 bitrate=  64.0kbits/s
video:0kB audio:2107kB global headers:0kB muxing overhead 0.000000%

tool file:

file /Volumes/Video_4H/_Freebox/Les\ canopus/Un\ nouveau\ jeu.mpeg.ff- 
r9101.mp2
/Volumes/Video_4H/_Freebox/Les canopus/Un nouveau jeu.mpeg.ff- 
r9101.mp2: MP2,  64 kBits, 48 kHz, Stereo

--------------------

same command by ffmpeg-r9102 (and next)

ffmpeg-r9102 -i /Volumes/Video_4H/_Freebox/Les\ canopus/Un\ nouveau\  
jeu.mpeg -acodec mp2 /Volumes/Video_4H/_Freebox/Les\ canopus/Un\  
nouveau\ jeu.mpeg.ff-r9102.mp2
FFmpeg version SVN-r9102, Copyright (c) 2000-2007 Fabrice Bellard, et  
al.
   configuration: --enable-pp --enable-gpl --enable-pthreads --enable- 
static --disable-shared --enable-libmp3lame
   libavutil version: 49.4.0
   libavcodec version: 51.40.4
   libavformat version: 51.12.1
   built on Aug  3 2007 16:27:15, gcc: 4.0.1 (Apple Computer, Inc.  
build 5367)
Input #0, mpeg, from '/Volumes/Video_4H/_Freebox/Les canopus/Un  
nouveau jeu.mpeg':
   Duration: 00:04:28.9, start: 0.989867, bitrate: 2953 kb/s
   Stream #0.0[0x1e0]: Video: mpeg2video, yuv420p, 544x576, 15000 kb/ 
s, 25.00 fps(r)
   Stream #0.1[0x1c0]: Audio: mp2, 48000 Hz, stereo, 192 kb/s
Output #0, mp2, to '/Volumes/Video_4H/_Freebox/Les canopus/Un nouveau  
jeu.mpeg.ff-r9102.mp2':
   Stream #0.0: Audio: mp2, 48000 Hz, stereo, 64 kb/s
Stream mapping:
   Stream #0.1 -> #0.0
Press [q] to stop encoding
size=    2107kB time=269.7 bitrate=  64.0kbits/s
video:0kB audio:2107kB global headers:0kB muxing overhead 0.001483%

tool file:

file /Volumes/Video_4H/_Freebox/Les\ canopus/Un\ nouveau\ jeu.mpeg.ff- 
r9102.mp2
/Volumes/Video_4H/_Freebox/Les canopus/Un nouveau jeu.mpeg.ff- 
r9102.mp2: MP3 file with ID3 version 2.4.0 tag

--------------------

and now the no-patch,
I first wanted to just exchange patch "+" by "-" (and vice-versa)  
from r9102, but it doesn't work (too ?uch change between 9801 and  
current version)
I tried to change/remove code manually (but I'm not a developper), I  
managed to patch and to compile it with current SVN(r9871) but it  
produce a segmentation fault ;-)

so, no "patch welcome"

bye

Herv?




More information about the ffmpeg-devel mailing list