Sat 18 Oct 2008 09:04:51 PM UTC, original submission:
Some youtube videos such as http://www.youtube.com/watch?v=hJOiCsL6eD0 do not play, ffmpeg states that this video is h264 video and faad audio, in my install ffmpeg-trunk, mplayer-trunk, libx264-trunk the flv from youtube plays just fine with ffplay and mplayer, so my libraries support whatever codecs are in this video, this issue happens when gnash is compiled to use ffmpeg or gst (which uses its own version of ffmpeg, i tested with 0.10.5 gst-ffmpeg)
When attempting to play this video i get this in the log (the error differs in wording slightly between ffmpeg and gst, but otherwise the same message)
18:39:47: ERROR: Unsupported video codec 7
18:39:47: ERROR: NetStream: Could not create Video decoder: Cannot find suitable decoder for flash codec 7
18:39:47: ERROR: Could not create Audio decoder: Unsupported audio codec 10
I was talking to bjacques who came up with this patch http://pastebin.ca/raw/1230428, it does not solve the problem but removes the error message about the video codec and makes the progress bar move [no video or audio though], the errors seen when using this patch are shown below:
ERROR: Could not create Audio decoder: AudioDecoderGst: cannot handle this codec!
16:53:00: ERROR: Error decoding encoded video frame in NetStream input
16:53:00: ERROR: nextVideoFrameTimestamp returned true, but decodeNextVideoFrame returned null, I don't think this should ever happen
(those last two lines just repeat a whole lot)
other example videos
http://www.youtube.com/watch?v=cUEkOVdUjHc
http://www.youtube.com/watch?v=aYKRXx8sLYM
and i'm on x86_64, and gnash is configured as:
Renderer: cairo - GUI: GTK - Media handler: gst
Configured with: --prefix=/usr --libdir=/usr/lib64 --sysconfdir=/etc --localstatedir=/var --mandir=/usr/man --docdir=/usr/doc/gnash-bzr --enable-gui=gtk --enable-renderer=cairo --enable-jpeg --enable-freetype2 --enable-fontconfig --enable-Xft --enable-jemalloc --enable-media=gst --enable-gstreamer
CXXFLAGS: -O3 -fPIC -march=native -pthread -pthread -W -Wall -Wcast-align -Wcast-qual -Wpointer-arith -Wreturn-type -Wnon-virtual-dtor -Wunused
Built against gstreamer version: 0.10.19
Linked against gstreamer version: 0.10.19
(again, tested with ffmpeg as well, same issue)
|