VideoHelp Forum
+ Reply to Thread
Results 1 to 8 of 8
Thread
  1. Hi,
    I have a Sony camera that records AVCHD 1920x1080 29.97 interlaced tff level 4.0 with ac3 audio.
    I want to store family memories to DVD (don't have a BD writer right now).

    It seems like the nicest way to watch them is in front of the big screen and saving them as AVCHD would ensure that the player will show it.
    MP4 works fine via laptop and HDMI.
    Realistically I (we) probably won't even watch these once in the next 5 years anyway, archive lossless then?

    What to do?

    Anyway, does ffmpeg do a 2-pass with -x264opts bluray-compat=1:etc

    I get a "constant rate-factor is incompatible with 2pass"

    ffmpeg -i cut.avs -preset veryslow -tune film -level 4.0 -top 1 -c:v libx264 -x264opts bluray-compat=1:<bunch of stuff>: pass=1 -an -y -f rawvideo NUL && ^
    ffmpeg -i cut.avs -preset veryslow -tune film -level 4.0 -top 1 -c:v libx264 -x264opts bluray-compat=1:<bunch of stuff>: pass=2 -ab 256k -acodec ac3 -ac 2 out.264

    Help with my command line please if that is the issue.
    Thank you



    edit- there is no space after <bunch of stuff>:
    without the space, the forum gives me
    Quote Quote  
  2. You need to set an average target bitrate. E.g. -b:v 5000k
    OR not use 2 pass.

    https://trac.ffmpeg.org/wiki/Encode/H.264
    Quote Quote  
  3. Great, thank you, I will give it a try.

    If I used crf, I would use a value of 18.
    What would be a good target bitrate if I have :vbv-maxrate=15000:vbv-bufsize=15000 in my x264opts?
    Quote Quote  
  4. Yes works with no ffmpeg complaints.

    It outputs video only so my audio tags are pointless.

    I had read that to remain Blu-ray compliant, I needed to save as .264 but .mkv seemed to work fine.
    At least MediaInfo reports it to have the same stats.
    Quote Quote  
  5. It's not clear why you're converting them at all. Sony Video cameras record AVCHD files, usually in an MTS container that should play as-is.

    If you want to re-wrap to .mp4 you can us a simple ffmpeg command like

    -i myfile.MTS -vcodec copy -acodec copy myfile.mp4

    Why lose quality?
    Quote Quote  
  6. Originally Posted by smrpix View Post
    It's not clear why you're converting them at all. Sony Video cameras record AVCHD files, usually in an MTS container that should play as-is.

    If you want to re-wrap to .mp4 you can us a simple ffmpeg command like

    -i myfile.MTS -vcodec copy -acodec copy myfile.mp4

    Why lose quality?
    Editing with avisynth
    Quote Quote  
  7. Member
    Join Date
    May 2014
    Location
    Memphis TN, US
    Search PM
    Originally Posted by Squeeto View Post
    I want to store family memories to DVD (don't have a BD writer right now).
    mp4 can't be used for DVD.

    DVD is MPEG only.
    Your source is AVCHD. You should be able to play as-is from a hard drive or USB stick.
    You can edit AVCHD as near-lossless with smart-renderers like TMPGenc Smart Renderer without re-encoding.
    - My sister Ann's brother
    Quote Quote  
  8. Originally Posted by LMotlow View Post
    mp4 can't be used for DVD.

    DVD is MPEG only.
    Originally Posted by Squeeto View Post
    MP4 works fine via laptop and HDMI.
    I actually have a nice usb remote too.
    Quote Quote  



Similar Threads

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