bugGnash - The GNU Flash player - Bugs: bug #24144, Failure to decode tagesschau.de...

 
 

bug #24144: Failure to decode tagesschau.de video

Submitted by:  Benjamin Wolsey <bwy>
Submitted on:  Tue 26 Aug 2008 02:44:36 PM UTC  
 
Category: video-ffmpegSeverity: 3 - Normal
Release: NoneStatus: Fixed
Privacy: PublicAssigned to: Benjamin Wolsey <bwy>
Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Thu 28 Aug 2008 02:05:14 PM UTC, comment #5:

Er, meant to say I've committed a fix in FLVParser to move on one byte for VP6A codecs (undocumented, but apparently correct). FLVParser has been sadly neglected.

Benjamin Wolsey <bwy>
Project MemberIn charge of this item.
Thu 28 Aug 2008 02:00:57 PM UTC, comment #4:

The reported video URL in the original report isn't valid for very long. To test, either see http://www.tagesschau.de at certain times of day, or try streaming any of the videos from http://samples.mplayerhq.hu/FLV/flash8/ in Gnash.

Benjamin Wolsey <bwy>
Project MemberIn charge of this item.
Thu 28 Aug 2008 12:59:43 PM UTC, comment #3:

I've been hacking around in ffmpeg code.

The VP6F video fails when libavcodec can't parse the header (in libavcodec/vp6.c). It can't do this because the data Gnash provides it with is one byte off.

Adding _stream->read_byte() before line 352 (where readVideoFrame is called) of FLVParser.cpp fixes this video, but breaks flv (as opposed to vp6f according to libavcodec names) video.

Adding the extra byte segfaults with vp6a video rather than failing to decode it as well.

Benjamin Wolsey <bwy>
Project MemberIn charge of this item.
Wed 27 Aug 2008 12:10:30 PM UTC, comment #2:

Gnash just can't play the FLV with Ffmpeg.

Benjamin Wolsey <bwy>
Project MemberIn charge of this item.
Tue 26 Aug 2008 03:00:15 PM UTC, comment #1:

Actually, this works still with gstreamer, so not sure it ever did with ffmpeg.

Benjamin Wolsey <bwy>
Project MemberIn charge of this item.
Tue 26 Aug 2008 02:44:36 PM UTC, original submission:

The video stopped playing a while ago. Sound still works.

gnash -j 170 -k 116 http://www.tagesschau.de/resources/flash/flvplayer_399.swf -U http://www.tagesschau.de/ -P PARAM= -P SRC=/resources/flash/flvplayer_399.swf -P bgcolor=#FFFFFF -P data=/resources/flash/flvplayer_399.swf -P "flashvars=file=http://lsd.newmedia.tiscali-business.com/bb/redirect.lsc%3Fcontent%3Ddownload%26media%3Dhttp%26stream%3Dtagesschau/flashmedia/streams/tagesschau/misc/einsextra/TV-EinsExtra-klein-20080826-16.flv&image=/image/videoplayer/100s-teaser_klein.jpg&logo=/image/icon_lupe_d5e0f7.gif&link=javascript%3a+openFullSizeView%28%27player2%27%2c+%27rtmpt%3a%2f%2fflashmedia%2Emdn%2Enewmedia%2Enacamar%2Enet%2ftagesschau%27%2c+%27%2fmisc%2feinsextra%2fTV%2DEinsExtra%2Dgross%2D20080826%2D16%27%2c+0%2c+0%2c+%27Tagesschau+in+100+Sekunden+%7c+Video%27%2c+%27%2fimage%2fvideoplayer%2f100s%2Dteaser%5Fgross%2Ejpg%27%2c+%27%2fmultimedia%2fvideo%2findex%2Ehtml%27%29%3b&linktarget=_top&displayheight=96&displaywidth=170&overstretch=true&enablejs=true&usefullscreen=false&showfsbutton=false&autostart=false&showdigits=false&frontcolor=0x00044B&lightcolor=0xFFFFFF&backcolor=0xD5E0F7" -vv

(Not sure how long the video URL is valid for).

Output shows that ffmpeg is failing to decode the frame (avcodec_decode_video):

11168:139736084887328] 16:39:10 DEBUG: Added cue point at timestamp 0 and position 374 (key video frame)
11168:139736084887328] 16:39:10 DEBUG: Starting MediaParser thread
11168:139736084887328] 16:39:10 DEBUG: VideoDecoderFfmpeg::init: initialized FFMPEG codec vp6f (95)
11168:139736084887328] 16:39:10 DEBUG: AudioDecoderFfmpeg::setup: initialized FFMPEG codec mp3 (86017)
11168:139736084887328] 16:39:10 DEBUG: ::pause(1) called
11168:139736084887328] 16:39:10 DEBUG: void gnash::NetStreamFfmpeg::unpausePlayback() enter
11168:139736084887328] 16:39:10 TRACE: model: start: undefined
11168:139736084887328] 16:39:10 ERROR: Decoding of a video frame failed
11168:139736084887328] 16:39:10 ERROR: Error decoding encoded video frame in NetSTream input
11168:139736084887328] 16:39:10 ERROR: nextVideoFrameTimestamp returned true, but decodeNextVideoFrame returned null, I don't think this should ever happen
11168:139736084887328] 16:39:10 TRACE: view: state: 2,undefined
11168:139736084887328] 16:39:10 TRACE: view: state: 2,undefined
11168:139736084887328] 16:39:10 TRACE: view: state: 2,undefined
11168:139736084887328] 16:39:10 TRACE: view: state: 2,undefined
11168:139736084887328] 16:39:10 TRACE: view: time: 0.092,0
11168:139736084887328] 16:39:10 TRACE: view: time: 0.092,0
11168:139736084887328] 16:39:10 TRACE: view: time: 0.092,0
11168:139736084887328] 16:39:10 TRACE: view: time: 0.092,0
11168:139736084887328] 16:39:10 TRACE: view: load: 5,undefined
11168:139736084887328] 16:39:10 TRACE: view: load: 5,undefined
11168:139736084887328] 16:39:10 TRACE: view: load: 5,undefined
11168:139736084887328] 16:39:10 TRACE: view: load: 5,undefined
11168:139736084887328] 16:39:10 ERROR: Decoding of a video frame failed
11168:139736084887328] 16:39:10 ERROR: Error decoding encoded video frame in NetSTream input

Benjamin Wolsey <bwy>
Project MemberIn charge of this item.

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by bwy (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 5 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 03 Sep 2008 06:47:48 PM UTCbwyCategoryNone=>video-ffmpeg
      StatusReady For Test=>Fixed
      Open/ClosedOpen=>Closed
    Thu 28 Aug 2008 02:05:14 PM UTCbwyAssigned toNone=>bwy
    Thu 28 Aug 2008 02:00:57 PM UTCbwyStatusNone=>Ready For Test

    Back to the top


    Powered by Savane 3.1-cleanup1