Re: [FFmpeg-user] Audio not playing in Quicktime Player

2018-01-04 Thread Gabriel Zachmann
Thanks to all, I consider the issue solved. The solution is: I either have to - use the MOV container, in which case I can copy the mp3 stream to the output; or, - use the MP4 container, in which case I have to convert audio to AAC. Best regards, Gabriel > On 3. Jan 2018, at 18:52, Gyan

Re: [FFmpeg-user] Audio not playing in Quicktime Player

2018-01-03 Thread Gabriel Zachmann
Sorry about that. Funny thing is, when I convert to "mov" container, the audio plays fine. When I convert to MP4, it does not. Here is the command line, that works: $ffmpeg -i "$input" \ -map 0 -c:s copy -map_metadata 0 \ -c:a copy \ -f mov

Re: [FFmpeg-user] Audio not playing in Quicktime Player

2018-01-03 Thread Gabriel Zachmann
> > Why are you not choosing .mov as output format if your target > is QuickTime for which mov was invented? I tried it , to no avail. Stil no sound in Quicktime Player (macOS 10.13.2). It seems to me that macOS does not recognize the audio stream. VLC reports 2 streams; stream 0: type =

Re: [FFmpeg-user] Audio not playing in Quicktime Player

2018-01-03 Thread Gyan Doshi
On 1/3/2018 10:49 PM, Erik Dobberkau wrote: Regardless whether it is or not, there is some spec in QuickTime Player which requires .mp4 containers to have h.264 (and obviously now also h.265) video, and aac audio. OTOH I can't remember where I got this from, it's quite some years back... As

Re: [FFmpeg-user] Audio not playing in Quicktime Player

2018-01-03 Thread Erik Dobberkau
> > But as said, I am not convinced that QT is the ideal playback software > for mp4. > Regardless whether it is or not, there is some spec in QuickTime Player which requires .mp4 containers to have h.264 (and obviously now also h.265) video, and aac audio. OTOH I can't remember where I got this

Re: [FFmpeg-user] Audio not playing in Quicktime Player

2018-01-03 Thread Carl Eugen Hoyos
2018-01-03 17:50 GMT+01:00 Gabriel Zachmann : > Funny thing is, when I convert to "mov" container, the audio plays fine. (Why "funny", I thought this is expected.) >>> >>> I don't know very much about container format. >>> I always assumed that MOV can contain

Re: [FFmpeg-user] Audio not playing in Quicktime Player

2018-01-03 Thread Gabriel Zachmann
Funny thing is, when I convert to "mov" container, the audio plays fine. >>> >>> (Why "funny", I thought this is expected.) >> >> I don't know very much about container format. >> I always assumed that MOV can contain mp3 as well as aac. > > That is exactly what your tests confirmed.

Re: [FFmpeg-user] Audio not playing in Quicktime Player

2018-01-03 Thread Carl Eugen Hoyos
2018-01-03 17:24 GMT+01:00 Gabriel Zachmann : >>> Funny thing is, when I convert to "mov" container, the audio plays fine. >> >> (Why "funny", I thought this is expected.) > > I don't know very much about container format. > I always assumed that MOV can contain mp3 as well

Re: [FFmpeg-user] Audio not playing in Quicktime Player

2018-01-03 Thread Gabriel Zachmann
>> Funny thing is, when I convert to "mov" container, the audio plays fine. > > (Why "funny", I thought this is expected.) I don't know very much about container format. I always assumed that MOV can contain mp3 as well as aac. Is that assumption wrong? Best regards, Gabriel

Re: [FFmpeg-user] Audio not playing in Quicktime Player

2018-01-03 Thread Moritz Barsnick
On Wed, Jan 03, 2018 at 14:09:39 +0100, Carl Eugen Hoyos wrote: > > I can't force ".mp3" on MP4 container though: > > There is a specification Yeah, but I couldn't find it... So that's why I expressed my confusion. Moritz ___ ffmpeg-user mailing list

Re: [FFmpeg-user] Audio not playing in Quicktime Player

2018-01-03 Thread Carl Eugen Hoyos
2018-01-03 14:52 GMT+01:00 Gabriel Zachmann : > Funny thing is, when I convert to "mov" container, the audio plays fine. (Why "funny", I thought this is expected.) > When I convert to MP4, it does not. To the best of my knowledge, mp4 support in QT is limited. Carl Eugen

Re: [FFmpeg-user] Audio not playing in Quicktime Player

