04.09.2021, 13:08
(04.09.2021, 12:40)Selur Wrote: b. What happens if your call:
inside a terminal window ?"/Applications/Hybrid.app/Contents/MacOS/ffmpeg" -y -threads 4 -nostdin -i "/Volumes/Racines/Le Tombeau des lucioles/LE_TOMBEAU_DES_LUCIOLES_SCN_Titre_1.ac3" -ac 2 -ar 48000 -f sox - | "/Applications/Hybrid.app/Contents/MacOS/sox" --multi-threaded --temp "/Users/Laurent/Movies/Hybrid/2021-09-04@12_14_00_471001" --buffer 524288 -S -t sox - -t wav - tempo 0.95904000 | "/Applications/Hybrid.app/Contents/MacOS/ffmpeg" -y -threads 4 -f sox -i - -b:a 384k -ar 48000 -channel_layout stereo "/Users/Laurent/Movies/Hybrid/iId_2_aid_0_2021-09-04@12_14_00_4710_02.ac3"
Cu Selur
I think it's the same answer as in Hybrid. I give you the end of it:
[ac3 @ 0x7ff526c00880] Estimating duration from bitrate, this may be inaccurate
Input #0, ac3, from '/Volumes/Racines/Le Tombeau des lucioles/LE_TOMBEAU_DES_LUCIOLES_SCN_Titre_1.ac3':
Duration: 01:24:54.14, start: 0.000000, bitrate: 384 kb/s
Stream #0:0: Audio: ac3, 48000 Hz, stereo, fltp, 384 kb/s
Stream mapping:
Stream #0:0 -> #0:0 (ac3 (native) -> pcm_s32le (native))
Output #0, sox, to 'pipe:':
Metadata:
encoder : Lavf59.4.100
Stream #0:0: Audio: pcm_s32le, 48000 Hz, stereo, s32, 3072 kb/s
Metadata:
encoder : Lavc59.3.101 pcm_s32le
/Applications/Hybrid.app/Contents/MacOS/sox WARN wav: Length in output .wav header will be wrong since can't seek to fix it
Input File : '-' (sox)
Channels : 2
Sample Rate : 48000
Precision : 32-bit
Sample Encoding: 32-bit Signed Integer PCM
In:0.00% 00:00:10.92 [00:00:00.00] Out:0 [ | ] Clip:0 [sox @ 0x7fe52ac00b40] truncating fractional part of sample rate (0.000000)
[sox @ 0x7fe52ac00b40] invalid header
pipe:: Invalid data found when processing input
av_interleaved_write_frame(): Broken pipe
Error writing trailer of pipe:: Broken pipe
size= 4152kB time=00:00:11.10 bitrate=3063.2kbits/s speed=93.5x
video:0kB audio:4164kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown
Conversion failed!
Is it possible that when changing the speed of this audio file, its length becomes too long for the video file?
The video is from a blu-ray. The audio is from a dvd. Maybe there's a small change in the credits before the film making it smaller in length for the audio once rendered longer in 23,976 im/s ?
Or the crash happens even before muxing the audio with the video?
I checked the two versions of the film and what I said could be relevant.
The audio file is 6 seconds longer than the video and would become even longer after speed change.