Changes between Initial Version and Version 1 of Ticket #1079, comment 5


Ignore:
Timestamp:
Mar 16, 2012, 5:34:46 PM (8 years ago)
Author:
ramitbhalla
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #1079, comment 5

    initial v1  
    44{{{
    55ffmpeg -y -i Test6.ts -an -vf setsar=1,crop=1904:1072:6:6:1,scale=720:400 -vcodec libxvid out.avi
     6
     7ffmpeg version N-38622-g1eabd71 Copyright (c) 2000-2012 the FFmpeg developers
     8  built on Mar  7 2012 00:18:03 with gcc 4.6.2
     9  configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-runtime-cpudetect --enable-avisynth --enab
     10le-bzlib --enable-frei0r --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libfreetype --enable-libgsm --en
     11able-libmp3lame --enable-libopenjpeg --enable-librtmp --enable-libschroedinger --enable-libspeex --enable-libtheora --en
     12able-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-
     13libxvid --enable-zlib
     14  libavutil      51. 42.100 / 51. 42.100
     15  libavcodec     54. 10.100 / 54. 10.100
     16  libavformat    54.  2.100 / 54.  2.100
     17  libavdevice    53.  4.100 / 53.  4.100
     18  libavfilter     2. 63.100 /  2. 63.100
     19  libswscale      2.  1.100 /  2.  1.100
     20  libswresample   0.  7.100 /  0.  7.100
     21  libpostproc    52.  0.100 / 52.  0.100
     22[mpeg2video @ 02B46AC0] mpeg_decode_postinit() failure
     23    Last message repeated 2 times
     24[mpegts @ 00389580] PES packet size mismatch
     25    Last message repeated 1 times
     26Input #0, mpegts, from 'Test6.ts':
     27  Duration: 00:29:51.92, start: 90226.333733, bitrate: 15080 kb/s
     28  Program 1004
     29  No Program
     30    Stream #0:0[0x7c2]: Audio: ac3, 48000 Hz, stereo, s16, 96 kb/s (visual impaired)
     31    Stream #0:1[0x7c0]: Video: mpeg2video (Main), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], 65000 kb/s, 30.38 fps, 29.97 tb
     32r, 90k tbn, 59.94 tbc
     33    Stream #0:2[0x7c1]: Audio: ac3, 48000 Hz, 5.1(side), s16, 384 kb/s
     34[buffer @ 03A5DCE0] w:1920 h:1080 pixfmt:yuv420p tb:1/1000000 sar:1/1 sws_param:
     35[setsar @ 02B47BE0] a:1/1
     36[crop @ 02B47E40] w:1920 h:1080 -> w:1904 h:1072
     37[scale @ 03967820] w:1904 h:1072 fmt:yuv420p -> w:720 h:400 fmt:yuv420p flags:0x4
     38Output #0, avi, to 'out.avi':
     39  Metadata:
     40    ISFT            : Lavf54.2.100
     41    Stream #0:0: Video: mpeg4 (xvid / 0x64697678), yuv420p, 720x400 [SAR 595:603 DAR 119:67], q=2-31, 200 kb/s, 29.97 tb
     42n, 29.97 tbc
     43Stream mapping:
     44  Stream #0:1 -> #0:0 (mpeg2video -> libxvid)
     45Press [q] to stop, [?] for help
     46[swscaler @ 0359E020] Warning: data is not aligned! This can lead to a speedloss
     47[libxvid @ 02B45FA0] Invalid pixel aspect ratio 595/603
     48Video encoding failed
    649}}}
    750
     
    1154{{{
    1255ffmpeg -y -i Test6.ts -an -vf crop=1904:1072:6:6:1,scale=720:400,setsar=1 -vcodec libxvid out.avi
     56
     57ffmpeg version N-38622-g1eabd71 Copyright (c) 2000-2012 the FFmpeg developers
     58  built on Mar  7 2012 00:18:03 with gcc 4.6.2
     59  configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-runtime-cpudetect --enable-avisynth --enab
     60le-bzlib --enable-frei0r --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libfreetype --enable-libgsm --en
     61able-libmp3lame --enable-libopenjpeg --enable-librtmp --enable-libschroedinger --enable-libspeex --enable-libtheora --en
     62able-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-
     63libxvid --enable-zlib
     64  libavutil      51. 42.100 / 51. 42.100
     65  libavcodec     54. 10.100 / 54. 10.100
     66  libavformat    54.  2.100 / 54.  2.100
     67  libavdevice    53.  4.100 / 53.  4.100
     68  libavfilter     2. 63.100 /  2. 63.100
     69  libswscale      2.  1.100 /  2.  1.100
     70  libswresample   0.  7.100 /  0.  7.100
     71  libpostproc    52.  0.100 / 52.  0.100
     72[mpeg2video @ 02A66AC0] mpeg_decode_postinit() failure
     73    Last message repeated 2 times
     74[mpegts @ 01D59580] PES packet size mismatch
     75    Last message repeated 1 times
     76Input #0, mpegts, from 'Test6.ts':
     77  Duration: 00:29:51.92, start: 90226.333733, bitrate: 15080 kb/s
     78  Program 1004
     79  No Program
     80    Stream #0:0[0x7c2]: Audio: ac3, 48000 Hz, stereo, s16, 96 kb/s (visual impaired)
     81    Stream #0:1[0x7c0]: Video: mpeg2video (Main), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], 65000 kb/s, 30.38 fps, 29.97 tb
     82r, 90k tbn, 59.94 tbc
     83    Stream #0:2[0x7c1]: Audio: ac3, 48000 Hz, 5.1(side), s16, 384 kb/s
     84[buffer @ 039DDCE0] w:1920 h:1080 pixfmt:yuv420p tb:1/1000000 sar:1/1 sws_param:
     85[setsar @ 02A67DC0] a:1/1
     86[crop @ 02A67BE0] w:1920 h:1080 -> w:1904 h:1072
     87[scale @ 02A67E20] w:1904 h:1072 fmt:yuv420p -> w:720 h:400 fmt:yuv420p flags:0x4
     88Output #0, avi, to 'out.avi':
     89  Metadata:
     90    ISFT            : Lavf54.2.100
     91    Stream #0:0: Video: mpeg4 (xvid / 0x64697678), yuv420p, 720x400 [SAR 1:1 DAR 9:5], q=2-31, 200 kb/s, 29.97 tbn, 29.9
     927 tbc
     93Stream mapping:
     94  Stream #0:1 -> #0:0 (mpeg2video -> libxvid)
     95Press [q] to stop, [?] for help
     96[swscaler @ 0348E020] Warning: data is not aligned! This can lead to a speedloss
     97frame=   17 fps= 16 q=19.0 size=      51kB time=00:00:00.93 bitrate= 450.5kbits/s
    1398}}}
    1499
    15100
    16 Does the location of setsar matter?
     101Does the '''location''' of setsar matter?