[FFmpeg-user] Trouble converting MOD file to anything else

Guy Helmer guy.helmer at gmail.com
Fri May 17 16:22:25 CEST 2013


On May 17, 2013, at 9:18 AM, Paul B Mahol <onemda at gmail.com> wrote:

> On 5/16/13, Guy Helmer <guy.helmer at gmail.com> wrote:
>> I have tried a number of approaches to transcode a new set of MOD files to
>> MPG, AVI, or MP4 to clean them up for use in iMovie but nothing has worked
>> for me with ffmpeg 1.2.1 (it used to work with an older version of ffmpeg
>> from roughly a year ago). I always receive these errors from libmodplug and
>> the output file is extremely short. Any help would be appreciated.
>> 
>> This is my latest try at a command line; adding a suggested -max_size option
>> makes no difference:
> 
> How big are current mod files you use?

The file I just posted (in message a few minutes ago) is 16.9MB. I had a short (1.9MB) file that didn't trigger the libmodplug "Max file size reach" error, but also did not give a valid output file. Other files ranged up to 40MB.

Guy

> 
>> 
>>> ffmpeg -i MOV005.MOD -strict -2 -s 720x405 -vcodec mpeg4 -b:v 2300k
>>> -filter:v yadif -aspect 16:9 -acodec aac -ab 192k -ar 44100 MOV005.MP4
>> 
>> ffmpeg version 1.2.1 Copyright (c) 2000-2013 the FFmpeg developers
>>  built on May 15 2013 13:13:12 with Apple clang version 4.1
>> (tags/Apple/clang-421.11.66) (based on LLVM 3.1svn)
>>  configuration: --prefix=/opt/local --enable-swscale --enable-avfilter
>> --enable-libmp3lame --enable-libvorbis --enable-libopus --enable-libtheora
>> --enable-libschroedinger --enable-libopenjpeg --enable-libmodplug
>> --enable-libvpx --enable-libspeex --enable-libfreetype
>> --mandir=/opt/local/share/man --enable-shared --enable-pthreads
>> --cc=/usr/bin/clang --arch=x86_64 --enable-yasm --enable-gpl
>> --enable-postproc --enable-libx264 --enable-libxvid
>>  libavutil      52. 18.100 / 52. 18.100
>>  libavcodec     54. 92.100 / 54. 92.100
>>  libavformat    54. 63.104 / 54. 63.104
>>  libavdevice    54.  3.103 / 54.  3.103
>>  libavfilter     3. 42.103 /  3. 42.103
>>  libswscale      2.  2.100 /  2.  2.100
>>  libswresample   0. 17.102 /  0. 17.102
>>  libpostproc    52.  2.100 / 52.  2.100
>> [libmodplug @ 0x7fb5eb829c00] Max file size reach (see -max_size),
>> allocating 5242880B but demuxing is likely to fail due to incomplete buffer
>> [libmodplug @ 0x7fb5eb829c00] max_analyze_duration 5000000 reached at
>> 5000000 microseconds
>> Guessed Channel Layout for  Input Stream #0.0 : stereo
>> Input #0, libmodplug, from 'MOV005.MOD':
>>  Metadata:
>>    name            :    ?D
>>    sample          :    ?D
>>                    : ??? ????? ??:
>>                    : 0panasonic0120201U01
>>                    :          S   dvdvrx010
>>                    : c0120201U01    SN Mdvd
>>                    : nasonic0120201U01    M
>>                    :   Y?       D   b   (
>>                    :   dvdvrx010panasonic01
>>                    :     SI
>>    extra info      : 1 pattern, 4 channels, 9/15 samples
>>  Duration: 00:00:08.00, bitrate: 138487 kb/s
>>    Stream #0:0: Audio: pcm_s16le, 44100 Hz, stereo, s16, 1411 kb/s
>> Output #0, mp4, to 'MOV005.MP4':
>>  Metadata:
>>    name            :    ?D
>>    sample          :    ?D
>>                    : ??? ????? ??:
>>                    : 0panasonic0120201U01
>>                    :          S   dvdvrx010
>>                    : c0120201U01    SN Mdvd
>>                    : nasonic0120201U01    M
>>                    :   Y?       D   b   (
>>                    :   dvdvrx010panasonic01
>>                    :     SI
>>    extra info      : 1 pattern, 4 channels, 9/15 samples
>>    encoder         : Lavf54.63.104
>>    Stream #0:0: Audio: aac ([64][0][0][0] / 0x0040), 44100 Hz, stereo,
>> fltp, 192 kb/s
>> Stream mapping:
>>  Stream #0:0 -> #0:0 (pcm_s16le -> aac)
>> Press [q] to stop, [?] for help
>> size=       6kB time=00:00:05.38 bitrate=   9.4kbits/s
>> video:0kB audio:2kB subtitle:0 global headers:0kB muxing overhead
>> 205.725376%
>> 



More information about the ffmpeg-user mailing list