[FFmpeg-user] Converting CAF file

Paul B Mahol onemda at gmail.com
Tue Jan 15 00:40:05 EET 2019


On 1/14/19, Hafez Adnan <hafezadnan at gmail.com> wrote:
> Thank you for the reply, please find the link below:
>
> https://drive.google.com/file/d/1HbEZp5YcWLZjFWBpF-Cr2GliLaRg7uM-/view?usp=sharing
>

Looks like invalid file.

> Best regards,
> Hafez
>
> On Tue, Jan 15, 2019 at 12:08 AM Paul B Mahol <onemda at gmail.com> wrote:
>
>> On 1/14/19, Hafez Adnan <hafezadnan at gmail.com> wrote:
>> > Thank you  Dear, I upgrade the FFmpeg, but I getting sometimes the
>> > following error:
>> >
>>
>> Please upload this CAF sample somewhere. And post link here.
>>
>> > ffmpeg -y -i 6090fd7f711c12ca0d0d975dd80e44b0..caf
>> > 6090fd7f711c12ca0d0d975dd80e44b0.mp3
>> > ffmpeg version 4.1 Copyright (c) 2000-2018 the FFmpeg developers
>> >   built with gcc 7 (GCC)
>> >   configuration: --enable-libmp3lame --enable-libtheora
>> --enable-libvorbis
>> > --enable-libilbc --enable-libass --enable-libfreetype
>> >   libavutil      56. 22.100 / 56. 22.100
>> >   libavcodec     58. 35.100 / 58. 35.100
>> >   libavformat    58. 20.100 / 58. 20.100
>> >   libavdevice    58.  5.100 / 58.  5.100
>> >   libavfilter     7. 40.101 /  7. 40.101
>> >   libswscale      5.  3.100 /  5.  3.100
>> >   libswresample   3.  3.100 /  3.  3.100
>> > [caf @ 0x247e4c0] skipping CAF chunk: 3783EAA1 (7[131][234][161]), size
>> > -1097267016323801658
>> > 6090fd7f711c12ca0d0d975dd80e44b0..caf: Invalid data found when
>> > processing
>> > input
>> >
>> > Any Ideas,
>> >
>> > Thank you,
>> > Hafez
>> >
>> > On Sun, Jan 13, 2019 at 1:11 PM Paul B Mahol <onemda at gmail.com> wrote:
>> >
>> >> On 1/13/19, Hafez Adnan <hafezadnan at gmail.com> wrote:
>> >> > Hi All,
>> >> >
>> >> > Kindly I need your support to convert the CAF file to MP3 format.
>> >> >
>> >> > I am using the following command, but I getting the following error:
>> >> >
>> >> > ffmpeg -i 40c90a1b16acc9f88ee700d2d812af63..caf test.caf
>> >> >
>> >> > ffmpeg version 2.6.8 Copyright (c) 2000-2016 the FFmpeg developers
>> >>
>> >> Too old version.
>> >>
>> >>
>> >> >   built with gcc 4.8.5 (GCC) 20150623 (Red Hat 4.8.5-4)
>> >> >   configuration: --prefix=/usr --bindir=/usr/bin
>> >> > --datadir=/usr/share/ffmpeg --incdir=/usr/include/ffmpeg
>> >> > --libdir=/usr/lib64 --mandir=/usr/share/man --arch=x86_64
>> >> > --optflags='-O2
>> >> > -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
>> >> > -fstack-protector-strong --param=ssp-buffer-size=4
>> -grecord-gcc-switches
>> >> > -m64 -mtune=generic' --enable-bzlib --disable-crystalhd
>> --enable-gnutls
>> >> > --enable-ladspa --enable-libass --enable-libcdio --enable-libdc1394
>> >> > --enable-libfaac --enable-nonfree --enable-libfdk-aac
>> >> > --enable-nonfree
>> >> > --disable-indev=jack --enable-libfreetype --enable-libgsm
>> >> > --enable-libmp3lame --enable-openal --enable-libopenjpeg
>> >> > --enable-libopus
>> >> > --enable-libpulse --enable-libschroedinger --enable-libsoxr
>> >> > --enable-libspeex --enable-libtheora --enable-libvorbis
>> --enable-libv4l2
>> >> > --enable-libx264 --enable-libx265 --enable-libxvid --enable-x11grab
>> >> > --enable-avfilter --enable-avresample --enable-postproc
>> >> > --enable-pthreads
>> >> > --disable-static --enable-shared --enable-gpl --disable-debug
>> >> > --disable-stripping --shlibdir=/usr/lib64 --enable-runtime-cpudetect
>> >> >   libavutil      54. 20.100 / 54. 20.100
>> >> >   libavcodec     56. 26.100 / 56. 26.100
>> >> >   libavformat    56. 25.101 / 56. 25.101
>> >> >   libavdevice    56.  4.100 / 56.  4.100
>> >> >   libavfilter     5. 11.102 /  5. 11.102
>> >> >   libavresample   2.  1.  0 /  2.  1.  0
>> >> >   libswscale      3.  1.101 /  3.  1.101
>> >> >   libswresample   1.  1.100 /  1.  1.100
>> >> >   libpostproc    53.  3.100 / 53.  3.100
>> >> > [caf @ 0x1b5a100] Estimating duration from bitrate, this may be
>> >> inaccurate
>> >> > Guessed Channel Layout for  Input Stream #0.0 : mono
>> >> > Input #0, caf, from '40c90a1b16acc9f88ee700d2d812af63..caf':
>> >> >   Duration: 00:00:18.62, start: 0.000000, bitrate: 16 kb/s
>> >> >     Stream #0:0: Audio: ilbc (ilbc / 0x63626C69), 8000 Hz, 1
>> >> > channels,
>> >> > 15
>> >> > kb/s
>> >> > *No decoder for stream #0:0, filtering impossible*
>> >> > Error opening filters!
>> >> >
>> >> >
>> >> > ----------
>> >> > *Sometimes I get the below errors :*
>> >> >
>> >> >
>> >> > *[root at test]# ffmpeg -i 8387fe50349724b2d4a9ff9052b47355..caf
>> test1.mp3*
>> >> >
>> >> > ffmpeg version 2.6.8 Copyright (c) 2000-2016 the FFmpeg developers
>> >> >   built with gcc 4.8.5 (GCC) 20150623 (Red Hat 4.8.5-4)
>> >> >   configuration: --prefix=/usr --bindir=/usr/bin
>> >> > --datadir=/usr/share/ffmpeg --incdir=/usr/include/ffmpeg
>> >> > --libdir=/usr/lib64 --mandir=/usr/share/man --arch=x86_64
>> >> > --optflags='-O2
>> >> > -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
>> >> > -fstack-protector-strong --param=ssp-buffer-size=4
>> -grecord-gcc-switches
>> >> > -m64 -mtune=generic' --enable-bzlib --disable-crystalhd
>> --enable-gnutls
>> >> > --enable-ladspa --enable-libass --enable-libcdio --enable-libdc1394
>> >> > --enable-libfaac --enable-nonfree --enable-libfdk-aac
>> >> > --enable-nonfree
>> >> > --disable-indev=jack --enable-libfreetype --enable-libgsm
>> >> > --enable-libmp3lame --enable-openal --enable-libopenjpeg
>> >> > --enable-libopus
>> >> > --enable-libpulse --enable-libschroedinger --enable-libsoxr
>> >> > --enable-libspeex --enable-libtheora --enable-libvorbis
>> --enable-libv4l2
>> >> > --enable-libx264 --enable-libx265 --enable-libxvid --enable-x11grab
>> >> > --enable-avfilter --enable-avresample --enable-postproc
>> >> > --enable-pthreads
>> >> > --disable-static --enable-shared --enable-gpl --disable-debug
>> >> > --disable-stripping --shlibdir=/usr/lib64 --enable-runtime-cpudetect
>> >> >   libavutil      54. 20.100 / 54. 20.100
>> >> >   libavcodec     56. 26.100 / 56. 26.100
>> >> >   libavformat    56. 25.101 / 56. 25.101
>> >> >   libavdevice    56.  4.100 / 56.  4.100
>> >> >   libavfilter     5. 11.102 /  5. 11.102
>> >> >   libavresample   2.  1.  0 /  2.  1.  0
>> >> >   libswscale      3.  1.101 /  3.  1.101
>> >> >   libswresample   1.  1.100 /  1.  1.100
>> >> >   libpostproc    53.  3.100 / 53.  3.100
>> >> > [caf @ 0x1ff9100] skipping CAF chunk: 3098EDCC (0???), size
>> >> > -2884684189692751888
>> >> > *8387fe50349724b2d4a9ff9052b47355..caf: Invalid data found when
>> >> processing
>> >> > input*
>> >>
>> >> Could you share such files like this one above?
>> >> _______________________________________________
>> >> ffmpeg-user mailing list
>> >> ffmpeg-user at ffmpeg.org
>> >> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>> >>
>> >> To unsubscribe, visit link above, or email
>> >> ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".
>> >
>> >
>> >
>> > --
>> > Hafez A.Ahmad
>> > Amman-Jordan
>> > mobile: 962-795708728
>> > _______________________________________________
>> > ffmpeg-user mailing list
>> > ffmpeg-user at ffmpeg.org
>> > http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>> >
>> > To unsubscribe, visit link above, or email
>> > ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".
>> _______________________________________________
>> ffmpeg-user mailing list
>> ffmpeg-user at ffmpeg.org
>> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>>
>> To unsubscribe, visit link above, or email
>> ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".
>
>
>
> --
> Hafez A.Ahmad
> Amman-Jordan
> mobile: 962-795708728
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".


More information about the ffmpeg-user mailing list