2018-01-03 Thread Gabriel Zachmann
Sorry about that. Funny thing is, when I convert to "mov" container, the audio plays fine. When I convert to MP4, it does not. Here is the command line, that works: $ffmpeg -i "$input" \ -map 0 -c:s copy -map_metadata 0 \ -c:a copy \ -f mov

Re: [FFmpeg-user] Audio not playing in Quicktime Player

2018-01-03 Thread Carl Eugen Hoyos
2018-01-03 14:02 GMT+01:00 Moritz Barsnick : > On Wed, Jan 03, 2018 at 11:39:09 +0100, Gabriel Zachmann wrote: >>Stream #0:1(eng): Audio: mp3 (mp4a / 0x6134706D), 48000 Hz, stereo, s16p, >> 192 kb/s (default) > > Well, at least this

Re: [FFmpeg-user] Audio not playing in Quicktime Player

2018-01-03 Thread Carl Eugen Hoyos
2018-01-03 11:39 GMT+01:00 Gabriel Zachmann : >Stream #0:1(eng): Audio: mp3 (mp4a / 0x6134706D), 48000 Hz, stereo, s16p, > 192 kb/s (default) Please do not cut excerpts of console output, always provide the ffmpeg command line you tested together with the complete,

Re: [FFmpeg-user] Audio not playing in Quicktime Player

2018-01-03 Thread Moritz Barsnick
On Wed, Jan 03, 2018 at 11:39:09 +0100, Gabriel Zachmann wrote: >Stream #0:1(eng): Audio: mp3 (mp4a / 0x6134706D), 48000 Hz, stereo, s16p, > 192 kb/s (default) Well, at least this looks peculiar, but I'm no QuickTime/MOV/MP4 expert. I get the same when

Re: [FFmpeg-user] Audio not playing in Quicktime Player

2018-01-03 Thread Gabriel Zachmann
> > Why are you not choosing .mov as output format if your target > is QuickTime for which mov was invented? I tried it , to no avail. Stil no sound in Quicktime Player (macOS 10.13.2). It seems to me that macOS does not recognize the audio stream. VLC reports 2 streams; stream 0: type =

Re: [FFmpeg-user] Audio not playing in Quicktime Player

2018-01-03 Thread Gabriel Zachmann
>> I am converting a video , but when I play the output in Quicktime >> Player on macOS, then the audio seems to be gone. > > Why are you not choosing .mov as output format if your target > is QuickTime for which mov was invented? IIRC, I read somewhere that mp4 is the "standard" format for H265

Re: [FFmpeg-user] Audio not playing in Quicktime Player

2018-01-02 Thread Carl Eugen Hoyos
2018-01-02 15:44 GMT+01:00 Gabriel Zachmann : > I am converting a video , but when I play the output in Quicktime > Player on macOS, then the audio seems to be gone. Why are you not choosing .mov as output format if your target is QuickTime for which mov was invented? Carl

Re: [FFmpeg-user] Audio not playing in Quicktime Player

2018-01-02 Thread Gabriel Zachmann
Thanks a lot for your quick response. Here comes - I hope it is what you need: ffmpeg version N-87824-g25bd2f4 Copyright (c) 2000-2017 the FFmpeg developers built with Apple LLVM version 9.0.0 (clang-900.0.37) configuration: --enable-swscale --enable-avfilter --enable-avresample

Re: [FFmpeg-user] Audio not playing in Quicktime Player

2018-01-02 Thread Tim Hiles
The self-report of ffmpeg is: ffmpeg version N-87824-g25bd2f4 Copyright (c) 2000-2017 the FFmpeg developers built with Apple LLVM version 9.0.0 (clang-900.0.37) configuration: --enable-swscale --enable-avfilter --enable-avresample --enable-libmp3lame --enable-libvorbis --enable-libopus

Re: [FFmpeg-user] Audio not playing in Quicktime Player

2018-01-02 Thread Gabriel Zachmann
Thanks a lot for your quick response. Here comes - I hope it is what you need: ffmpeg version N-87824-g25bd2f4 Copyright (c) 2000-2017 the FFmpeg developers built with Apple LLVM version 9.0.0 (clang-900.0.37) configuration: --enable-swscale --enable-avfilter --enable-avresample

Re: [FFmpeg-user] Audio not playing in Quicktime Player

2018-01-02 Thread Dave Rice
> On Jan 2, 2018, at 9:44 AM, Gabriel Zachmann wrote: > > I am converting a video , but when I play the output in Quicktime Player on > macOS, then the audio seems to be gone. > However, when I play the output video using VLC, everything is fine, I can > hear the audio.