LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Mencoder segfaults when converting x264 MKVs (https://www.linuxquestions.org/questions/slackware-14/mencoder-segfaults-when-converting-x264-mkvs-889621/)

dugan 07-03-2011 02:04 AM

Mencoder segfaults when converting x264 MKVs
 
The version of mencoder I currently have installed segfaults (immediately) when you ask it to convert x264-encoded MKVs to another format. One sample command-line would be:

Code:

mencoder -nosound -ovc libdv Puella_Magi_Madoka_Magica_720p_GG_-_06.mkv -o a.avi
This produces the following output:

Code:

MEncoder 20110702-4.5.2 (C) 2000-2011 MPlayer Team
success: format: 0  data: 0x0 - 0x1c43987e
libavformat file format detected.
[matroska,webm @ 0x1609800] max_analyze_duration 5000000 reached at 5019000
[matroska,webm @ 0x1609800] Estimating duration from bitrate, this may be inaccurate
[lavf] stream 0: video (h264), -vid 0, SHAFTSHIT - 06
[lavf] stream 1: audio (aac), -aid 0, -alang jpn, AAC 2.0
[lavf] stream 2: subtitle (ass), -sid 0, -slang eng, ass
VIDEO:  [H264]  1280x720  0bpp  23.976 fps    0.0 kbps ( 0.0 kbyte/s)
[V] filefmt:44  fourcc:0x34363248  size:1280x720  fps:23.976  ftime:=0.0417
Segmentation fault

Extracting the video track with mkvextract and then mencoding that produces the same output.

I'm using a very recent MPlayer checkout (I used Pat's SlackBuild, set USE_PATENTS to YES, and set the VERSION to 20110702). The version of x264 that I have installed, and that I've built MPlayer against, is the one currently on SBO: 20101023.

Can anyone else confirm whether this happens to them, or is it just me?

Incidentally, I'm wondering if the version of FFMpeg that the MPlayer configure script downloads might be at fault. The slightly outdated FFMpeg I installed from SBo (6.1) does not crash when converting the same file.

And no, I can't use either Alien Bob's Mplayer build or the MPlayer binaries included with Slackware. Neither is built against either libdv or x264. I need libdv as an output codec.

H_TeXMeX_H 07-03-2011 04:29 AM

Try the latest x264 checkout.

ponce 07-03-2011 04:39 AM

here seems to work fine (pressed ctrl-c during encoding): I am using a rebuild of latest alien's version (20110624) against latest libdv and x264 from SBo.

dugan 07-03-2011 05:28 PM

Thanks you two. It works with the latest x264 snapshot.


All times are GMT -5. The time now is 02:05 AM.