You are not logged in.

#1 2012-03-19 13:54:20

xkrajnan
Member
Registered: 2012-03-19
Posts: 1

Gstreamer fails to play *some* .mp4 videos

Gstreamer is no longer able to play *some* .mp4 videos. Just until recently
(possibly update) that worked fine for me. I will appretiate any help with resolving this problem.

Videos concerning were downloaded from Youtube via the Firefox DownloadHelper,
so I suspect some of them to use some non-standard format feature. Also
ffmpeg-ing videos to other or same format works and converted videos can be
played by Gstreamer without problems.

This is the only download video I was able to confirm Gstreamer can still play:
http://www.youtube.com/watch?v=T0UbcngpDkk

It fails for almost every other, e.g.:
http://www.youtube.com/watch?v=h0ffIJ7ZO4U


Gstreamer output:
-----

$ gst-launch-0.10 filesrc location=blue.mp4 ! decodebin2 name=dec ! queue !
ffmpegcolorspace ! autovideosink

...
New clock: GstSystemClock
Received end of stream from „pipeline0“.
Execution ended after 181781 ns.
...


Working video ffmpeg output:
-----

$ ffmpeg -i Blue\ Effect\ -\ Má\ Hra-2.mp4
ffmpeg version 0.10.2 Copyright (c) 2000-2012 the FFmpeg developers
  built on Mar 17 2012 08:51:02 with gcc 4.6.3
  configuration: --prefix=/usr --enable-libmp3lame --enable-libvorbis
--enable-libxvid --enable-libx264 --enable-libvpx --enable-libtheora
--enable-libgsm --enable-libspeex --enable-postproc --enable-shared
--enable-x11grab --enable-libopencore_amrnb --enable-libopencore_amrwb
--enable-libschroedinger --enable-libopenjpeg --enable-librtmp
--enable-libpulse --enable-gpl --enable-version3 --enable-runtime-cpudetect
--disable-debug --disable-static
  libavutil      51. 35.100 / 51. 35.100
  libavcodec     53. 61.100 / 53. 61.100
  libavformat    53. 32.100 / 53. 32.100
  libavdevice    53.  4.100 / 53.  4.100
  libavfilter     2. 61.100 /  2. 61.100
  libswscale      2.  1.100 /  2.  1.100
  libswresample   0.  6.100 /  0.  6.100
  libpostproc    52.  0.100 / 52.  0.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'Blue Effect - Má Hra-2.mp4':
  Metadata:
    major_brand     : mp42
    minor_version   : 0
    compatible_brands: isommp42
    creation_time   : 2011-12-16 00:15:06
  Duration: 00:10:12.24, start: 0.000000, bitrate: 436 kb/s
    Stream #0:0(und): Video: h264 (Constrained Baseline) (avc1 / 0x31637661),
yuv420p, 640x360, 337 kb/s, 25 fps, 25 tbr, 50 tbn, 50 tbc
    Metadata:
      creation_time   : 1970-01-01 00:00:00
      handler_name    : VideoHandler
    Stream #0:1(und): Audio: aac (mp4a / 0x6134706D), 44100 Hz, stereo, s16, 95
kb/s
    Metadata:
      creation_time   : 2011-12-16 00:15:06
      handler_name    :


Not working video ffmpeg dump:
-----

$ ffmpeg -i Dire\ Straits\ -\ Sultans\ Of\ Swing.mp4
ffmpeg version 0.10.2 Copyright (c) 2000-2012 the FFmpeg developers
  built on Mar 17 2012 08:51:02 with gcc 4.6.3
  configuration: --prefix=/usr --enable-libmp3lame --enable-libvorbis
--enable-libxvid --enable-libx264 --enable-libvpx --enable-libtheora
--enable-libgsm --enable-libspeex --enable-postproc --enable-shared
--enable-x11grab --enable-libopencore_amrnb --enable-libopencore_amrwb
--enable-libschroedinger --enable-libopenjpeg --enable-librtmp
--enable-libpulse --enable-gpl --enable-version3 --enable-runtime-cpudetect
--disable-debug --disable-static
  libavutil      51. 35.100 / 51. 35.100
  libavcodec     53. 61.100 / 53. 61.100
  libavformat    53. 32.100 / 53. 32.100
  libavdevice    53.  4.100 / 53.  4.100
  libavfilter     2. 61.100 /  2. 61.100
  libswscale      2.  1.100 /  2.  1.100
  libswresample   0.  6.100 /  0.  6.100
  libpostproc    52.  0.100 / 52.  0.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'Dire Straits - Sultans Of Swing.mp4':
  Metadata:
    major_brand     : mp42
    minor_version   : 0
    compatible_brands: isomavc1mp42
    creation_time   : 2010-02-22 17:27:21
  Duration: 00:04:26.72, start: 0.000000, bitrate: 663 kb/s
    Stream #0:0(und): Audio: aac (mp4a / 0x6134706D), 44100 Hz, stereo, s16,
122 kb/s
    Metadata:
      creation_time   : 2010-02-22 17:27:21
      handler_name    : (C) 2007 Google Inc. v08.13.2007.
    Stream #0:1(und): Video: h264 (Constrained Baseline) (avc1 / 0x31637661),
yuv420p, 480x360 [SAR 1:1 DAR 4:3], 538 kb/s, 25 fps, 25 tbr, 25k tbn, 50 tbc
    Metadata:
      creation_time   : 2010-02-22 17:27:21
      handler_name    :

Last edited by xkrajnan (2012-03-19 13:56:51)

Offline

Board footer

Powered by FluxBB