Adult Script Pro Community Forums

The forum is here for legacy reasons. No new posts will be created. User registration is disabled! If you have any questions, please email us or check https://www.adultscriptpro.com for more details!

You are not logged in.

#26 2011-10-28 15:37:56

symtab
Administrator
Registered: 2010-08-23
Posts: 7,501
Website

Re: [INPUT NEEDED] Mobile Video Testing (Iphone 3G/4G, Android...)

I think the problem is that you also tested with recent Android Versions (2.2, 2.3) and HTC Hero has some old Android version sad I'm gonna buy a HTC Hero if anything else fails smile))


Adult Scripts: Adult Script Pro - Adult Search Script
Adult Advertising/Traffic: Plug Rush - EXOClick - PopAds

Offline

#27 2011-10-28 15:49:45

bplex
Member
Registered: 2011-07-14
Posts: 10

Re: [INPUT NEEDED] Mobile Video Testing (Iphone 3G/4G, Android...)

Hold the presses!!!!!

I found the problem! It was sitting right in front of me. Try this conversion string:

/path/to/ffmpeg -threads 4 -y -i 'PATH_TO_SOURCE_VIDEO' -r 29.97 -vcodec libx264 -acodec libfaac -ar 44100 -ab 128k -ac 2 -b 320k -s 320x240 -vpre baseline -flags +loop -cmp +chroma -partitions 0 -subq 1 -trellis 0 -refs 1 -coder 0 -me_range 16 -g 300 -keyint_min 25 -sc_threshold 40 -i_qfactor 0.71 -maxrate 10M -bufsize 10M -rc_eq 'blurCplx^(1-qComp)' -qcomp 0.6 -qmin 10 -qmax 51 -qdiff 4 -level 30 -f mp4 PATH_TO_OUTPUT_VIDEO

Here is what I did and here is what I found out:

This is not an OS related problem because any OS greater than Android 2.0 should be just fine. Rather, this is a hardware issue. The HTC Hero supports Baseline (max L3), but DOES NOT support any video resolution higher than 480x320. The reason why the videos you initially created with my string didn't work was because the video output was set to 640x480. I have changed it such that the videos that are encoded using this string are 320x240. Also, I have modified it such that the bitrate is smaller (due to the resolution being smaller). This code should work for him. If it does, there is a followup explanation to why this would probably need to be a one-off fix and not a mainstream change.

Offline

#28 2011-10-28 15:57:39

symtab
Administrator
Registered: 2010-08-23
Posts: 7,501
Website

Re: [INPUT NEEDED] Mobile Video Testing (Iphone 3G/4G, Android...)

Done. Eri when you get a chance please test this: http://www.scriptdevel.com/video.forum13.latest.mp4

I wonder if the resolution was the problem before with the slow present and baseline.


Adult Scripts: Adult Script Pro - Adult Search Script
Adult Advertising/Traffic: Plug Rush - EXOClick - PopAds

Offline

#29 2011-10-28 16:00:19

symtab
Administrator
Registered: 2010-08-23
Posts: 7,501
Website

Re: [INPUT NEEDED] Mobile Video Testing (Iphone 3G/4G, Android...)

For me it works on HTC Desire Z (Android 2.3).


Adult Scripts: Adult Script Pro - Adult Search Script
Adult Advertising/Traffic: Plug Rush - EXOClick - PopAds

Offline

#30 2011-10-28 22:52:38

Eri
Member
Registered: 2011-03-18
Posts: 977

Re: [INPUT NEEDED] Mobile Video Testing (Iphone 3G/4G, Android...)

symtab wrote:

Done. Eri when you get a chance please test this: http://www.scriptdevel.com/video.forum13.latest.mp4

Finlay this works smile o yeahhhhh

HTC Hero Android 2.1 and Motorola Blur

Last edited by Eri (2011-10-28 22:56:17)


Best Adult Affilitate Network:
ExoClick
Best Deals on Dedicated Servers - CDN
INXY

Offline

#31 2011-10-28 23:07:45

bplex
Member
Registered: 2011-07-14
Posts: 10

Re: [INPUT NEEDED] Mobile Video Testing (Iphone 3G/4G, Android...)

Cool. So, because this works, it also poses two problems.

  1. This code (in baseline) cannot be used for HD videos

  2. Without baseline, this code cannot be used with older hardware mobile devices

For the first, while baseline can be used for videos up to 480p, it is terribly inefficient when used for any videos above that. I do not own a copy of the script so I do not know exactly how it looks, but if your script allows for the settings to be changed from an admin panel, I would offer a new option that allows for users to toggle between baseline, main, and high profile... depending on what your target mobile devices are. For the second, if you want to support older devices, you will be forced to use baseline profile with videos no bigger than 480x320. If you can make these options rather than hard coding them, it will probably work better for your customers.

Offline

#32 2011-10-28 23:23:50

Eri
Member
Registered: 2011-03-18
Posts: 977

Re: [INPUT NEEDED] Mobile Video Testing (Iphone 3G/4G, Android...)

I think is better to do the same that youtube is doing. For videos up to 480p use high profile and lower than 480p use baseline profile.


Best Adult Affilitate Network:
ExoClick
Best Deals on Dedicated Servers - CDN
INXY

Offline

#33 2011-10-28 23:54:53

symtab
Administrator
Registered: 2010-08-23
Posts: 7,501
Website

Re: [INPUT NEEDED] Mobile Video Testing (Iphone 3G/4G, Android...)

If we use the High X264 profile for videos > 480p it means that the videos wont play on older devices (HTC Hero, ...). Do you really need a resolution > 480x320 for mobile? I'm thinking of only including the baseline function (make it work on most devices and thats it).


