[FFmpeg-user] Converted video runs on device in fast motion

shimmy weitzhandler at gmail.com
Mon Apr 30 22:49:57 CEST 2012


Carl Eugen Hoyos wrote
> 
> Please post all necessary information on the mailing list, 
> external resources may disappear.
> 

I only posted pastebin code, it's not meant to be removed ever.
Anyway, here is what I've tried:

>ffmpeg -i native.avi
... trimmed ...
Input #0, avi, from 'native.avi':
  Metadata:
    encoder         : MEncoder dev-SVN-r27958-4.2.2
  Duration: 00:01:15.83, start: 0.000000, bitrate: 414 kb/s
    Stream #0:0: Video: mpeg4 (Simple Profile) (XVID / 0x44495658), yuv420p,
160x128 [SAR 1:1 DAR 5:4], SAR 65536:65535
DAR 16384:13107, 15 tbr, 15 tbn, 15 tbc
    Stream #0:1: Audio: mp2 (P[0][0][0] / 0x0050), 44100 Hz, stereo, s16,
128 kb/s
******************************************************************************
>ffmpeg -i avisample.avi -vtag XVID -vcodec libxvid -s 160x128 -aspect 5:4
-r 15 -acodec mp2 -ar 44100 -ac 2 -ab 128k output.avi
******************************************************************************
>ffmpeg -i output.avi
... trimmed ...
Input #0, avi, from 'output.avi':
  Metadata:
    comment         : Footage: Small World Productions, Inc; Tourism New
Zealand | Producer: Gary F. Spradling | Music:
Steve Ball
    copyright       : © 2008 Microsoft Corporation
    title           : Wildlife in HD
    encoder         : Lavf54.3.100
  Duration: 00:00:30.17, start: 0.000000, bitrate: 352 kb/s
    Stream #0:0: Video: mpeg4 (Simple Profile) (XVID / 0x44495658), yuv420p,
160x128 [SAR 1:1 DAR 5:4], 15 tbr, 15 tbn,
15 tbc
    Stream #0:1: Audio: mp2 (P[0][0][0] / 0x0050), 44100 Hz, stereo, s16,
128 kb/s


*Here are the MediaInfo comparison between these two:*

General
Complete name                            : *native.avi*
Format                                   : AVI
Format/Info                              : Audio Video Interleave
File size                                : 3.74 MiB
Duration                                 : 1mn 15s
Overall bit rate                         : 414 Kbps
Writing application                      : MEncoder dev-SVN-r27958-4.2.2
Writing library                          : MPlayer

Video
ID                                       : 0
Format                                   : MPEG-4 Visual
Format profile                           : Simple at L3
Format settings, BVOP                    : No
Format settings, QPel                    : No
Format settings, GMC                     : No warppoints
Format settings, Matrix                  : Default (H.263)
Codec ID                                 : XVID
Codec ID/Hint                            : XviD
Duration                                 : 1mn 15s
Bit rate                                 : 277 Kbps
Width                                    : 160 pixels
Height                                   : 128 pixels
Display aspect ratio                     : 5:4
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.902
Stream size                              : 2.49 MiB (66%)
Writing library                          : XviD 1.1.2 (UTC 2006-11-01)

Audio
ID                                       : 1
Format                                   : MPEG Audio
Format version                           : Version 1
Format profile                           : Layer 2
Codec ID                                 : 50
Duration                                 : 1mn 15s
Bit rate mode                            : Constant
Bit rate                                 : 128 Kbps
Channel(s)                               : 2 channels
Sampling rate                            : 44.1 KHz
Compression mode                         : Lossy
Stream size                              : 1.15 MiB (31%)
Alignment                                : Aligned on interleaves
Interleave, duration                     : 26 ms (0.39 video frame)
Interleave, preload duration             : 522 ms

***********************************************
General
Complete name                            : *output.avi*
Format                                   : AVI
Format/Info                              : Audio Video Interleave
File size                                : 2.32 MiB
Duration                                 : 30s 171ms
Overall bit rate                         : 645 Kbps
Movie name                               : Wildlife in HD
Writing application                      : Lavf54.3.100
Copyright                                : ֲ© 2008 Microsoft Corporation
Comment                                  : Footage: Small World Productions,
Inc; Tourism New Zealand | Producer: Gary F. Spradling | Music: Steve Ball

Video
ID                                       : 0
Format                                   : MPEG-4 Visual
Format profile                           : Simple at L3
Format settings, BVOP                    : No
Format settings, QPel                    : No
Format settings, GMC                     : No warppoints
Format settings, Matrix                  : Default (H.263)
Codec ID                                 : XVID
Codec ID/Hint                            : XviD
Duration                                 : 30s 133ms
Bit rate                                 : 505 Kbps
Width                                    : 160 pixels
Height                                   : 128 pixels
Display aspect ratio                     : 5:4
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)                       : 1.644
Stream size                              : 1.81 MiB (78%)
Writing library                          : XviD 64

Audio
ID                                       : 1
Format                                   : MPEG Audio
Format version                           : Version 1
Format profile                           : Layer 2
Codec ID                                 : 50
Duration                                 : 30s 171ms
Bit rate mode                            : Constant
Bit rate                                 : 128 Kbps
Channel(s)                               : 2 channels
Sampling rate                            : 44.1 KHz
Compression mode                         : Lossy
Stream size                              : 471 KiB (20%)
Alignment                                : Aligned on interleaves
Interleave, duration                     : 26 ms (0.39 video frame)
Interleave, preload duration             : 78 ms

--
View this message in context: http://ffmpeg-users.933282.n4.nabble.com/Converted-video-runs-on-device-in-fast-motion-tp4598300p4599338.html
Sent from the FFmpeg-users mailing list archive at Nabble.com.


More information about the ffmpeg-user mailing list