LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   mkv file unplayable by mplyaer though ffplay does (https://www.linuxquestions.org/questions/linux-newbie-8/mkv-file-unplayable-by-mplyaer-though-ffplay-does-879195/)

sumeet inani 05-06-2011 09:13 AM

mkv file unplayable by mplyaer though ffplay does
 
analysis
Code:

ffmpeg -i I.Am.Legend.2007.BRrip.720p.Dual.Audio.Eng.Hindi.By.Kamran444.mkv
FFmpeg version git-1dbd813, Copyright (c) 2000-2010 the FFmpeg developers
  built on Oct  1 2010 19:28:12 with gcc 4.4.3
  configuration: '--enable-avfilter' '--enable-avfilter-lavf' '--enable-vdpau' '--enable-bzlib' '--enable-libgsm' '--enable-libschroedinger' '--enable-libspeex' '--enable-libtheora' '--enable-libvorbis' '--enable-pthreads' '--enable-zlib' '--disable-stripping' '--enable-runtime-cpudetect' '--enable-gpl' '--enable-postproc' '--enable-swscale' '--enable-x11grab' '--enable-libdc1394' '--disable-static' '--enable-libopencore-amrnb' '--enable-libopencore-amrwb' '--enable-version3' '--enable-libfaac' '--enable-nonfree' '--enable-libmp3lame' '--enable-libx264' '--enable-gpl' '--enable-libxvid' '--enable-static'
  libavutil    50.23. 0 / 50.23. 0
  libavcore      0. 1. 0 /  0. 1. 0
  libavcodec    52.84. 1 / 52.84. 1
  libavformat  52.77. 0 / 52.77. 0
  libavdevice  52. 2. 0 / 52. 2. 0
  libavfilter    1.26. 1 /  1.26. 1
  libswscale    0.11. 0 /  0.11. 0
  libpostproc  51. 2. 0 / 51. 2. 0
[matroska @ 0xa8d9470] Estimating duration from bitrate, this may be inaccurate

Seems stream 0 codec frame rate differs from container frame rate: 47.95 (48000/1001) -> 24.00 (24/1)
Input #0, matroska, from 'I.Am.Legend.2007.BRrip.720p.Dual.Audio.Eng.Hindi.By.Kamran444.mkv':
  Metadata:
    title          : I Am Legend 2007 BRrip 720p Dual Audio [Eng-Hindi] - Henry[-=KSRR=-]
  Duration: 01:40:31.68, start: 0.000000, bitrate: 256 kb/s
    Stream #0.0: Video: h264, yuv420p, 1280x544 [PAR 1:1 DAR 40:17], 23.98 fps, 24 tbr, 1k tbn, 47.95 tbc
    Metadata:
      title          : Ripped BY Henry[-=KSRR=-]
    Stream #0.1(eng): Audio: mp3, 48000 Hz, 2 channels, s16, 128 kb/s
    Metadata:
      title          : Henry[-=KSRR=-]
    Stream #0.2(hin): Audio: mp3, 44100 Hz, 2 channels, s16, 128 kb/s
    Metadata:
      title          : Henry[-=KSRR=-]
At least one output file must be specified

error
Code:

[colo=red]mplayer I.Am.Legend.2007.BRrip.720p.Dual.Audio.Eng.Hindi.By.Kamran444.mkv[/color]
Error while decoding frame!
[h264 @ 0x44a8c00]AVC: nal size 4565825
[h264 @ 0x44a8c00]no frame!
.
.
.
Too many audio packets in the buffer: (4100 in 1570300 bytes).
Maybe you are playing a non-interleaved stream/file or the codec failed?
For AVI files, try to force non-interleaved mode with the -ni option.
A: 170.7 V:  0.0 A-V:170.741 ct:  0.000  0/  0 ??% ??% ??,?% 0 0

Exiting... (End of file)

ffplay is great though navigation & control is best in mplayer

sumeet inani 05-06-2011 09:16 AM

I also thought of ripping the video to playable format but mencoder could not extract even audio from it
Code:

mencoder  I.Am.Legend.2007.BRrip.720p.Dual.Audio.Eng.Hindi.By.Kamran444.mkv  -of rawaudio -oac mp3lame -ovc copy  -o i-am-legend-sound_size.mp3
Encoder SVN-r1.0~rc3+svn20090426-4.4.3 (C) 2000-2009 MPlayer Team
success: format: 0  data: 0x0 - 0x27557ec6
[mkv] Track 1 has been compressed with an unknown/unsupported compression
[mkv] algorithm (3). Skipping track.
[mkv] Track 2 has been compressed with an unknown/unsupported compression
[mkv] algorithm (3). Skipping track.
[mkv] Track 3 has been compressed with an unknown/unsupported compression
[mkv] algorithm (3). Skipping track.
[mkv] Track ID 1: video (V_MPEG4/ISO/AVC) "Ripped BY Henry[-=KSRR=-]", -vid 0
[mkv] Track ID 2: audio (A_MPEG/L3) "Henry[-=KSRR=-]", -aid 0, -alang eng
[mkv] Track ID 3: audio (A_MPEG/L3) "Henry[-=KSRR=-]", -aid 1, -alang hin
[mkv] Will play video track 1.
Matroska file format detected.
VIDEO:  [avc1]  1280x544  24bpp  23.976 fps    0.0 kbps ( 0.0 kbyte/s)
[V] filefmt:31  fourcc:0x31637661  size:1280x544  fps:23.976  ftime:=0.0417
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
AUDIO: 44100 Hz, 2 ch, s16le, 320.0 kbit/22.68% (ratio: 40000->176400)
Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
Ignoring video stream!
videocodec: framecopy (1280x544 24bpp fourcc=31637661)
MP3 audio selected.
big_values too large!
big_values too large!
big_values too large!
mpg123: Can't rewind stream by 2964 bits!
big_values too large!

Too many video packets in the buffer: (4096 in 12941281 bytes).
Maybe you are playing a non-interleaved stream/file or the codec failed?
For AVI files, try to force non-interleaved mode with the -ni option.

Though allocating 150MB for sound & 550MB for video with video bitrate of 700k :- ffmpeg did the job.

Question remains :-what is lacking in my mplayer that it could not play original video ?


All times are GMT -5. The time now is 08:50 AM.