[FFmpeg-user] No audio on ffmpeg output

Laura Smith n5d9xq3ti233xiyif2vp at protonmail.ch
Thu Mar 4 19:21:44 EET 2021


Hi Peter

Actually, I have inadvertently already tried it with "another program".  The target for all this work is web playback on video.js.

The lack of audio on video.js is what then drove me back to trying to listen to it on OS X.  ;-)

ffprobe:
ffprobe version N-101386-g77ce903f7a Copyright (c) 2007-2021 the FFmpeg developers
  built with Apple clang version 12.0.0 (clang-1200.0.32.29)
  configuration: --prefix=/Foobar/transcoding/build --x86asmexe=/Foobar/transcoding/build/bin/yasm --enable-libx264 --enable-gpl
  libavutil      56. 66.100 / 56. 66.100
  libavcodec     58.128.100 / 58.128.100
  libavformat    58. 70.100 / 58. 70.100
  libavdevice    58. 12.100 / 58. 12.100
  libavfilter     7.107.100 /  7.107.100
  libswscale      5.  8.100 /  5.  8.100
  libswresample   3.  8.100 /  3.  8.100
  libpostproc    55.  8.100 / 55.  8.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'Transcodings/file.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 0
    compatible_brands: iso8mp41dashavc1cmfc
    creation_time   : 2021-03-04T17:18:22.000000Z
  Duration: 00:01:58.17, start: 0.000000, bitrate: 5487 kb/s
  Stream #0:0(eng): Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv, bt709), 1920x1080 [SAR 1:1 DAR 16:9], 101 kb/s, 30 fps, 30 tbr, 15360 tbn, 60 tbc (default)
    Metadata:
      creation_time   : 2021-03-04T17:18:22.000000Z
      handler_name    : VideoHandler
      vendor_id       : [0][0][0][0]
      encoder         : AVC Coding

‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
On Thursday, 4 March 2021 17:14, Peter White <peter.white at posteo.net> wrote:

> On 04.03.21 17:38, Laura Smith via ffmpeg-user wrote:
>
> > Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 317 kb/s (default)
> >     Metadata:
> >       creation_time   : 2021-03-04T10:22:01.000000Z
> >       handler_name    : #Mainconcept MP4 Sound Media Handler
> >       vendor_id       : [0][0][0][0]
> > Stream mapping:
> >   Stream #0:0 -> #0:0 (h264 (native) -> h264 (libx264))
> >   Stream #0:1 -> #0:1 (copy)
>
> From the looks of it, everything should be fine. Are you sure there is
> no audio stream in the resulting file? Maybe it is a playback issue.
>
> What does ffprobe say? A simple:
>
> $ ffprobe Output.mp4
>
> should show the a similar output to the above.
>
> Maybe try another program to play it back, like vlc or even ffplay. Or
> perhaps audio got muted between playing back the input and output?
>
> Peter
>
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> https://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