[FFmpeg-user] (no subject)

Guido Holz guido.holz at googlemail.com
Fri Nov 28 15:50:33 CET 2014


my problem is after exporting from Adobe Premiere and postwork with ffmpeg
I get more frames of each mp4-footage. I minimalized it to the following
example:

I exported 2:00.0 min of black-screen from Adobe Premiere and after
encoding it through ffmpeg like

:\>ffmpeg.exe -y  -i before.mp4 after.mp4

it has 4 frames more (in Adobe Premiere only 1 see screenshot).
When I make

:\>ffmpeg.exe -y  -i before.mp4 -c copy after.mp4

everything is fine. Somethng happens with the encoder?

What I saw - but don't know wht it means is:

before.mp4 : yuv420p(tv)
after.mp4   : yuv420p

Ouptut for before.mp4 (Adobe Premiere export)
---------------------------------------

:\> ffmpeg.exe -i before.mp4
ffmpeg version N-60215-g2a9c507 Copyright (c) 2000-2014 the FFmpeg
developers
  built on Jan 27 2014 22:06:01 with gcc 4.8.2 (GCC)
  configuration: --enable-gpl --enable-version3 --disable-w32threads
--enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r
--enable-gnutls --enable-iconv --enable-libass --enable-libbluray
--enable-libcaca --enable-libfreetype --enable-libgsm --enable-libilbc
--enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb
--enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus
--enable-librtmp --enable-libschroedinger --enable-libsoxr
--enable-libspeex --enable-libtheora --enable-libtwolame
--enable-libvidstab --enable-libvo-aacenc --enable-libvo-amrwbenc
--enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libx264
--enable-libxavs --enable-libxvid --enable-zlib
  libavutil      52. 63.100 / 52. 63.100
  libavcodec     55. 49.100 / 55. 49.100
  libavformat    55. 28.100 / 55. 28.100
  libavdevice    55.  7.100 / 55.  7.100
  libavfilter     4.  1.101 /  4.  1.101
  libswscale      2.  5.101 /  2.  5.101
  libswresample   0. 17.104 /  0. 17.104
  libpostproc    52.  3.100 / 52.  3.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'before.mp4':
  Metadata:
    major_brand     : mp42
    minor_version   : 0
    compatible_brands: mp42mp41
    creation_time   : 2014-11-28 14:29:09
  Duration: 00:02:00.00, start: 0.040000, bitrate: 70 kb/s
    Stream #0:0(eng): Video: h264 (Main) (avc1 / 0x31637661), yuv420p(tv),
1920x1080 [SAR 1:1 DAR 16:9], 68 kb/s, 25 fps, 25 tbr, 25k tbn, 50 tbc
(default)
    Metadata:
      creation_time   : 2014-11-28 14:29:09
      handler_name    : ?Mainconcept Video Media Handler
At least one output file must be specified


Output for after.mp4
--------------------------------------------------------------------------

 ffmpeg.exe -i after.mp4
ffmpeg version N-60215-g2a9c507 Copyright (c) 2000-2014 the FFmpeg
developers
  built on Jan 27 2014 22:06:01 with gcc 4.8.2 (GCC)
  configuration: --enable-gpl --enable-version3 --disable-w32threads
--enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r
--enable-gnutls --enable-iconv --enable-libass --enable-libbluray
--enable-libcaca --enable-libfreetype --enable-libgsm --enable-libilbc
--enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb
--enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus
--enable-librtmp --enable-libschroedinger --enable-libsoxr
--enable-libspeex --enable-libtheora --enable-libtwolame
--enable-libvidstab --enable-libvo-aacenc --enable-libvo-amrwbenc
--enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libx264
--enable-libxavs --enable-libxvid --enable-zlib
  libavutil      52. 63.100 / 52. 63.100
  libavcodec     55. 49.100 / 55. 49.100
  libavformat    55. 28.100 / 55. 28.100
  libavdevice    55.  7.100 / 55.  7.100
  libavfilter     4.  1.101 /  4.  1.101
  libswscale      2.  5.101 /  2.  5.101
  libswresample   0. 17.104 /  0. 17.104
  libpostproc    52.  3.100 / 52.  3.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'after.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    encoder         : Lavf55.28.100
  Duration: 00:02:00.04, start: 0.000000, bitrate: 17 kb/s
    Stream #0:0(eng): Video: h264 (High) (avc1 / 0x31637661), yuv420p,
1920x1080 [SAR 1:1 DAR 16:9], 14 kb/s, 25 fps, 25 tbr, 12800 tbn, 50 tbc
(default)
    Metadata:
      handler_name    : VideoHandler
At least one output file must be specified

I don't understand where the differences are.

thanks for helping
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ffmpeg.jpg
Type: image/jpeg
Size: 13684 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-user/attachments/20141128/b7bbfd44/attachment.jpg>


More information about the ffmpeg-user mailing list