[FFmpeg-user] Generate MPEG Transport stream from audio files only

Pierre Pasquet pierrepsqt at icloud.com
Fri Mar 9 14:43:16 EET 2018


Yes, I have tried using the -audio-only flag and it didn’t work either with an audio only file. 
> On 9 Mar 2018, at 12:01, Moritz Barsnick <barsnick at gmx.net> wrote:
> 
>> On Fri, Mar 09, 2018 at 01:03:16 +0000, Pierre Pasquet wrote:
>> In theory, when receiving an input file, the segmenter should generate a playlist .m3u8 and create subsequent .aac files (because we are dealing only with audio)
> [...]
>> I know that the ffmpeg command is not write because it applies to video files, but I can’t come up with an equivalent command for audio only!
> 
> Did you ever consider that mediastreamsegmenter may be the issue?
> 
> The FAQ:
> https://developer.apple.com/library/content/documentation/NetworkingInternet/Conceptual/StreamingMediaGuide/FrequentlyAskedQuestions/FrequentlyAskedQuestions.html
> 
>    12. How can I create an audio-only stream from audio/video input?
>        Add the -audio-only argument when invoking the stream or files segmenter.
> 
> Have you tried this?
> 
> Moritz
> _______________________________________________
> 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