VideoHelp Forum




+ Reply to Thread
Results 1 to 15 of 15
  1. Member
    Join Date
    Sep 2009
    Location
    Italy
    Search Comp PM
    hello, im trying to convert a video to a suitable format for my phone, i know that the phone works with videos made using mpeg4 @simpleL3 + BVOP ( i simply checked the details of a working .mp4 file i have on the phone). But i cant find anywhere on the internet the command line parameters to get exactly that format using ffmpeg, can u help me?


    thanks in advance
    Quote Quote  
  2. Member bat999's Avatar
    Join Date
    Feb 2008
    Location
    United Kingdom
    Search Comp PM
    Originally Posted by rekotc View Post
    mpeg4 @simpleL3 + BVOP
    mediainfo?
    Quote Quote  
  3. Member
    Join Date
    Sep 2009
    Location
    Italy
    Search Comp PM
    yes i used mediainfo, this is the info for the working file:

    General
    Complete name : C:\Users\Re Kotc\Videos\TEST.mp4
    Format : MPEG-4
    Format profile : Base Media / Version 2
    Codec ID : mp42
    File size : 74.9 MiB
    Duration : 19mn 15s
    Overall bit rate mode : Variable
    Overall bit rate : 543 Kbps
    Encoded date : UTC 2012-09-27 11:43:20
    Tagged date : UTC 2012-09-27 11:45:58

    Video
    ID : 2
    Format : MPEG-4 Visual
    Format profile : Simple@L3
    Format settings, BVOP : Yes
    Format settings, QPel : No
    Format settings, GMC : No warppoints
    Format settings, Matrix : Default (H.263)
    Codec ID : 20
    Duration : 19mn 15s
    Bit rate mode : Variable
    Bit rate : 411 Kbps
    Maximum bit rate : 710 Kbps
    Width : 320 pixels
    Height : 240 pixels
    Display aspect ratio : 4:3
    Frame rate mode : Variable
    Frame rate : 14.850 fps
    Original frame rate : 15.000 fps
    Minimum frame rate : 14.837 fps
    Maximum frame rate : 14.859 fps
    Color space : YUV
    Bit depth : 8 bits
    Scan type : Progressive
    Compression mode : Lossy
    Bits/(Pixel*Frame) : 0.360
    Stream size : 56.6 MiB (76%)
    Language : English
    Encoded date : UTC 2012-09-27 11:43:20
    Tagged date : UTC 2012-09-27 11:45:58

    Audio
    ID : 1
    Format : AAC
    Format/Info : Advanced Audio Codec
    Format profile : LC
    Codec ID : 40
    Duration : 19mn 14s
    Bit rate mode : Variable
    Bit rate : 128 Kbps
    Maximum bit rate : 152 Kbps
    Channel(s) : 2 channels
    Channel positions : Front: L R
    Sampling rate : 44.1 KHz
    Compression mode : Lossy
    Stream size : 17.6 MiB (24%)
    Language : English
    Encoded date : UTC 2012-09-27 11:43:20
    Tagged date : UTC 2012-09-27 11:45:58
    Material_Duration : 1155843
    Material_StreamSize : 18489235
    Quote Quote  
  4. Member bat999's Avatar
    Join Date
    Feb 2008
    Location
    United Kingdom
    Search Comp PM
    Originally Posted by rekotc View Post
    yes i used mediainfo, this is the info for the working file:

    Format profile : Simple@L3
    Format settings, BVOP : Yes
    FFmpeg gives this type:-
    Code:
    Format profile  : Simple@L1
    Format settings, BVOP   : No
    I don't know if it's possible to change it.
    Quote Quote  
  5. Member
    Join Date
    Sep 2007
    Location
    Europe
    Search PM
    Try to add this ...

    -profile 0 -level 3 -bf 2
    Quote Quote  
  6. Member bat999's Avatar
    Join Date
    Feb 2008
    Location
    United Kingdom
    Search Comp PM
    Originally Posted by Chris K View Post
    Try to add this ...

    -profile 0 -level 3 -bf 2
    Yes, that does the job.

    This is the command I used:-
    Code:
    ffmpeg -i filename -vf "scale=320:trunc(ow/a/2)*2" -c:v mpeg4 -b:v 400k -profile 0 -level 3 -bf 2 -c:a aac -strict -2 -b:a 128k -ar 44100 -ac 2 filename.mp4
    General
    Complete name : filename.mp4
    Format : MPEG-4
    Format profile : Base Media
    Codec ID : isom
    File size : 1.89 MiB
    Duration : 30s 67ms
    Overall bit rate mode : Variable
    Overall bit rate : 528 Kbps
    Writing application : Lavf54.28.101

    Video
    ID : 1
    Format : MPEG-4 Visual
    Format profile : Simple@L3
    Format settings, BVOP : Yes
    Format settings, QPel : No
    Format settings, GMC : No warppoints
    Format settings, Matrix : Default (H.263)
    Codec ID : 20
    Duration : 30s 67ms
    Bit rate mode : Constant
    Bit rate : 402 Kbps
    Width : 320 pixels
    Height : 180 pixels
    Display aspect ratio : 16:9
    Frame rate mode : Constant
    Frame rate : 15.000 fps
    Color space : YUV
    Chroma subsampling : 4:2:0
    Bit depth : 8 bits
    Scan type : Progressive
    Compression mode : Lossy
    Bits/(Pixel*Frame) : 0.466
    Stream size : 1.44 MiB (76%)
    Writing library : Lavc54.58.100

    Audio
    ID : 2
    Format : AAC
    Format/Info : Advanced Audio Codec
    Format profile : LC
    Codec ID : 40
    Duration : 29s 978ms
    Bit rate mode : Variable
    Bit rate : 120 Kbps
    Maximum bit rate : 128 Kbps
    Channel(s) : 2 channels
    Channel positions : Front: L R
    Sampling rate : 44.1 KHz
    Compression mode : Lossy
    Delay relative to video : 67ms
    Stream size : 437 KiB (23%)
    Quote Quote  
  7. Member
    Join Date
    Sep 2007
    Location
    Europe
    Search PM
    Yes! Only my recent FFmpeg version recommends to use -profile:v instead of -profile. It will probably taken off in a while.

    EDIT:

    I knew it had a reason so I looked it up again. Libfaac supports profiles and FFmpeg has to know for which encoder the command is meant.

    This are the ones I know of ...

    -profile:a aac_low (LC) and -profile:a aac_main
    Last edited by Chris K; 27th Sep 2012 at 10:32.
    Quote Quote  
  8. Member
    Join Date
    Sep 2009
    Location
    Italy
    Search Comp PM
    it worked! ..thanks a lot for your help!
    Quote Quote  
  9. Member
    Join Date
    Sep 2009
    Location
    Italy
    Search Comp PM
    ok one more question, i see that the codec ID is 'isom', is there any way to change it to 'mp42' ?
    Quote Quote  
  10. Does your phone have problems with it? Why do you want to change it ?

    If you use ffmbc instead of ffmpeg, or just re-wrap what you have with ffmbc, it uses mp42 for mp4 container instead of isom
    Quote Quote  
  11. Member
    Join Date
    Sep 2009
    Location
    Italy
    Search Comp PM
    yes my phone refuses to load the file..it shows a generic message: wrong file format or too high bitrate, and i know the problem is not the bitrate, so i thought it may be connected to the codec ID..i try with ffmbc thanks
    Quote Quote  
  12. If that's not the reason and it still doesn't work, there can be other reasons and/or differences for it not working . eg. max consec b-frames length, gop size

    If you temporarily remux the working video into avi container (no audio), and use gspot, it will provide more information on the xvid settings used (it actually scans the file, where as mediainfo just reads the header)

    ffmpeg -i input.mp4 -vcodec copy -an output.avi
    Quote Quote  
  13. Member
    Join Date
    Sep 2007
    Location
    Europe
    Search PM
    Originally Posted by rekotc View Post
    ok one more question, i see that the codec ID is 'isom', is there any way to change it to 'mp42' ?
    mp42 is the MS implementation of the mpeg4 codec. FFmpeg supports it but not in the mp4 container. If your phone supports the avi container you could give it a try. the codec is -c:v msmpeg4v2 but it also doesn't support b-frames so you would have to try it plain as it is.
    Quote Quote  
  14. Member
    Join Date
    Sep 2009
    Location
    Italy
    Search Comp PM
    ok i finally got a solution, the phone (samsung s5230) plays videos with the following characteristics:

    General
    Complete name : C:\Users\Re Kotc\Videos\Sothink Video Converter\The.Big.Bang.Theory.S05E02.PROPER.HDTV.X viD-TLA.mp4
    Format : MPEG-4
    Format profile : Base Media
    Codec ID : isom
    File size : 75.5 MiB
    Duration : 19mn 16s
    Overall bit rate : 548 Kbps
    Writing application : Lavf53.2.0

    Video
    ID : 1
    Format : MPEG-4 Visual
    Format profile : Simple@L1
    Format settings, BVOP : No
    Format settings, QPel : No
    Format settings, GMC : No warppoints
    Format settings, Matrix : Default (H.263)
    Codec ID : 20
    Duration : 19mn 16s
    Bit rate mode : Variable
    Bit rate : 482 Kbps
    Maximum bit rate : 768 Kbps
    Width : 320 pixels
    Height : 240 pixels
    Display aspect ratio : 4:3
    Frame rate mode : Constant
    Frame rate : 15.000 fps
    Color space : YUV
    Chroma subsampling : 4:2:0
    Bit depth : 8 bits
    Scan type : Progressive
    Compression mode : Lossy
    Bits/(Pixel*Frame) : 0.418
    Stream size : 66.4 MiB (88%)
    Writing library : Lavc53.6.1

    Audio
    ID : 2
    Format : AAC
    Format/Info : Advanced Audio Codec
    Format profile : LC
    Codec ID : 40
    Duration : 19mn 15s
    Bit rate mode : Constant
    Bit rate : 64.0 Kbps
    Channel(s) : 2 channels
    Channel positions : Front: L R
    Sampling rate : 22.05 KHz
    Compression mode : Lossy
    Stream size : 8.81 MiB (12%)
    so im happy...im still not sure why it doesnt work using L3 ..but it's fine! ..thanks!
    Quote Quote  
  15. Member Trippedout's Avatar
    Join Date
    Aug 2012
    Location
    scotland
    Search Comp PM
    The.Big.Bang.Theory like your style arcsoft media converter would have done it to but only 14 day fully functional fun night in red dwarf big bang theory it crowd third rock from the sun and project alf to finish of with a flurish lol
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!