Opened 5 years ago

Last modified 5 years ago

#2120 new defect

mmf files generated by ffmpeg does not play with yamaha software player

Reported by: ami_stuff Owned by:
Priority: normal Component: avformat
Version: git-master Keywords: smaf
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

Currently FFmpeg creates mmf files which are uplayable by yamaha software.

"ma2_mono_8khz.mmf" is a file created with yamaham software.
What I can notice comparing this file and output from FFmpeg is that yamaha file have additional AspI chunk, so maybe the problem is that FFmpeg doesn not write it.

Mobile Contents Player (MCP-MA7) Ver.1.6.2

http://smaf-yamaha.com/tools/downloads.html

C:\>ffmpeg -i test.wav -ac 1 -ar 8000 ffmpeg_ma2_mono_8khz.mmf
ffmpeg version N-48610-gb23aff6 Copyright (c) 2000-2013 the FFmpeg developers
  built on Jan  8 2013 02:37:29 with gcc 4.5.0 (GCC) 20100414 (Fedora MinGW 4.5.
0-1.fc14)
  configuration: --prefix=/var/www/users/research/ffmpeg/snapshots/build --arch=
x86 --target-os=mingw32 --cross-prefix=i686-pc-mingw32- --cc='ccache i686-pc-min
gw32-gcc' --enable-w32threads --enable-memalign-hack --enable-runtime-cpudetect
--enable-cross-compile --enable-static --disable-shared --extra-libs='-lws2_32 -
lwinmm -lpthread' --extra-cflags='--static -I/var/www/users/research/ffmpeg/snap
shots/build/include' --extra-ldflags='-static -L/var/www/users/research/ffmpeg/s
napshots/build/lib' --enable-bzlib --enable-zlib --enable-gpl --enable-version3
--enable-nonfree --enable-libx264 --enable-libspeex --enable-libtheora --enable-
libvorbis --enable-libfaac --enable-libxvid --enable-libopencore-amrnb --enable-
libopencore-amrwb --enable-libmp3lame --enable-libvpx --disable-decoder=libvpx
  libavutil      52. 13.100 / 52. 13.100
  libavcodec     54. 86.100 / 54. 86.100
  libavformat    54. 59.106 / 54. 59.106
  libavdevice    54.  3.102 / 54.  3.102
  libavfilter     3. 32.100 /  3. 32.100
  libswscale      2.  1.103 /  2.  1.103
  libswresample   0. 17.102 /  0. 17.102
  libpostproc    52.  2.100 / 52.  2.100
[wav @ 0x1efea60] max_analyze_duration 5000000 reached at 5015510
Guessed Channel Layout for  Input Stream #0.0 : stereo
Input #0, wav, from 'test.wav':
  Duration: 00:00:30.01, bitrate: 1411 kb/s
    Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 44100 Hz, stereo, s16
, 1411 kb/s
Output #0, mmf, to 'ffmpeg_ma2_mono_8khz.mmf':
  Metadata:
    encoder         : Lavf54.59.106
    Stream #0:0: Audio: adpcm_yamaha, 8000 Hz, mono, s16, 32 kb/s
Stream mapping:
  Stream #0:0 -> #0:0 (pcm_s16le -> adpcm_yamaha)
Press [q] to stop, [?] for help
size=     118kB time=00:00:30.20 bitrate=  32.0kbits/s
video:0kB audio:118kB subtitle:0 global headers:0kB muxing overhead 0.076139%

Attachments (3)

ma2_mono_8khz.mmf (117.4 KB) - added by ami_stuff 5 years ago.
ffmpeg_ma2_mono_8khz.mmf (118.1 KB) - added by ami_stuff 5 years ago.
no_AspI.mmf (117.3 KB) - added by cehoyos 5 years ago.

Download all attachments as: .zip

Change History (5)

Changed 5 years ago by ami_stuff

Changed 5 years ago by ami_stuff

Changed 5 years ago by cehoyos

comment:1 follow-up: Changed 5 years ago by cehoyos

  • Component changed from undetermined to avformat
  • Keywords smaf added
  • Version changed from unspecified to git-master

I edited the Yamaha sample removing the AspI chunk. Does no_AspI.mmf still play with the Yamaha software or not?

comment:2 in reply to: ↑ 1 Changed 5 years ago by ami_stuff

Replying to cehoyos:

I edited the Yamaha sample removing the AspI chunk. Does no_AspI.mmf still play with the Yamaha software or not?

It doesn't play.

Note: See TracTickets for help on using tickets.