[FFmpeg-user] I need a ffmpeg command which gives a h264-mp4 output-file using ffmpeg-version SVN-r21236 4.1.2-48

Nils Gradert nils at gradert.com
Mon Aug 27 00:27:44 CEST 2012


Hi ffmpeg-users!



I need some help for using/playing mp4-videos in IE9!





Look:

--------------------

Seems stream 0 codec frame rate differs from container frame rate: 59.94
(60000/1001) -> 29.97 (30000/1001) Input #0, mov,mp4,m4a,3gp,3g2,mj2, from
'www/automower-webcam.com/VideosDays/OnBoard/Mittwoch/Fahrt_3/Mi_Fahrt_3.mp4
':

  Metadata:

    major_brand     : isom

    minor_version   : 512

    compatible_brands: isomiso2avc1mp41

    encoder         : Lavf52.84.0

  Duration: 00:00:06.27, start: 0.000000, bitrate: 769 kb/s

    Stream #0.0(und): *Video: h264*, yuv420p, 720x480 [PAR 8:9 DAR 4:3],
764 kb/s, 59.88 fps, 29.97 tbr, 30k tbn, 59.94 tbc At least one output file
must be specified FFmpeg version SVN-r21236, Copyright (c) 2000-2010
Fabrice Bellard, et al.

  built on Sep 18 2010 19:38:23 with gcc 4.1.2 20080704 (CloudLinux
4.1.2-48)

  configuration: --prefix=/usr/local/vencode --enable-shared
--enable-nonfree --enable-gpl --enable-pthreads --enable-libopencore-amrnb
--enable-libopencore-amrwb --enable-version3 --enable-libfaac
--enable-libfaad --enable-libmp3lame --enable-libtheora --enable-libvorbis
--enable-libx264 --enable-libxvid
--extra-cflags=-I/usr/local/vencode/include/
--extra-ldflags=-L/usr/local/vencode/lib --enable-cross-compile

  libavutil     50. 7. 0 / 50. 7. 0

  libavcodec    52.48. 0 / 52.48. 0

  libavformat   52.47. 0 / 52.47. 0

  libavdevice   52. 2. 0 / 52. 2. 0

  libswscale     0. 8. 0 /  0. 8. 0

------------------------

=>> This ist he info of ffmpeg –i from the in IE9 WORKING mp4, produced
with MIRO

=>>> Code: *ffmpeg.exe -i "\UebergabeFilm.mpg" -acodec aac -strict
experimental -ac 2 -ab 160k -vcodec libx264 -vpre slow -f mp4 -crf 22
"\Desktop\video.mp4"*

* *



------------------------

Seems stream 0 codec frame rate differs from container frame rate: 30000.00
(30000/1) -> 29.97 (30000/1001) Input #0, mov,mp4,m4a,3gp,3g2,mj2, from
'www/automower-webcam.com/VideosDays/OnBoard/Mittwoch/Fahrt_3/Mi_Fahrt_3.mp4
':

  Metadata:

    major_brand     : isom

    minor_version   : 512

    compatible_brands: isomiso2mp41

    encoder         : Lavf52.47.0

  Duration: 00:00:06.27, start: 0.000000, bitrate: 521 kb/s

    Stream #0.0(und*): Video: mpeg4*, yuv420p, 720x480 [PAR 8:9 DAR 4:3],
518 kb/s, 29.97 fps, 29.97 tbr, 30k tbn, 30k tbc At least one output file
must be specified FFmpeg version SVN-r21236, Copyright (c) 2000-2010
Fabrice Bellard, et al.

  built on Sep 18 2010 19:38:23 with gcc 4.1.2 20080704 (CloudLinux
4.1.2-48)

  configuration: --prefix=/usr/local/vencode --enable-shared
--enable-nonfree --enable-gpl --enable-pthreads --enable-libopencore-amrnb
--enable-libopencore-amrwb --enable-version3 --enable-libfaac
--enable-libfaad --enable-libmp3lame --enable-libtheora --enable-libvorbis
--enable-libx264 --enable-libxvid
--extra-cflags=-I/usr/local/vencode/include/
--extra-ldflags=-L/usr/local/vencode/lib --enable-cross-compile

  libavutil     50. 7. 0 / 50. 7. 0

  libavcodec    52.48. 0 / 52.48. 0

  libavformat   52.47. 0 / 52.47. 0

  libavdevice   52. 2. 0 / 52. 2. 0

  libswscale     0. 8. 0 /  0. 8. 0

------------------------

=>> This is the info of ffmpeg –i from the in IE9 NOT-WORKING mp4-files,
produced directly on the server!



*The difference is h264-format!!!*

But if I use the MIRO-commands on my server-ffmpeg I will get error
messages … :/ although the configuration says lbxvid should work?!?



=>>>

---------------------

Seems stream 0 codec frame rate differs from container frame rate: 59.94
(60000/1001) -> 29.97 (30000/1001) Input #0, mpeg, from 'www/
automower-webcam.com/VideosDays/OnBoard/Mittwoch/Fahrt_3/UebergabeFilm.mpg':

  Duration: 00:00:05.20, start: 0.500000, bitrate: 2105 kb/s

    Stream #0.0[0x1e0]: Video: mpeg2video, yuv420p, 720x480 [PAR 8:9 DAR
4:3], 9000 kb/s, 29.97 fps, 29.97 tbr, 90k tbn, 59.94 tbc

*[libx264 @ 0x1918d8e0]broken ffmpeg default settings detected*

*[libx264 @ 0x1918d8e0]use an encoding preset (vpre) *Output #0, mp4, to
'www/automower-webcam.com/VideosDays/OnBoard/Mittwoch/Fahrt_3/Mi_Fahrt_3.mp4
':

    Stream #0.0: Video: libx264, yuv420p, 480x320 [PAR 8:9 DAR 4:3],
q=2-31, 360 kb/s, 90k tbn, 15 tbc Stream mapping:

  Stream #0.0 -> #0.0

Error while opening encoder for output stream #0.0 - maybe incorrect
parameters such as bit_rate, rate, width or height FFmpeg version
SVN-r21236, Copyright (c) 2000-2010 Fabrice Bellard, et al.

  built on Sep 18 2010 19:38:23 with gcc 4.1.2 20080704 (CloudLinux
4.1.2-48)

  configuration: --prefix=/usr/local/vencode --enable-shared
--enable-nonfree --enable-gpl --enable-pthreads --enable-libopencore-amrnb
--enable-libopencore-amrwb --enable-version3 --enable-libfaac
--enable-libfaad --enable-libmp3lame --enable-libtheora --enable-libvorbis *
--enable-libx264*
*--enable-libxvid*--extra-cflags=-I/usr/local/vencode/include/
--extra-ldflags=-L/usr/local/vencode/lib --enable-cross-compile

  libavutil     50. 7. 0 / 50. 7. 0

  libavcodec    52.48. 0 / 52.48. 0

  libavformat   52.47. 0 / 52.47. 0

  libavdevice   52. 2. 0 / 52. 2. 0

  libswscale     0. 8. 0 /  0. 8. 0

[mpeg @ 0x1c9763d0]max_analyze_duration reached

------------------------



At the end I need a ffmpeg command which gives me a h264-mp4 output-file
using this ffmpeg-version:

*FFmpeg version SVN-r21236, Copyright (c) 2000-2010 Fabrice Bellard, et al.
built on Sep 18 2010 19:38:23 with gcc 4.1.2 20080704 (CloudLinux 4.1.2-48)*



Thanks,

Nils


More information about the ffmpeg-user mailing list