Download & Extend

Videos are not found

Project:CDN2 Video
Version:6.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:acstewart
Status:needs work

Issue Summary

I've uploaded a video (successfully, I guess), but when it's time to play it, FlowPlayer says "Stream not found" (screenshot attached).

I've peeked into the database, and inside cdn2_vide0_node is a video token with the correct node ID. Also, within cdn2_videos, there are two lines (flash_flv_high_res and 320x240_thumb) which match the node ID and video token and have status of "complete".

So everything appears to be fine, but the asset_fetch_url for the FLV doesn't work (the one for the thumbnail does, but FlowerPlayer does not display it).

AttachmentSize
screenshot.png39.11 KB

Comments

#1

Original reply by acstewart, posted in #531244: CDN2 Video module doesn't properly report error status when unsupported audio codecs are submitted:

The problem you're running into currently is that you're uploading an AVI file that is encoded with 8 bits per sample, which isn't supported by FFMpeg. While I KNOW that error handling could be better in this case, there's not much I can do about the encoding issue since it's a bug (read: feature) in ffmpeg's software.

As a possible solution, if you have a different format you can try converting your video to, the transcoding process should complete properly.

The specific output for your video:

Input #0, avi, from '/usr/share/tomcat5/temp/717e4ab4-7950-11de-a954-3ba2386d8f5e54572.tmp':
  Duration: 00:00:36.00, start: 0.000000, bitrate: 4752 kb/s
    Stream #0.0: Video: mjpeg, yuvj422p, 320x240, 30.00 tb(r)
    Stream #0.1: Audio: pcm_u8, 16000 Hz, mono, s16, 128 kb/s
Output #0, flv, to '/usr/share/tomcat5/temp/717e4ab4-7950-11de-a954-3ba2386d8f5e54572_Flash_Video_
high_resolution.flv':
    Stream #0.0: Video: flv, yuv420p, 320x240, q=2-31, 200 kb/s, 25.00 tb(c)
    Stream #0.1: Audio: libmp3lame, 22050 Hz, mono, s16, 0 kb/s (auto)
Stream mapping:
  Stream #0.0 -> #0.0
  Stream #0.1 -> #0.1
Audio resampler only works with 16 bits per sample, patch welcome.

Again, we're TOTALLY willing to help diagnose issues with CDN2 and offer solutions.

Thanks for checking into that. For what it's worth, that AVI came from a Fuji FinePix S5000.

#2

Hey Matt,

This is, as Aaron pointed out, an ffmpeg issue. I did a little digging and saw that we're not the only ones running into it:
http://drupal.org/node/364269

I also downloaded the Fuji FinePix S5000 manual to see if there's a setting you can change to make the audio 16-bit, and from what I see in the manual there is not. I tried!

It would be helpful if you could at your convenience post a 5-10 second clip from your camera so we have a handy 8-bit test file to play around with as we come up with a solution. Would you be able to do that?

This is an unfortunate problem and I definitely understand your frustration. We too get frustrated when things don't work as they should :( Thank you for taking the time to write up these thorough bug reports!

-Dom

#3

I would be more than happy to provide a test clip:
http://reflective.me/sites/default/files/531224.zip (20MB)

Sorry for not trimming it down to 5-10 seconds like you asked, but I am running low on time and figured I would at least make one available. In fact, it's the same video I attempted to upload with the CDN2 module.

#4

Assigned to:Anonymous» acstewart
Status:active» needs work

Since ffmpeg doesn't support this format, the best we can do is provide some feedback during upload. I'm assigning this to the backend team to have a look at.

#5

Oop.. spoke too soon.. it appears just the latest ffmpeg exhibits this. I'll see what's involved in rolling our version back a notch as a first option.

nobody click here