| | 96 | === Streaming and AAC Player Compatibility ===#fdk_stream |
| | 97 | |
| | 98 | By default when encoding AAC files using libfdk_aac the metadata ('moov' atom) is written after the audio stream ('mdat' atom) at the end of the file. |
| | 99 | In order to enable streaming of the encoded file the 'moov' atom has to be moved before the 'mdat' atom. In addition some AAC player implementations have issues decoding such files. |
| | 100 | |
| | 101 | Meanwhile FFmpeg offers the option '-movflags +faststart' covering that functionality which can be used during encoding: |
| | 102 | |
| | 103 | {{{ |
| | 104 | ffmpeg -i input.wav -c:a libfdk_aac -movflags +faststart output.m4a |
| | 105 | }}} |
| | 106 | |
| | 107 | |