14
का पता चला है, जबकि X264 FOURCC codec.I का उपयोग कर VideoWrite सभी dependencies.How स्थापित किया है मैं इस problem.The नमूना कोड है कि मैं का उपयोग किया गया इस प्रकार है ठीक कर सकते हैं मैं टूट ffmpeg त्रुटि हो रही है।टूटा ffmpeg डिफ़ॉल्ट सेटिंग्स
VideoWriter oVideoWriter ("path.mp4", CV_FOURCC('X','2','6','4'), 15, frameSize, false);
ऑपरेटिंग सिस्टम: Ubuntu 14.04 64-बिट
कंसोल त्रुटि:
[libx264 @ 0x8d6220] broken ffmpeg default settings detected
[libx264 @ 0x8d6220] use an encoding preset (e.g. -vpre medium)
[libx264 @ 0x8d6220] preset usage: -vpre <speed> -vpre <profile>
[libx264 @ 0x8d6220] speed presets are listed in x264 --help
[libx264 @ 0x8d6220] profile is optional; x264 defaults to high
Could not open codec 'libx264': Unspecified errorOpenCV Error: Unsupported format or combination of formats (Your version of Gstreamer doesn't support this codec acutally or needed plugin missing.) in CvVideoWriter_GStreamer::open, file /home/mbox140/Development/opencv-2.4.9/modules/highgui/src/cap_gstreamer.cpp, line 518
terminate called after throwing an instance of 'cv::Exception'
what(): /home/mbox140/Development/opencv-2.4.9/modules/highgui/src/cap_gstreamer.cpp:518: error: (-210) Your version of Gstreamer doesn't support this codec acutally or needed plugin missing. in function CvVideoWriter_GStreamer::open
मुझे इस के लिए किसी भी समाधान का सुझाव दें।
क्या वास्तविक 'ffmpeg' आदेश है में बनाया का उपयोग करते समय एक ही गलती को पूरा (CLI उपकरण और नहीं एपीआई का उपयोग करता है, तो)? वास्तविक, पूर्ण 'ffmpeg' कंसोल/लॉग आउटपुट क्या है? – LordNeckbeard
@LordNeckbeard मैंने कंसोल लॉग के साथ अपना प्रश्न अपडेट किया है, कृपया इसे – Ramakrishna
देखें, कृपया ** पूर्ण ** कंसोल आउटपुट और यदि संभव हो तो कमांड भी दिखाएं। – LordNeckbeard