[FFmpeg-user] Using the flags -movflags +faststart

Alan Corey alan01346 at gmail.com
Sat Feb 25 03:53:35 EET 2017


The only time I've done that I used -movflags faststart (no + before faststart):

ffmpeg -f image2 -framerate 25 -i balls_0000_%04d.png -movflags
faststart -c:v libvpx -b:v 1M -c:a libvorbis bballs.webm

This was for making a video playable under HTML5.  I don't have the
docs handy.  Plays OK in Firefox.

On 2/24/17, JD <jd1008 at gmail.com> wrote:
> I played the output file when only about 3 minutes of it had been
> transcoded. The file did not play at all.
> mplayer was belching out:
>
> Starting playback...
> [dvvideo @ 0x7f5461b94540]could not find dv frame profile
> Error while decoding frame!
> [dvvideo @ 0x7f5461b94540]could not find dv frame profile
> Error while decoding frame!
> [dvvideo @ 0x7f5461b94540]could not find dv frame profile
> Error while decoding frame!
> [dvvideo @ 0x7f5461b94540]could not find dv frame profile
> Error while decoding frame!
> [dvvideo @ 0x7f5461b94540]could not find dv frame profile
> Error while decoding frame!
> [dvvideo @ 0x7f5461b94540]could not find dv frame profile
> Error while decoding frame!
>
> and the video window was all twinkling square pixels.
>
> $ ~/bin/ffmpeg.d/ffmpeg -i video_Z11.mp4 -movflags +faststart -vb 8000k -ab
> 384k -s 1920x1080 -y video_Z11-1920x1080.mp4
> ffmpeg version 3.2.4-static http://johnvansickle.com/ffmpeg/  Copyright (c)
> 2000-2017 the FFmpeg developers
>   built with gcc 5.4.1 (Debian 5.4.1-5) 20170205
>   configuration: --enable-gpl --enable-version3 --enable-static
> --disable-debug --disable-ffplay --disable-indev=sndio
> --disable-outdev=sndio --cc=gcc-5 --enable-fontconfig --enable-frei0r
> --enable-gnutls --enable-gray --enable-libass --enable-libfreetype
> --enable-libfribidi --enable-libmp3lame --enable-libopencore-amrnb
> --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus
> --enable-librtmp --enable-libsoxr --enable-libspeex --enable-libtheora
> --enable-libvidstab --enable-libvo-amrwbenc --enable-libvorbis
> --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265
> --enable-libxvid --enable-libzimg
>   libavutil      55. 34.101 / 55. 34.101
>   libavcodec     57. 64.101 / 57. 64.101
>   libavformat    57. 56.101 / 57. 56.101
>   libavdevice    57.  1.100 / 57.  1.100
>   libavfilter     6. 65.100 /  6. 65.100
>   libswscale      4.  2.100 /  4.  2.100
>   libswresample   2.  3.100 /  2.  3.100
>   libpostproc    54.  1.100 / 54.  1.100
> Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'video_Z11.mp4':
>   Metadata:
>     major_brand     : isom
>     minor_version   : 512
>     compatible_brands: isomiso2avc1mp41
>     creation_time   : 2016-11-29T13:42:34.000000Z
>     encoder         : Lavf56.1.0
>   Duration: 02:22:55.48, start: 0.000000, bitrate: 379 kb/s
>     Stream #0:0(und): Video: h264 (Main) (avc1 / 0x31637661), yuv420p,
> 480x360 [SAR 1:1 DAR 4:3], 246 kb/s, 29.95 fps, 29.97 tbr, 90k tbn, 59.91
> tbc (default)
>     Metadata:
>       creation_time   : 2016-11-29T13:42:34.000000Z
>       handler_name    : VideoHandler
>     Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz,
> stereo, fltp, 125 kb/s (default)
>     Metadata:
>       creation_time   : 2016-11-29T13:42:34.000000Z
>       handler_name    : SoundHandler
> [libx264 @ 0x575c240] using SAR=3/4
> [libx264 @ 0x575c240] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2
> [libx264 @ 0x575c240] profile High, level 4.0
> [libx264 @ 0x575c240] 264 - core 148 r333 90a61ec - H.264/MPEG-4 AVC codec
> - Copyleft 2003-2017 - http://www.videolan.org/x264.html - options: cabac=1
> ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00
> mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11
> fast_pskip=1 chroma_qp_offset=-2 threads=3 lookahead_threads=1
> sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0
> constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1
> weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=25 scenecut=40
> intra_refresh=0 rc_lookahead=40 rc=abr mbtree=1 bitrate=8000 ratetol=1.0
> qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
> Output #0, mp4, to 'video_Z11-1920x1080.mp4':
>   Metadata:
>     major_brand     : isom
>     minor_version   : 512
>     compatible_brands: isomiso2avc1mp41
>     encoder         : Lavf57.56.101
>     Stream #0:0(und): Video: h264 (libx264) ([33][0][0][0] / 0x0021),
> yuv420p, 1920x1080 [SAR 3:4 DAR 4:3], q=-1--1, 8000 kb/s, 29.97 fps, 30k
> tbn, 29.97 tbc (default)
>     Metadata:
>       creation_time   : 2016-11-29T13:42:34.000000Z
>       handler_name    : VideoHandler
>       encoder         : Lavc57.64.101 libx264
>     Side data:
>       cpb: bitrate max/min/avg: 0/0/8000000 buffer size: 0 vbv_delay: -1
>     Stream #0:1(und): Audio: aac (LC) ([64][0][0][0] / 0x0040), 44100 Hz,
> stereo, fltp, 384 kb/s (default)
>     Metadata:
>       creation_time   : 2016-11-29T13:42:34.000000Z
>       handler_name    : SoundHandler
>       encoder         : Lavc57.64.101 aac
> Stream mapping:
>   Stream #0:0 -> #0:0 (h264 (native) -> h264 (libx264))
>   Stream #0:1 -> #0:1 (aac (native) -> aac (native))
> Press [q] to stop, [?] for help
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".


-- 
-------------
No, I won't  call it "climate change", do you have a "reality problem"? - AB1JX
Impeach  Impeach  Impeach  Impeach  Impeach  Impeach  Impeach  Impeach


More information about the ffmpeg-user mailing list