[FFmpeg-user] seekable mp4

jacky renaux.jacky at orange.fr
Sat Aug 16 12:55:59 CEST 2014


Le 16/08/2014 12:33, Carl Eugen Hoyos a écrit :
> jacky <renaux.jacky <at> orange.fr> writes:
>
>> your fix does solve tbn issue but the mp4 is still
>> not streamable
> You will have to run "git bisect" to find out which
> change introduced the problem.
>
> I know it isn't very easy but I do it every other day
> and I will guide you if you have questions.
>
> Carl Eugen
>
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>

these might help
ffmpeg -i      working file
ffmpeg version N-65651-gd3a2249 Copyright (c) 2000-2014 the FFmpeg 
developers
   built on Aug 15 2014 01:37:54 with gcc 4.8.3 (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-libbs2b --enable-libcaca --enable-libfreetype --enable-libgme 
--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-libwebp --enable-libx264 
--enable-libx265 --enable-libxavs --enable-libxvid --enable-decklink 
--enable-zlib
   libavutil      54.  3.100 / 54.  3.100
   libavcodec     56.  0.101 / 56.  0.101
   libavformat    56.  1.100 / 56.  1.100
   libavdevice    56.  0.100 / 56.  0.100
   libavfilter     5.  0.100 /  5.  0.100
   libswscale      3.  0.100 /  3.  0.100
   libswresample   1.  0.100 /  1.  0.100
   libpostproc    53.  0.100 / 53.  0.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'mp4_avc_aac_default_2pass.mp4':
   Metadata:
     major_brand     : isom
     minor_version   : 512
     compatible_brands: isomiso2avc1mp41
     encoder         : Lavf53.31.100
   Duration: 00:00:05.04, start: 0.000000, bitrate: 408 kb/s
     Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 
720x576 [SAR 16:15 DAR 4:3], 354 kb/s, 25 fps, 25 tbr, 25 tbn, 50 tbc 
(default)
     Metadata:
       handler_name    : VideoHandler
     Stream #0:1(und): Audio: aac (mp4a / 0x6134706D), 44100 Hz, mono, 
fltp, 48 kb/s (default)
     Metadata:
       handler_name    : SoundHandler
At least one output file must be specified

not working file

ffmpeg version N-65651-gd3a2249 Copyright (c) 2000-2014 the FFmpeg 
developers
   built on Aug 15 2014 01:37:54 with gcc 4.8.3 (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-libbs2b --enable-libcaca --enable-libfreetype --enable-libgme 
--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-libwebp --enable-libx264 
--enable-libx265 --enable-libxavs --enable-libxvid --enable-decklink 
--enable-zlib
   libavutil      54.  3.100 / 54.  3.100
   libavcodec     56.  0.101 / 56.  0.101
   libavformat    56.  1.100 / 56.  1.100
   libavdevice    56.  0.100 / 56.  0.100
   libavfilter     5.  0.100 /  5.  0.100
   libswscale      3.  0.100 /  3.  0.100
   libswresample   1.  0.100 /  1.  0.100
   libpostproc    53.  0.100 / 53.  0.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'video.mp4':
   Metadata:
     major_brand     : isom
     minor_version   : 512
     compatible_brands: isomiso2avc1mp41
     encoder         : Lavf56.1.100
   Duration: 00:00:50.32, start: 0.000000, bitrate: 955 kb/s
     Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 
720x576 [SAR 16:15 DAR 4:3], 953 kb/s, 25 fps, 25 tbr, 25 tbn, 50 tbc 
(default)
     Metadata:
       handler_name    : VideoHandler
At least one output file must be specified

theses two exemple are using the same source VOB file
command line
ffmpeg -i video_courte.vob   -f mp4 -c:v libx264   -s 720x576 -pix_fmt 
yuv420p -crf 23  -video_track_timescale 25 -r:v 25  -an -movflags 
faststart  -y video.mp4

Im am quite sure I used the almost same command line 
(-video_track_timescale and -movflags )
does this help ?

thanks
jacky




More information about the ffmpeg-user mailing list