Selur's Little Message Board

Full Version: crashed extracting audio as pcm using ffmpeg
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
crashed extracting audio as pcm/wav using ffmpeg
Audio is first extracted with mplayer (since the input is a DVD) using:
Code:
"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:
Code:
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:
Code:
"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:
Code:
[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:
Code:
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
This problem exist only for DVD input mode
I enable "Cut support" 00:00:00.000 00:01:00.000