Re: Re : iPiMP 5.1.0 is released
Did some testing yesterday. Conclusion; Crap.
Nah, seriously. I think VLC uses the same x264 codec for there encoding purposes as ffmpeg, it just looks horrible with both of the defaults settings provided in the two links. I guess VLC has some different default settings for a lot of x264 setting.
The main problem was, the playback was stuttering as hell. It was not because VLC could not handle the encoding in time, as I could play the segmented pieces without any problems in vlc player. Some of the default settings for x264 are probably wrong to create a proper ipod/iphone compatible file. As command line parameters of all solutions are a bit different, it needs some digging again in the help files. Then I should be able to link all ffmpeg-x264 settings to vlc-x264 settings. It is as easy as running the command; "vlc --help" giving the following output; VLC-1-0-x command-line help - VideoLAN Wiki
BTW: to come back to this CBR / VBR issue some people are having.
When I either use vlc or the open source segmenter, I always go for 10 second segments with setting of 256k for video and 64k for audio. The encoded segments always end up to be ~800Kb in file size. As we are talking here about not real live streams, but downloaded fragments, the connection should be able to download each fragment to the client within at least 10 seconds. So while playing one segment of 10 seconds, at the background the ipod is downloading the next 10 seconds segment, while trowing away one of the previous segments. I always used settings to keep 5 segments in the m3u8 playlist.
Yesterday, I checked what the smoothstreaming was outputting as file size segments. It is such a different system? I guess the ismv is the video file. But it keeps on growing as one big file instead of segments. Then you have this ism file, which is probably something the same as the m3u8 file, it just uses some xml markup language. There are also some db3 files?
Anyway. question for you Cheezy; How many segments are you using and how long in seconds are they supposed to be. I guess the smoothstreaming module is translating the stuff in the isml directory to what the device wants to see.
EDIT:
Anyway, will also do some testing tonight.If vlc can do it, it might be the lost puzzle piece, to use the cassini mpwebservices small footprint webserver for all streaming purposes.
Cool - let us know about your test results.
Also - rather than cassini - we should look at IIS Express, again a small footprint - but with the capabilities of IIS7.x - much more feature rich than cassini but still small/portable.
Did some testing yesterday. Conclusion; Crap.
Nah, seriously. I think VLC uses the same x264 codec for there encoding purposes as ffmpeg, it just looks horrible with both of the defaults settings provided in the two links. I guess VLC has some different default settings for a lot of x264 setting.
The main problem was, the playback was stuttering as hell. It was not because VLC could not handle the encoding in time, as I could play the segmented pieces without any problems in vlc player. Some of the default settings for x264 are probably wrong to create a proper ipod/iphone compatible file. As command line parameters of all solutions are a bit different, it needs some digging again in the help files. Then I should be able to link all ffmpeg-x264 settings to vlc-x264 settings. It is as easy as running the command; "vlc --help" giving the following output; VLC-1-0-x command-line help - VideoLAN Wiki
BTW: to come back to this CBR / VBR issue some people are having.
When I either use vlc or the open source segmenter, I always go for 10 second segments with setting of 256k for video and 64k for audio. The encoded segments always end up to be ~800Kb in file size. As we are talking here about not real live streams, but downloaded fragments, the connection should be able to download each fragment to the client within at least 10 seconds. So while playing one segment of 10 seconds, at the background the ipod is downloading the next 10 seconds segment, while trowing away one of the previous segments. I always used settings to keep 5 segments in the m3u8 playlist.
Yesterday, I checked what the smoothstreaming was outputting as file size segments. It is such a different system? I guess the ismv is the video file. But it keeps on growing as one big file instead of segments. Then you have this ism file, which is probably something the same as the m3u8 file, it just uses some xml markup language. There are also some db3 files?
Anyway. question for you Cheezy; How many segments are you using and how long in seconds are they supposed to be. I guess the smoothstreaming module is translating the stuff in the isml directory to what the device wants to see.
EDIT:
Just readed back, you already had similar stuff, going on. Will see if I can come up with the proper vlc-x264 command line, for the ipod/iphone this evening.
- The resulting stream would not play on my iPhone, probably just some parameter tweaks needed though
United Kingdom