QutEcoacoustics / baw-audio-tools

Contains the audio, spectrogram, and caching tools for the Bioacoustics Workbench project.
MIT License
5 stars 0 forks source link

ffmpeg will sometimes go into an endless loop #5

Open cofiem opened 9 years ago

cofiem commented 9 years ago

Sometimes, for unknown reasons, ffmpeg will going into an endless loop when converting audio. The process will end up being killed at the timeout.

This is what happens. Perhaps something like disabling interactive input might help ('Press [q] to stop')?

Press [q] to stop, [?] for help 
size= 0kB time=00:00:00.00 bitrate=N/A 
size= 0kB time=00:00:00.00 bitrate=N/A 
size= 0kB time=00:00:00.00 bitrate=N/A 
size= 0kB time=00:00:00.00 bitrate=N/A 
size= 0kB time=00:00:00.00 bitrate=N/A 
size= 0kB time=00:00:00.00 bitrate=N/A 
size= 0kB time=00:00:00.00 bitrate=N/A 
size= 0kB time=00:00:00.00 bitrate=N/A 
size= 0kB time=00:00:00.00 bitrate=N/A 
size= 0kB time=00:00:00.00 bitrate=N/A 
size= 0kB time=00:00:00.00 bitrate=N/A 
size= 0kB time=00:00:00.00 bitrate=N/A 
size= 0kB time=00:00:00.00 bitrate=N/A 
size= 0kB time=00:00:00.00 bitrate=N/A 
size= 0kB time=00:00:00.00 bitrate=N/A 
size= 0kB time=00:00:00.00 bitrate=N/A 
size= 0kB time=00:00:00.00 bitrate=N/A 
size= 0kB time=00:00:00.00 bitrate=N/A 
size= 0kB time=00:00:00.00 bitrate=N/A 
size= 0kB time=00:00:00.00 bitrate=N/A 
size= 0kB time=00:00:00.00 bitrate=N/A 
size= 0kB time=00:00:00.00 bitrate=N/A 
size= 0kB time=00:00:00.00 bitrate=N/A 
size= 0kB time=00:00:00.00 bitrate=N/A 
size= 0kB time=00:00:00.00 bitrate=N/A 
size= 0kB time=00:00:00.00 bitrate=N/A 
size= 0kB time=00:00:00.00 bitrate=N/A 
size= 0kB time=00:00:00.00 bitrate=N/A 
size= 0kB time=00:00:00.00 bitrate=N/A 
size= 0kB time=00:00:00.00 bitrate=N/A 
size= 0kB time=00:00:00.00 bitrate=N/A 
size= 0kB time=00:00:00.00 bitrate=N/A 
size= 0kB time=00:00:00.00 bitrate=N/A 
size= 0kB time=00:00:00.00 bitrate=N/A
size= 0kB time=00:00:00.00 bitrate=N/A 
size= 0kB time=00:00:00.00 bitrate=N/A 
size= 0kB time=00:00:00.00 bitrate=N/A 
size= 0kB time=00:00:00.00 bitrate=N/A 
size= 0kB time=00:00:00.00 bitrate=N/A
cofiem commented 9 years ago

This seems to occur mainly for wav to wav conversions:

Guessed Channel Layout for Input Stream #0.0 : stereo Input #0, wav, 
from  
Duration: 06:45:45.00, bitrate: 705 kb/s Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 22050 Hz, 2 channels, s16, 705 kb/s Output #0, wav, 
to
 Metadata: ISFT : Lavf55.43.100 Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 22050 Hz, stereo, s16, 705 kb/s 
Metadata: encoder : Lavc55.66.101 pcm_s16le 
Stream mapping: Stream #0:0 -> #0:0 (pcm_s16le (native) -> pcm_s16le (native)) 

Press [q] to stop, [?] for help size= 0kB time=00:00:00.00 bitrate=N/A size= 0kB time=00:00:00.00 bitrate=N/A size= 0kB time=00:00:00.00 bitrate=N/A size= 0kB time=00:00:00.00 bitrate=N/A size= 0kB time=00:00:00.00 bitrate=N/A size= 0kB time=00:00:00.00 bitrate=N/A size= 0kB time=00:00:00.00 bitrate=N/A size= 0kB time=00:00:00.00 bitrate=N/A
cofiem commented 9 years ago

Seems to happen only on 6 hr 45 min duration wav files when seeking to near the end of the file (5h and later).