Selur's Little Message Board
crashed extracting audio as pcm using ffmpeg - Printable Version

+- Selur's Little Message Board (https://forum.selur.net)
+-- Forum: Hybrid - Support (https://forum.selur.net/forum-1.html)
+--- Forum: Problems & Questions (https://forum.selur.net/forum-3.html)
+--- Thread: crashed extracting audio as pcm using ffmpeg (/thread-311.html)



crashed extracting audio as pcm using ffmpeg - kingcrimsonster - 22.02.2018

crashed extracting audio as pcm/wav using ffmpeg


RE: crashed extracting audio as pcm using ffmpeg - Selur - 22.02.2018

Audio is first extracted with mplayer (since the input is a DVD) using:
"C:\PROGRA~1\Hybrid\64bit\mplayer.exe" -v -mc 0 -vc dummy -nocorrect-pts -noconsolecontrols -nocorrect-pts -vc null -vo null -nocache -hardframedrop -aid 160 dvd://1 -dvd-device "H:\!_Video\Video_Mus\Elvis Presley\Elvis_#1_hit_performances\VIDEO_TS" -endpos 60  -dumpaudio -dumpfile "E:\Temp\iId_1_aid_160_lang_en_17_38_09_6310_01.mov"
This creates:
E:\Temp\iId_1_aid_160_lang_en_17_38_09_6310_01.mov (10.9364 MB)
when FFMpeg is used to convert to was:
"C:\PROGRA~1\Hybrid\64bit\ffmpeg.exe" -y -threads 4 -i "E:\Temp\iId_1_aid_160_lang_en_17_38_09_6310_01.mov" -map 0:a:0 -acodec pcm_s16le -f wav -ac 1 -channel_layout mono -ar 48000 "E:\Temp\iId_1_aid_160_lang_en_17_38_09_6310_02.mov"
Which crashes with:
[mov,mp4,m4a,3gp,3g2,mj2 @ 0000025ca850ae40] Format mov,mp4,m4a,3gp,3g2,mj2 detected only with low score of 1, misdetection possible!
[mov,mp4,m4a,3gp,3g2,mj2 @ 0000025ca850ae40] moov atom not found
E:\Temp\iId_1_aid_160_lang_en_17_38_09_6310_01.mov: Invalid data found when processing input
-> ffmpeg doesn't crash extracting audio as pcm, it crashes trying to convert the output of mplayer which extracted the audio.

What's confusing me atm. is why Hybrid uses ffmpeg for the audio, it normally should use sox for the audio,.. and why the input channel count is set to 1 when MediaInfo reports:
Channel(s)                               : 2
Channel(s)                               : 2 channels
Can't reproduce this here at all. Sad
Does this also happen is you use a small sample of that file?

Cu Selur


RE: crashed extracting audio as pcm using ffmpeg - kingcrimsonster - 23.02.2018

This problem exist only for DVD input mode
I enable "Cut support" 00:00:00.000 00:01:00.000