VideoHelp Forum




+ Reply to Thread
Results 1 to 2 of 2
  1. Member
    Join Date
    Oct 2010
    Location
    England
    Search Comp PM
    I'm trying to convert a set of DVB-S (MPEG-2 SD) .ts files that have the aspect ratio incorrectly set to 4:3 to .dv files - and I can't force FFmpeg to encode the video as 16:9.

    My command is as follows:
    ffmpeg -i 08-09-20_-_CBS_1.ts -aspect 16:9 -target ntsc-dv test.dv

    During encoding, the PAR and DAR reflect the '-aspect 16:9' option:
    Output #0, dv, to 'test.dv':
    Metadata:
    encoder : Lavf52.84.0
    Stream #0.0: Video: dvvideo, yuv411p, 720x480 [PAR 32:27 DAR 16:9], q=2-31, 200 kb/s, 90k tbn, 29.97 tbc
    Stream #0.1: Audio: pcm_s16le, 48000 Hz, 2 channels, s16, 1536 kb/s

    But the converted video still has the aspect set to 4:3:
    Code:
    General
    Complete name                    : test.dv
    Format                           : DV
    Format_Commercial_IfAny          : DVCPRO
    File size                        : 19.8 MiB
    Duration                         : 5s 772ms
    Overall bit rate                 : 28.8 Mbps
    Recorded date                    : 1970-01-01 00:00:00
    
    Video
    Format                           : DV
    Format_Commercial_IfAny          : DVCPRO
    Duration                         : 5s 772ms
    Bit rate mode                    : Constant
    Bit rate                         : 24.4 Mbps
    Width                            : 720 pixels
    Height                           : 480 pixels
    Display aspect ratio             : 4:3
    Frame rate mode                  : Constant
    Frame rate                       : 29.970 fps
    Standard                         : NTSC
    Chroma subsampling               : 4:1:1
    Bit depth                        : 8 bits
    Scan type                        : Interlaced
    Bits/(Pixel*Frame)               : 2.357
    Stream size                      : 16.8 MiB (85%)
    I'm using a recent version of FFmpeg (SVN-r25702).

    If I encode to mpeg4 video in a .mp4 container, the '-aspect' option works as expected - so it seems to be a specific problem with encoding to DV.

    Anyone have any ideas?
    Quote Quote  
  2. Member
    Join Date
    Oct 2010
    Location
    England
    Search Comp PM
    Update: I've also tried dropping the -target option and manually specifying the parameters.
    ffmpeg -i 08-09-20_-_CBS_1.ts -vcodec dvvideo -acodec pcm_s16le -pix_fmt yuv411p -aspect 16:9 test_02.dv
    No difference, although changing the -aspect value is reflected in the info on the command prompt.

    Setting -aspect 4:3 gives:
    Code:
    Output #0, dv, to 'test_02.dv':
      Metadata:
        encoder         : Lavf52.84.0
        Stream #0.0: Video: dvvideo, yuv411p, 720x480 [PAR 8:9 DAR 4:3], q=2-31, 200 kb/s, 90k tbn, 29.97 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
    Setting -aspect 16:9 gives:
    Code:
    Output #0, dv, to 'test_02.dv':
      Metadata:
        encoder         : Lavf52.84.0
        Stream #0.0: Video: dvvideo, yuv411p, 720x480 [PAR 32:27 DAR 16:9], q=2-31, 200 kb/s, 90k tbn, 29.97 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
    Also, I think the PAR values are wrong according to Rec.601 standard (which I believe DV follows). 4:3 NTSC should be 10:11, 16:9 should be 40:33.
    Quote Quote  



Similar Threads

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