LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 07-03-2011, 02:04 AM   #1
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,224

Rep: Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320
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.

Last edited by dugan; 07-03-2011 at 02:27 AM.
 
Old 07-03-2011, 04:29 AM   #2
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
Try the latest x264 checkout.
 
Old 07-03-2011, 04:39 AM   #3
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,097

Rep: Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174
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.

Last edited by ponce; 07-03-2011 at 04:40 AM.
 
Old 07-03-2011, 05:28 PM   #4
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,224

Original Poster
Rep: Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320
Thanks you two. It works with the latest x264 snapshot.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
mencoder x264 using 720x480 DragonM15 Linux - Software 23 11-17-2009 02:54 AM
mencoder & x264 help steve51184 Linux - Software 14 05-21-2009 04:58 AM
Green screen after video conversion, AVI to MP4 using Mencoder,Mplayer,FFmpeg,x264, manuken Linux - Newbie 4 10-29-2008 06:40 PM
Mencoder: x264 [error]: no ratecontrol method specified PsypherPunk Linux - Software 1 01-12-2008 08:45 AM
Converting DVD to x264 w/ Mencoder out of sync? carl0ski Linux - Desktop 1 01-12-2007 07:04 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration