Bug Reports V2 (#1) - Nginx + mod_h264: iPhone playback error (#18) - Message List
I try to use Nginx with mod_h264. With FlowPlayer woking fine, but when I try to open mp4-link on my iPhone, its tell me "Can't palyback this video" (or something like that, I use local version).
Why is it happend?
-
Message #37
Hi mkrentovskiy,
It's because the iPhone requests the file in a different way (using range requests). I've fixed it in the current development version. A new version (2.1) will soon be available which will include this fix.
For a working Nginx example, point your iPhone to http://h264.code-shop.com:83/iphone.mp4
arjen02/10/09 19:23:04 -
-
Message #38
Cool! Just tested - played well. Thank you.
mkrentovskiy02/12/09 16:04:44 -
Message #84
Hi mkrentovskiy, It's because the iPhone requests the file in a different way (using range requests). I've fixed it in the current development version. A new version (2.1) will soon be available which will include this fix. For a working Nginx example, point your iPhone to http://h264.code-shop.com:83/iphone.mp4
is it possible to play virtual video clips on iphone using ?start=xx url declaration?
anonymous04/13/09 15:29:09 -
-
Message #85
Hi,
You can't currently specify a clip using start and end times and play this video on the iPhone. This is due to the way the iPhone requests the video data (using range requests). I'll add it to the TODO list.
Arjen04/13/09 15:55:23 -
-
Message #87
Thanks for the quick reply :)
Is there a way to do this? Is it hard to code such functionality?
anonymous04/13/09 19:46:35 -
-
Message #88
The streaming module would need code very similar to the 'staticfile' modules of the different webservers.
It would be nice if the mod_h264_streaming could setup a 'dynamic' structure for the patched video file and pass it on to 'staticfile'. The 'staticfile' module only works on 'real' files though and not files that consist of data (the patched meta-data) in memory and video data on disk.
I have only briefly looked into adding this functionality to Lighttpd and that didn't make it look too easy to reuse the staticfile functionality.
Of course you can just copy&paste, but I was looking for re-use and quickly passing the data on to existing modules.
Perhaps you have some info about other webservers, or you have ideas of your own? I'd be happy to hear them.
Regards,
Arjen04/13/09 20:36:56 -
-
Message #89
Hi,
I've just added 'Virtual Video Clips' support for iPhone / vlc / mplayer (players doing byte range requests) in both the Apache and Nginx module.
arjen04/14/09 14:30:12 -
-
Message #97
WOW!! Thanks Arjen!
Is it possible to compile nginx with tags/mod_h264_streaming-2.1rc from svn and test this feature?
anonymous04/23/09 10:21:42 -
-
Message #98
Hi,
It will be available in the next release: tags/mod_h264_streaming-2.1rc2
Available shortly. :) I'm currently testing it for the different platforms.
Regards,
arjen04/23/09 10:58:43 -
Message #99
Hi,
It will be available in the next release: tags/mod_h264_streaming-2.1rc2
Available shortly. :) I'm currently testing it for the different platforms.
Regards,
arjen04/23/09 10:58:49
-
-
Message #110
Will the range request issue be fixed for lighttp as well? Virtual clips now works fine for flash and download (wget), but qt/vlc/mplayer/totem always gets the whole file.
Tengil04/27/09 13:13:44 -
-
Message #113
Hi,
The range requests support for Nginx/Apache is available in version 2.1rc2 (release candidate 2).
Unfortunately Lighttpd's internals are quite different from Nginx's (chains) and Apache's (buckets) and it is a lot more work to add this functionality. It's on the TODO list, but I doubt I will enough time to add it to version 2.1. Sorry about that.
arjen04/27/09 14:54:38 -
-
Message #114
Thanks for the quick reply. Apart from this issue, will there be any difference in support for the three platforms? Will you still be updating the module for Nginx, Apache and Lighttp at the same level or are you considering focusing in on one or two?
The reason I ask is that we are about to set up a server now and have just installed lighttpd (since this was the originally supported server), but we could easily switch to one of the others.
Are there any differences? Which do you reccommend?
Tengil04/28/09 09:13:58 -
-
Message #117
The underlying code that processes the video is the same for all the modules so for example fixes and features (subtitles, ...) will always be available in all versions.
Only webserver specific features like range requests and bandwidth shaping may or may not make it into all versions. Currently all modules are the same except that Nginx/Apache support range requests and Lighttpd doesn't. Bandwidth shaping is currently only available for Lighttpd 1.5.0
As a general rule, just choose the webserver you know best and is easiest to configure/maintain. But if you're targeting iPhone (needs range requests) than you'd have to pick Nginx/Apache, or you want the BW shaping feature then Lighttpd 1.5.0 is the one to choose.
Hope this helps,
Arjen04/28/09 11:01:53 -
-
Message #258
Will you eb able to watch the videos via iPhone if we're using the IIS module?
Denny08/13/09 00:49:08 -
-
Message #259
I haven't included byte range requests support in the IIS version, so most likely it won't work.
If you need to serve iPhone as well as Flash you can always set up a virtual host (iphone.example.com, flash.example.com) and have only the mod_h264_streaming module kick in for the flash.example.com virtual host.
The iphone.example.com video files will then be served by the staticfile module, which does support byte range requests.
arjen08/13/09 09:39:16
-
-
-
-
-
-
-
-
-
-
Message #86
Hi,
You can't currently specify a clip using start and end times and play this video on the iPhone. This is due to the way the iPhone requests the video data (using range requests). I'll add it to the TODO list.
Arjen04/13/09 15:55:29
-
-
