Re: [FFmpeg-user] No audio on ffmpeg output

2021-03-04 Thread Peter White
On 04.03.21 17:17, Laura Smith via ffmpeg-user wrote: -minrate 6000k -maxrate 6000k -bufsize 6000k -b:v 6000k I know this is off topic and you are free to ignore this but I cannot stand having to look at badly encoded videos on the interweb. Why do you force a constant bitrate? I see that tho

Re: [FFmpeg-user] No audio on ffmpeg output

2021-03-04 Thread Phil Rhodes via ffmpeg-user
Hmm. Can you convert a small test file, verify it has the same issue, and upload it somewhere? Also, can you install a separate media player such as VLC, and try playing the output file in that? P On Thursday, 4 March 2021, 17:07:53 GMT, Laura Smith wrote: Hi Phil Just standard Mac O

Re: [FFmpeg-user] No audio on ffmpeg output

2021-03-04 Thread Peter White
On 04.03.21 18:21, Laura Smith via ffmpeg-user wrote: Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'Transcodings/file.mp4': That looks like a different file, judging by your original post: > "${OUTDIR}/1080/${OUTPFX}_1080.mp4" There should be a file ending with _1080.mp4 in ${OUTDIR}/1080/, similar

Re: [FFmpeg-user] No audio on ffmpeg output

2021-03-04 Thread Laura Smith via ffmpeg-user
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 (

Re: [FFmpeg-user] No audio on ffmpeg output

2021-03-04 Thread Peter White
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.00Z   handler_name    : #Mainconcept MP4 Sound Media Handler   vend

Re: [FFmpeg-user] No audio on ffmpeg output

2021-03-04 Thread Laura Smith via ffmpeg-user
Hi Phil Just standard Mac OS X preview (click on a mp4 and hit space, it pops up a preview window and starts playing). Doing so on the source file provides stereo audio output that is identical to what is seen in Adobe Premiere. Doing so on the ffmpeg output provides pure silence. Laura Sen

Re: [FFmpeg-user] No audio on ffmpeg output

2021-03-04 Thread Phil Rhodes via ffmpeg-user
Hi Laura OK. Ordinarily I'd say unless the filenames literally contain your home address and phone number, don't obfuscate them, because that's exactly the sort of place the wet can get in. Still, in this case it does look like it's seeing the input audio and then writing about 4.5MB of audio d

Re: [FFmpeg-user] No audio on ffmpeg output

2021-03-04 Thread Laura Smith via ffmpeg-user
Hi, The bit I posted was from a shell script so it was posted verbatim. The variables are being correctly substituted because $SOURCE is found and the output is at the expected $OUTDIR + $OUTPFX location. As for the output, see below.  I have changed filenames to obfuscated values because I do

Re: [FFmpeg-user] No audio on ffmpeg output

2021-03-04 Thread Phil Rhodes via ffmpeg-user
Hi there Can I suggest you post for us the actual commandline that ends up getting executed, and the output from ffmpeg, at least until it gets down to the serious number crunching? The problem may be in the way the command is being assembled. P On Thursday, 4 March 2021, 16:18:15 GMT, Laur

[FFmpeg-user] No audio on ffmpeg output

2021-03-04 Thread Laura Smith via ffmpeg-user
Hi, Am I missing something simple here ? The command I am using is based on the example given at  https://google.github.io/shaka-packager/html/tutorials/encoding.html : ffmpeg -i "${SOURCE}" -c:a copy \ -vf "scale=-2:1080" \ -c:v libx264 -profile:v high -level:v 4.2 \ -x264-params scenecut