This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

[BUG] crash when encoding ac3
#5
(04.09.2021, 12:40)Selur Wrote: b. What happens if your call:
"/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"
inside a terminal window ?

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.
Reply


Messages In This Thread
crash when encoding ac3 - by LaurentS - 04.09.2021, 12:26
RE: crash when encoding ac3 - by Selur - 04.09.2021, 12:40
RE: crash when encoding ac3 - by LaurentS - 04.09.2021, 13:01
RE: crash when encoding ac3 - by LaurentS - 04.09.2021, 13:08
RE: crash when encoding ac3 - by Selur - 04.09.2021, 13:03
RE: crash when encoding ac3 - by Selur - 04.09.2021, 14:36
RE: crash when encoding ac3 - by LaurentS - 04.09.2021, 16:14
RE: crash when encoding ac3 - by Selur - 04.09.2021, 18:51
RE: crash when encoding ac3 - by LaurentS - 06.09.2021, 18:25
RE: crash when encoding ac3 - by Selur - 06.09.2021, 18:43
RE: crash when encoding ac3 - by LaurentS - 06.09.2021, 19:02
RE: crash when encoding ac3 - by Selur - 06.09.2021, 19:04
RE: crash when encoding ac3 - by LaurentS - 06.09.2021, 19:15
RE: crash when encoding ac3 - by Selur - 06.09.2021, 19:21
RE: crash when encoding ac3 - by Selur - 06.09.2021, 19:33
RE: crash when encoding ac3 - by LaurentS - 06.09.2021, 21:14
RE: crash when encoding ac3 - by Selur - 06.09.2021, 21:22
RE: crash when encoding ac3 - by LaurentS - 07.09.2021, 21:47
RE: crash when encoding ac3 - by LaurentS - 07.09.2021, 19:19
RE: crash when encoding ac3 - by Selur - 07.09.2021, 19:34
RE: crash when encoding ac3 - by LaurentS - 07.09.2021, 21:39
RE: crash when encoding ac3 - by Selur - 07.09.2021, 21:41
RE: crash when encoding ac3 - by Selur - 07.09.2021, 23:00
RE: crash when encoding ac3 - by LaurentS - 07.09.2021, 23:48
RE: crash when encoding ac3 - by shijan - 08.09.2021, 02:45
RE: crash when encoding ac3 - by shijan - 08.09.2021, 04:02
RE: crash when encoding ac3 - by Selur - 08.09.2021, 07:31
RE: crash when encoding ac3 - by shijan - 08.09.2021, 07:44
RE: crash when encoding ac3 - by Selur - 08.09.2021, 07:47
RE: crash when encoding ac3 - by Selur - 08.09.2021, 08:53
RE: crash when encoding ac3 - by shijan - 08.09.2021, 09:36
RE: crash when encoding ac3 - by Selur - 08.09.2021, 11:30
RE: crash when encoding ac3 - by LaurentS - 08.09.2021, 16:36

Forum Jump:


Users browsing this thread: 2 Guest(s)