iPhone support?

Discussion in 'CloneDVD mobile' started by liger_Trainer, Jul 2, 2007.

  1. liger_Trainer

    liger_Trainer New Member

    Are there plans to provide iPhone video support in the near future?

    The video supports up to 640x480 and the specs can be found here

    Thanks!
     
  2. theorioles33

    theorioles33 New Member

    I would say its inevitable!
     
  3. Peer

    Peer Redfox Development Team Staff Member

    Sure, I'd like to.
    Any profile already in CloneDVD mobile, that creates videos that run on the iPhone? (like iPod)
    If so, let us know here and I'll add a profile that also considers the screen resolution and we're there.. :)
     
  4. Don_Ron

    Don_Ron New Member

    H.264 video

    No current profile works. You need to add a profile that creates H.264 video output @ 480 x 320 pixels. Can you do so? Thanks.

    R o n
     
  5. Don_Ron

    Don_Ron New Member

    Correction

    My mistake, The iPod profile DOES work. If you could only adjust the screen size size to 480 x 320 pixels (or even 640 x 480)....

    R o n
     
  6. Peer

    Peer Redfox Development Team Staff Member

    Unfortunately, it's not quite as simple as that - there are a hell of a lot of other parameters that need to be right...
    Down here, I posted you 3 profiles, please test them each (require v1.1.5.0).
    About the screen resolution: 480x320 is the native resolution of the iPhone's display, but it is very improbable, that this is the targeted resolution, because it is neither 4:3 nor 16:9.
    You can try the profiles below each with the following variables to play with:

    - Quality slider: should be possible to max out the quality; I set the limits according to the iPhone specs
    - Resolution: iPhone specs state that 320x240 and 640x480 are the supported dimensions. It's not clear though, if those are merely meant to be an upper limit. If you want to have 480x320, you can use mobile's zoom option.

    [* iPhone experimental 1 max. 640x480 (MPEG-4)]
    ScreenRatio=3:2
    useMencoder=1
    SubTitle=1
    Res1=426x320
    Res2=640x480
    ResAna1=480x270
    ResAna2=640x360
    ARate=48000
    ABRate=128
    Format=lavf
    lavfopts=format=mp4
    lavcopts=aglobal=1:vglobal=1:vcodec=mpeg4:acodec=libfaac
    FileType=mp4
    Quality=23
    iPodFix=1
    MaxVBitrate=2500

    [* iPhone experimental 2 max. 320x240 (H.264 Level 1.3 no B-Frames)]
    ScreenRatio=3:2
    useMencoder=1
    SubTitle=1
    Res1=320x240
    ResAna1=320x180
    Format=avi
    moac=faac
    movc=x264
    ABRate=128
    mopts=-faacopts br=%abrate%:mpeg=4:eek:bject=2 -x264encopts bitrate=%vbrate%:level_idc=13:bframes=0:nopsnr:nossim%PASS%
    FileType=mp4
    Quality=15
    useMencoder=1
    SubTitle=1
    MaxVBitrate=768
    AllowChapterFiles=0
    MVolume=10
    Remux=2642MP4

    [* iPhone experimental 3, max. 640x480 (H.264 Level 2.1 w. B-Frames)]
    ScreenRatio=3:2
    useMencoder=1
    SubTitle=1
    Res1=426x320
    Res2=640x480
    ResAna1=480x270
    ResAna2=640x360
    Format=avi
    moac=faac
    movc=x264
    ABRate=128
    mopts=-faacopts br=%abrate%:mpeg=4:eek:bject=2 -x264encopts bitrate=%vbrate%:level_idc=21:bframes=3:nopsnr:nossim%PASS%
    FileType=mp4
    Quality=15
    useMencoder=1
    SubTitle=1
    MaxVBitrate=768
    AllowChapterFiles=0
    MVolume=10
    Remux=2642MP4
     
  7. Don_Ron

    Don_Ron New Member

    I am ready to test but you have to explain me how or where am i supposed to enter/load the test profile information into the program?

    R o n

    Update: I already found the devices.ini and added the 3 profiles. However, when trying them the program reports an errror in all three cases. Here is the error detailed info generated:

    Experimental profile 1:

    File 2 "C:\Program Files\SlySoft\CloneDVDmobile\apps\mencoder.exe" - -af volume=0 -aspect 4:3 -of lavf -lavfopts format=mp4:i_certify_that_my_video_stream_does_not_use_b_frames -oac lavc -ovc lavc -lavcopts aglobal=1:vglobal=1:vcodec=mpeg4:acodec=l ibfaac:vbitrate=922:abitrate=128 -vf pp=fd,scale=426:320,crop=428:320:-1:0,harddup -info name="VIDEO_DVD" -ofps 30000/1001 -o "C:\Transfer\la5aipod3.mp4" 109 TCE

    Encoder output:

    Try appending the scale filter to your filter list,
    e.g. -vf spp,scale instead of -vf spp.
    Audio LAVC, couldn't find encoder for codec l.


    Experimental profile 2:

    File 2 "C:\Program Files\SlySoft\CloneDVDmobile\apps\mencoder.exe" - -af volume=0 -aspect 4:3 -of avi -oac faac -ovc x264 -faacopts br=128:mpeg=4:eek:bject=2 -x264encopts bitrate=337:level_idc=13:bframes=0:nopsnr:nos sim -vf pp=fd,scale=320:240,crop=320:240:0:0,harddup -info name="VIDEO_DVD" -ofps 30000/1001 -o "C:\Transfer\la5aipod3.mp4" 232 TCE

    Encoder output:

    Option x264encopts: Unknown suboption nos
    WARNING: OUTPUT FILE FORMAT IS _AVI_. See -of help.
    Try appending the scale filter to your filter list,
    e.g. -vf spp,scale instead of -vf spp.
    FATAL: Cannot initialize video driver.


    Experimental profile 3:

    File 2 "C:\Program Files\SlySoft\CloneDVDmobile\apps\mencoder.exe" - -af volume=0 -aspect 4:3 -of avi -oac faac -ovc x264 -faacopts br=128:mpeg=4:eek:bject=2 -x264encopts bitrate=601:level_idc=21:bframes=3:nopsnr:nos sim -vf pp=fd,scale=426:320,crop=428:320:-1:0,harddup -info name="VIDEO_DVD" -ofps 30000/1001 -o "C:\Transfer\la5aipod3.mp4" 232 TCE

    Encoder output:

    Option x264encopts: Unknown suboption nos
    WARNING: OUTPUT FILE FORMAT IS _AVI_. See -of help.
    Try appending the scale filter to your filter list,
    e.g. -vf spp,scale instead of -vf spp.
    FATAL: Cannot initialize video driver.
     
    Last edited: Aug 5, 2007
  8. Azgrim

    Azgrim New Member

    To fix the first profile, delete the space between the l and ibfaac. To fix the second and third profiles, delete the space between the nos and sim%PASS% on the x264encopts line.

    This will allow it to run successfully. Unfortunately, only the first profile creates videos that the iPhone can use. The other two create videos you can view on your PC, but iTunes tells you that the iPhone can't play them and thus won't transfer them.

    As a side note, the third profile won't work because the iPhone only supports H.264 baseline profile which does not allow for b-frames. However it does support level 3.0
     
  9. Azgrim

    Azgrim New Member

    The following profile will create H.264 encoded files that can be played on the iPhone:

    Code:
    [iPhone AVC]
    Manufacturer=Apple
    ScreenRatio=3:2
    useMencoder=1
    SubTitle=1
    Res1=426x320
    Res2=480x270
    ResAna1=480x270
    ResAna2=480x270
    Format=avi
    moac=faac
    movc=x264
    ABRate=128
    mopts=-faacopts br=%abrate%:mpeg=4:object=2 -x264encopts bitrate=%vbrate%:level_idc=30:bframes=0:nocabac:nopsnr:nossim%PASS%
    FileType=mp4
    Quality=25
    MaxVBitrate=768
    AllowChapterFiles=0
    MVolume=10
    Remux=2642MP4
    While Res2 is the same as ResAna1 and ResAna2, I found it necessary for 16:9 material that wasn't considered anamorphic. It might be possible to remove ResAna2, but CDVDM crashes every time I do.

    Hope that helps.
     
  10. Peer

    Peer Redfox Development Team Staff Member

    Thanks alot!
    I'll add that to the next release.
     
  11. liger_Trainer

    liger_Trainer New Member

    Wow, I missed all of this. I appreciate you investigating this and planning to add the feature.

    Any estimate when the next update will occur? I see the last version was 08/08/07.

    I will be purchasing this when the feature is added. Thanks again!
     
  12. Vinny67

    Vinny67 New Member

    Hi Azgrim

    How would I increase the bitrate to 1500?
    Is it as simple as changing 768 to 1500?

    Thanks
     
  13. Xtgirl

    Xtgirl New Member

    I just wanted to bump this up to find out if you planned on adding a version for iPhone anytime soon.....I have no idea how to load the file that you say works so I will have to wait until you make it idiot proof......please please update this:)
     
  14. Yimbo

    Yimbo New Member

    Just copy the text (make sure CloneDVDMobile is not running) and paste it into the bottom of your devices.ini file (found in the CloneDVDMobile directory). Now run CloneDVDMobile, and in the selection screen you should see Apple. Underneath Apple it should say iPhone AVC.

    For those wondering if they can change certain options in the text, the answer is yes. For example, if you wish to encode audio using 160kbps vs. 128, just change the ABRate=128 to 160. If the volume seems a bit low, increase the value in MVolume (I recommend a slight increase, otherwise you may end up with complete distortion). I won't get into the other options, but several others can be changed to your liking.

    Oh, and as I just found out, if you have a slight sync issue with encoded dvd's, add the follwing line to the iPhone settings:

    mopts=-delay 0.2