[FFmpeg-trac] #3366(avformat:new): Support muxing pcm_s16be to mp4 (was: Support muxing pcm_s16le to mp4)

FFmpeg trac at avcodec.org
Sun Feb 2 21:09:29 CET 2014


#3366: Support muxing pcm_s16be to mp4
------------------------------------+------------------------------------
             Reporter:  cehoyos     |                    Owner:
                 Type:  defect      |                   Status:  new
             Priority:  normal      |                Component:  avformat
              Version:  git-master  |               Resolution:
             Keywords:  mov         |               Blocked By:
             Blocking:              |  Reproduced by developer:  0
Analyzed by developer:  0           |
------------------------------------+------------------------------------
Description changed by cehoyos:

Old description:

> According to http://www.mp4ra.org/codecs.html pcm_s16le is supported in
> isom files.
> {{{
> $ ffmpeg -f s16le -i /dev/zero -acodec copy -t 1 out.mp4
> ffmpeg version N-60304-g95d1809 Copyright (c) 2000-2014 the FFmpeg
> developers
>   built on Feb  2 2014 09:52:43 with gcc 4.7 (SUSE Linux)
>   configuration: --enable-gpl
>   libavutil      52. 63.100 / 52. 63.100
>   libavcodec     55. 49.101 / 55. 49.101
>   libavformat    55. 28.101 / 55. 28.101
>   libavdevice    55.  7.100 / 55.  7.100
>   libavfilter     4.  1.101 /  4.  1.101
>   libswscale      2.  5.101 /  2.  5.101
>   libswresample   0. 17.104 /  0. 17.104
>   libpostproc    52.  3.100 / 52.  3.100
> Guessed Channel Layout for  Input Stream #0.0 : mono
> Input #0, s16le, from '/dev/zero':
>   Duration: N/A, bitrate: 705 kb/s
>     Stream #0:0: Audio: pcm_s16le, 44100 Hz, mono, s16, 705 kb/s
> [mp4 @ 0x2a5f2c0] Could not find tag for codec pcm_s16le in stream #0,
> codec not currently supported in container
> Output #0, mp4, to 'out.mp4':
>   Metadata:
>     encoder         : Lavf55.28.101
>     Stream #0:0: Audio: pcm_s16le, 44100 Hz, mono, 705 kb/s
> Stream mapping:
>   Stream #0:0 -> #0:0 (copy)
> Could not write header for output file #0 (incorrect codec parameters ?):
> Invalid argument
> }}}

New description:

 According to http://www.mp4ra.org/codecs.html pcm_s16be is supported in
 isom files.
 {{{
 $ ffmpeg -f s16be -i /dev/zero -acodec copy -t 1 out.mp4
 ffmpeg version N-60304-g95d1809 Copyright (c) 2000-2014 the FFmpeg
 developers
   built on Feb  2 2014 09:52:43 with gcc 4.7 (SUSE Linux)
   configuration: --enable-gpl
   libavutil      52. 63.100 / 52. 63.100
   libavcodec     55. 49.101 / 55. 49.101
   libavformat    55. 28.101 / 55. 28.101
   libavdevice    55.  7.100 / 55.  7.100
   libavfilter     4.  1.101 /  4.  1.101
   libswscale      2.  5.101 /  2.  5.101
   libswresample   0. 17.104 /  0. 17.104
   libpostproc    52.  3.100 / 52.  3.100
 Guessed Channel Layout for  Input Stream #0.0 : mono
 Input #0, s16be, from '/dev/zero':
   Duration: N/A, bitrate: 705 kb/s
     Stream #0:0: Audio: pcm_s16be, 44100 Hz, mono, s16, 705 kb/s
 [mp4 @ 0x2a5f2c0] Could not find tag for codec pcm_s16be in stream #0,
 codec not currently supported in container
 Output #0, mp4, to 'out.mp4':
   Metadata:
     encoder         : Lavf55.28.101
     Stream #0:0: Audio: pcm_s16be, 44100 Hz, mono, 705 kb/s
 Stream mapping:
   Stream #0:0 -> #0:0 (copy)
 Could not write header for output file #0 (incorrect codec parameters ?):
 Invalid argument
 }}}

--

--
Ticket URL: <https://trac.ffmpeg.org/ticket/3366#comment:1>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list