live555 H.264 trick play - h.264

Anyone know if live555 RTSP server can correctly reverse play h264 video?
I made index file for video using native MPEG2TransportStreamIndexer by
live555 and trying to reverse play with speed -1 or -2 but video freezes for many seconds, jumps to another frame and continue freezes.

I don't think mpeg2ts support reverse play. And it's just a transport layer. Contained media stream should support reverse play. MJPEG will be most simple media format can be played forward / backward.

Related

Accurate Seek in Pseudo-streaming Flash

I would like to know if the flash fallback (medialement or any other) can support accurate seek to the frame for an H.264 video in a MP4 container, transferred by HTTP using an IIS or apache web server (HTTP Pseudostreaming or Progressive Download). In HTML5, we can order to seek to any frame number and it will manage to decode whatever is needed to display the requested frame index.
Currently, what I can experiment with all flash player is something like a seek to the closest GOP or keyframe. However, this is unfortunately not enough for my project as I really need to be able to reach any arbitrary frame.
Do you know if there is a way to have an frame accurate seek in Flash, using HTTP pseudo streaming (I know this is possible with FMS and RTMP streaming).

How to force the NetStream to create a keyframe?

I created a video stream recording application that works fine except the recorded FLVs are corrupt a little bit. :) If I open an FLV in VLC player everything is green but getting "clean" when changes occur. And especially at the beginning of the video is breaking up. (I use Red5 1.0)
For pre-recorded streams, the keyframes are already encoded into the file and they cannot be changed. If you're serving a live stream, the keyframes need to be set in the application that is encoding the live stream (for example, Flash Media Live Encoder).

Streaming video from S3 is choppy

I am working on a site that needs to convert videos from their original format into mp4 and ogv so I can use the HTML5 video tags. I do the conversion with ffmpeg and upload the videos to Amazon S3. I then have a Cloud Front setup to stream from my S3 bucket.
I have been able to get the videos to play in HTML5 but they are very choppy. When I have the video on my computer it plays smoothly.
What can I do to make sure my videos play smoothly?
You can see the choppy video at http://tendermercyclub.com/video.html.
The video is also choppy when downloaded to my hard drive, which leads me to believe it's a problem with the encoding. The framerate of the video is set at 20 and the bitrate is 64kb/s. This is pretty low for that size of video. I'd use 24 framerate at least, as per standard, but mainly I'd boost the bitrate to about at least 250kb/s, and see what difference it makes.

html5 (Non-Live) True Streaming / VOD

I understand you can feed the HTML5 <video> element RTP/RTSP video streams.
Streaming via RTSP or RTP in HTML5
Great! Now how would one go about setting up the stream?
To be clear, I'm not looking to stream live video, just encode and stream existing media/video files. Think Flash Media Server (I have a working example of the Flash route already). I'm wondering how to approach setting up the streaming server backend to serve up all the right codecs for HTML5 video in all different browsers (H.264/Ogg/WebM)
I'm looking at maybe FFServer? Or possibly the new VOD feature for VLC for streaming in H.264 (Safari, Flash) over RTSP. Possibly Icecast server for the Ogg video? Is this even possible? Are there currently any working examples of this type of html5 VOD true streaming in the wild?
This is no answer, however I would suggest trying to solve one problem at a time.
Example:
Q: Can I stream from Flash Media Server via HTML 5 "video" tag?
A: No, but progressive download is possible. (Reference: http://forums.adobe.com/thread/855764)

RTMP stream of a+v plays only audio, no video

In Flash, AS3, I am using NetConnection to connect to a RTMP server, then I use NetStream to play a video+audio stream.
I attach the stream (attachNetStream) to a flash.media.Video instance that is added to stage (double checked that it is ON the stage) and play it, but all I get is the sound of the stream that's being played - no video is displayed.
Note that even though I cannot see the video, when I listen to the onMetaData of the stream I can get plenty of information about the video such as width, height, FPS (changes during playback as if a video is shown), number of decoded frames.
Does anybody have an idea how can I make the video work too?
Instead of using "raw" NetConnection and NetStream and attach it to a flash.media.Video, I'd recommend using some wrapper such as Pyro Player. Its basically a video API and I've used it many times for RTMP video and it works like a charm (I've always found the Video component from Adobe very buggy, specially when displaying video from a RTMP server). Give it a try!
Thank you guys! but I found out the answer:
Apparently Flash's (CS3) built-in Video class does not support H.264 streams. I tried to compile the exact same code in Flex 3.5 and everything worked!
There is a possibility that CS4 also supports H.264 streams. I did not try.
JWPlayer is great, I did not try Pyro.
Cheers.