[SOLVED] Playing video

BentFranklin

Joined: 2012-04-24
Posts: 32
Posted: Sun, 2012-05-13 07:54

I uploaded my first video. It uploaded fine once I changed the extension from mpeg to mp4. But it won't play. The video control bar shows but the video area shows an error message:

200, Stream not found, Netstream.Play.StreamNotFound, clip:'[Clip]'

This is a clip I cut from a larger video and saved as follows:

Video: MPEG-2, 4000 kbps, 720x480, 29.97 fps
Audio: 224 kbps

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 7892
Posted: Sun, 2012-05-13 12:29

mp4 mpeg4 not mpeg2.
In order for mp4 to play it must be .h264 video codec and either AAC or mp3 audio

You cannot just change the extension

-s

 
Rockbär
Rockbär's picture

Joined: 2012-04-22
Posts: 76
Posted: Sun, 2012-05-13 15:32
suprsidr wrote:
You cannot just change the extension

lol

 
BentFranklin

Joined: 2012-04-24
Posts: 32
Posted: Sun, 2012-05-13 17:29
suprsidr wrote:
You cannot just change the extension

Well, normally I know that, but some media players look under the hood to get the actual format. I couldn't find anywhere in the docs or faq what formats were actually required. Thanks!

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 7892
Posted: Sun, 2012-05-13 17:53

Gallery3 uses the free version of Flowplayer which is a flash video player and supports:

http://en.wikipedia.org/wiki/Adobe_Flash#Flash_Video wrote:
On August 20, 2007, Adobe announced on its blog that with Update 3 of Flash Player 9, Flash Video will also support some parts of the MPEG-4 international standards.[22] Specifically, Flash Player will have support for video compressed in H.264 (MPEG-4 Part 10), audio compressed using AAC (MPEG-4 Part 3), the F4V, MP4 (MPEG-4 Part 14), M4V, M4A, 3GP and MOV multimedia container formats, 3GPP Timed Text specification (MPEG-4 Part 17), which is a standardized subtitle format and partial parsing support for the 'ilst' atom, which is the ID3 equivalent iTunes uses to store metadata. MPEG-4 Part 2 and H.263 will not be supported in F4V file format. Adobe also announced that it will be gradually moving away from the FLV format to the standard ISO base media file format (MPEG-4 Part 12) owing to functional limits with the FLV structure when streaming H.264. The final release of the Flash Player supporting some parts of MPEG-4 standards had become available in Fall 2007.

Gallery3 officially supports flash video (flv, mp4)
But some of us have hacked our galleries to support more formats.

But either way, mpeg2 is not a web friendly format.

-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2

 
BentFranklin

Joined: 2012-04-24
Posts: 32
Posted: Sun, 2012-05-13 22:54

I managed to create an flv and upload it and it plays. The only thing is, the thumbs was created, and it exists in var/thumbs, but it is not displayed in album view. However, it is displayed as the thumb for the album in the parent's album!

2012-05-13 18:04:46 -04:00 --- error: File not found: file_proxy/Video-Tapes-1987-to-1995/Christmas 1987.jpg

From apache log:

xx.xx.xx.xx - - [13/May/2012:18:51:23 -0400] "GET /Gallery/var/thumbs/Video-Tapes-1987-to-1995/Christmas%201987.jpg?m=1336948352 HTTP/1.1" 404 6940 "http://xxx.com/Gallery/index.php/Video-Tapes-1987-to-1995" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.19 (KHTML, like Gecko) Chrome/18.0.1025.168 Safari/535.19"

 
BentFranklin

Joined: 2012-04-24
Posts: 32
Posted: Sun, 2012-05-13 23:34

Update: Problem goes away when deactivating the videos module.

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 7892
Posted: Tue, 2012-05-22 12:04

Comments are now locked for this topic.