VideoHelp Forum




+ Reply to Thread
Results 1 to 2 of 2
  1. Hi,

    I would like to batch convert my m2t HD files to plain old DV avi files.

    I tried using SUPER, but the problem is that it didn't maintain the 19:9 AR.

    Then I tried using FFMPEG, which has the option -aspect 16:9
    ffmpeg.exe -i in.m2t -target pal-dv -aspect 16:9 out.avi

    but that returned a lot of errors:
    Code:
      libavutil     50.19. 0 / 50.19. 0
      libavcodec    52.76. 0 / 52.76. 0
      libavformat   52.68. 0 / 52.68. 0
      libavdevice   52. 2. 0 / 52. 2. 0
      libavfilter    1.20. 0 /  1.20. 0
      libswscale     0.11. 0 /  0.11. 0
    [mpeg2video @ 003ff6b0]mpeg_decode_postinit() failure
        Last message repeated 5 times
    [NULL @ 01b3a6d0]start time is not set in av_estimate_timings_from_pts
    [NULL @ 01b3ae60]start time is not set in av_estimate_timings_from_pts
    Input #0, mpegts, from 'in.m2t':
      Duration: 00:04:25.67, start: 3995.768000, bitrate: 26109 kb/s
      Program 100
        Stream #0.0[0x810]: Video: mpeg2video, yuv420p, 1440x1080 [PAR 4:3 DAR 16:9], 25000 kb/s, 27.94 fps, 25 tbr, 90k tbn, 50 tbc
        Stream #0.1[0x814]: Audio: mp2, 48000 Hz, 2 channels, s16, 384 kb/s
        Stream #0.2[0x815]: Data: [160][0][0][0] / 0x00A0
        Stream #0.3[0x811]: Data: [161][0][0][0] / 0x00A1
    [scale @ 01ca0fd0]w:1440 h:1080 fmt:yuv420p -> w:720 h:576 fmt:yuv420p flags:0x4
    [scale @ 01b5fc20]w:720 h:576 fmt:yuv420p -> w:720 h:576 fmt:yuv420p flags:0x2
    Output #0, dv, to 'out.avi':
      Metadata:
        encoder         : Lavf52.68.0
        Stream #0.0: Video: dvvideo, yuv420p, 720x576 [PAR 64:45 DAR 16:9], q=2-31, 200 kb/s, 90k tbn, 25 tbc
        Stream #0.1: Audio: pcm_s16le, 48000 Hz, 2 channels, s16, 1536 kb/s
    Stream mapping:
      Stream #0.0 -> #0.0
      Stream #0.1 -> #0.1
    Press [q] to stop encoding
    [mpeg2video @ 003ff6b0]warning: first frame is no keyframe
    [mpeg2video @ 003ff6b0]mb incr damaged
    [mpeg2video @ 003ff6b0]00 motion_type at 5 12
    [mpeg2video @ 003ff6b0]00 motion_type at 8 13
    [mpeg2video @ 003ff6b0]ac-tex damaged at 8 14
    ...
    Which resulted in an unplayable AVI file.

    I'm probably missing some command arguments for FFMPEG like the -vcodec or the -acodec , but I have no idea what they should be...

    Or if anybody knows how to add the 16:9 flag to SUPER, that would be nice...

    thx,
    Sam
    Quote Quote  
  2. Ok, I found the command line option for FFMPEG to be:
    ffmpeg.exe -i in.m2t -vcodec dvvideo -vf "scale=720:576" -vtag dvsd -acodec pcm_s16le -f avi -aspect 16:9 -y output.avi

    It still produces the same errors/warnings, but the file is playable (despite some grey artefacts at the beginning of the movie)
    Last edited by crockysam; 6th Jul 2010 at 11:47.
    Quote Quote  



Similar Threads

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