Adult Scripts: Adult Script Pro - Adult Search Script
Adult Advertising/Traffic: Plug Rush - EXOClick - PopAds

Offline

#34 2011-10-29 02:24:06

bplex
Member
Registered: 2011-07-14
Posts: 10

Re: [INPUT NEEDED] Mobile Video Testing (Iphone 3G/4G, Android...)

I believe that he is aware that using high profile for something higher than 480p would mean that they won't play on older devices. It's actually just a moot point really because any resolution higher than 480p would not play on those older devices anyway so it really doesn't matter which profile is used.

As for a higher resolution than 480x320, this is a personal preference. Having built a mobile mod, I would say that yes, it is definitely worth having higher resolutions than 480x320. You cannot buy a device today that isn't, at the bare minimum, qHD (940x560). In fact, every mobile device made since 2010 has the capability of playing at least 720p video (nearly all 2011+ devices can play 1080p video). Further, many of the devices coming out now (Q4 2011 and Q1 2012) devices have 720p or greater displays on the devices themselves as well. With more and more content being watched and retrieved on mobile devices, I would say that at some point in the very near future, most major video sites will want to display HD quality and resolution videos to mobile devices.

Offline

#35 2011-10-29 15:29:03

symtab
Administrator
Registered: 2010-08-23
Posts: 7,501
Website

Re: [INPUT NEEDED] Mobile Video Testing (Iphone 3G/4G, Android...)

Please everyone give your opinion on this if you have time. I'm for using a maximum resolution of 480x320 for all mobile videos. Lets say we separate this, some videos wil work on older devices some wont.


Adult Scripts: Adult Script Pro - Adult Search Script
Adult Advertising/Traffic: Plug Rush - EXOClick - PopAds

Offline

#36 2011-10-29 15:39:42

Eri
Member
Registered: 2011-03-18
Posts: 977

Re: [INPUT NEEDED] Mobile Video Testing (Iphone 3G/4G, Android...)

best for me is 320x240 300kbps baseline probfile1.3 , I will pay less for bandwidth and everyone will be happy watching free porn , simple. smile

If someone need HD videos i will add and HD selection from a sponsor that support mobile HD videos.

Last edited by Eri (2011-10-29 15:41:45)


Best Adult Affilitate Network:
ExoClick
Best Deals on Dedicated Servers - CDN
INXY

Offline

#37 2011-10-29 17:19:11

symtab
Administrator
Registered: 2010-08-23
Posts: 7,501
Website

Re: [INPUT NEEDED] Mobile Video Testing (Iphone 3G/4G, Android...)

I agree. Anyone else?


Adult Scripts: Adult Script Pro - Adult Search Script
Adult Advertising/Traffic: Plug Rush - EXOClick - PopAds

Offline

#38 2011-10-29 17:20:25

symtab
Administrator
Registered: 2010-08-23
Posts: 7,501
Website

Re: [INPUT NEEDED] Mobile Video Testing (Iphone 3G/4G, Android...)

Actually i will make it so that if you select 320x240 in Admin -> Video -> Config then you will get the baseline 1.3 and if you select 640x480 then you will get high baseline 30 (what we had before). What do you think?


Adult Scripts: Adult Script Pro - Adult Search Script
Adult Advertising/Traffic: Plug Rush - EXOClick - PopAds

Offline

#39 2011-10-30 08:10:16

Eri
Member
Registered: 2011-03-18
Posts: 977

Re: [INPUT NEEDED] Mobile Video Testing (Iphone 3G/4G, Android...)

The problem will be if someone want to use the premium selection and want to upload some HD videos. With baseline profile 730p need 1024kbs with high profile only 512kbs, This means 50% less bandwidth = 50% less money to pay for bandwidth.


Best Adult Affilitate Network:
ExoClick
Best Deals on Dedicated Servers - CDN
INXY

Offline

#40 2011-10-30 08:56:31

symtab
Administrator
Registered: 2010-08-23
Posts: 7,501
Website

Re: [INPUT NEEDED] Mobile Video Testing (Iphone 3G/4G, Android...)

Hmm...good point. Even though there is no premium for mobile (yet, i will add this), i think its very important. So the best option would be to have this option enabled from Admin. Support more smart phones at a less quality/bigger filesize (for width > 480) or support only recent smart phones. This will be in 1.0.


Adult Scripts: Adult Script Pro - Adult Search Script
Adult Advertising/Traffic: Plug Rush - EXOClick - PopAds

Offline

#41 2012-01-01 19:07:44

ful2fun.com
Member
From: Usa
Registered: 2011-09-16
Posts: 1,048
Website

Re: [INPUT NEEDED] Mobile Video Testing (Iphone 3G/4G, Android...)

Eri wrote:

best for me is 320x240 300kbps baseline probfile1.3 , I will pay less for bandwidth and everyone will be happy watching free porn , simple. smile

If someone need HD videos i will add and HD selection from a sponsor that support mobile HD videos.


Eric Is Right 320x240 Is Good Resolution In my country Maxium Phomes Smart Or Small Ones Have This Resolution For Playing mp4 . So Its Good To have Or We Can Have Selection Of Option Which Resolution USer Want To See Video Like Youtube Have 240p,340p,480p Etc.

ful2fun.com
livesexpirates.com

Offline

#42 2012-01-13 17:10:04

jaydenblair@live.co.uk
Member
From: United Kingdom
Registered: 2011-10-30
Posts: 369
Website

Re: [INPUT NEEDED] Mobile Video Testing (Iphone 3G/4G, Android...)

Both of them worked on iphone 3gs IOS 5 and a motorola xoom on android 3.2

Offline

Board footer

Powered by FluxBB