[FFmpeg-user] is it possible to use two passes to generate segments?

Giuliano Catrambone giulianoc at catrasoftware.it
Sat Oct 27 07:41:03 CEST 2012


Hi,
     here follows all the console output:

ffmpeg -y -i ./maradona.wmv -vcodec libx264 -vprofile main -preset slow 
-b:v 300k -vf scale=480:360 -vbsf h264_mp4toannexb -flags -global_header 
-map 0 -f segment -segment_time 10 -segment_list ./index.m3u8 -threads 1 
-pass 1 -passlogfile /tmp/ff_maradona.ts -an /dev/null
ffmpeg version 1.0 Copyright (c) 2000-2012 the FFmpeg developers
   built on Oct 11 2012 18:29:50 with gcc 4.1.2 (GCC) 20080704 (Red Hat 
4.1.2-51)
   configuration: 
--prefix=/home/dev/giuliano/5/ThirdPartySoftware/linux_unix/ffmpeg/ffmpeg-1.0-usr_include_Centos5_64 
--enable-libvorbis --enable-libvpx --enable-libx264 --enable-gpl 
--enable-nonfree --enable-libvo-aacenc --enable-version3
   libavutil      51. 73.101 / 51. 73.101
   libavcodec     54. 59.100 / 54. 59.100
   libavformat    54. 29.104 / 54. 29.104
   libavdevice    54.  2.101 / 54.  2.101
   libavfilter     3. 17.100 /  3. 17.100
   libswscale      2.  1.101 /  2.  1.101
   libswresample   0. 15.100 /  0. 15.100
   libpostproc    52.  0.100 / 52.  0.100
Guessed Channel Layout for  Input Stream #0.0 : stereo
Input #0, asf, from './maradona.wmv':
   Metadata:
     WMFSDKVersion   : 10.00.00.3646
     WMFSDKNeeded    : 0.0.0.0000
     IsVBR           : 0
   Duration: 00:01:12.93, start: 0.000000, bitrate: 216 kb/s
     Stream #0:0(ita): Audio: wmav2 (a[1][0][0] / 0x0161), 32000 Hz, 
stereo, s16, 32 kb/s
     Stream #0:1(ita): Video: wmv1 (WMV1 / 0x31564D57), yuv420p, 
320x240, 189 kb/s, 29.97 tbr, 1k tbn, 1k tbc
[libx264 @ 0x152eb80] using cpu capabilities: MMX2 SSE2Fast FastShuffle 
SSEMisalign LZCNT
[libx264 @ 0x152eb80] profile Main, level 3.0
[segment @ 0x1534080] Codec for stream 0 does not use global headers but 
container format requires global headers
Output #0, segment, to '/dev/null':
   Metadata:
     WMFSDKVersion   : 10.00.00.3646
     WMFSDKNeeded    : 0.0.0.0000
     IsVBR           : 0
     encoder         : Lavf54.29.104
     Stream #0:0(ita): Video: h264, yuv420p, 480x360, q=-1--1, pass 1, 
300 kb/s, 90k tbn, 29.97 tbc
Stream mapping:
   Stream #0:1 -> #0:0 (wmv1 -> libx264)
Could not write header for output file #0 (incorrect codec parameters 
?): Muxer not found


On 2012-10-27 00:25, Roger Pack wrote:
>>      The following command using passes failed:
>>
>> ffmpeg -y -i ./maradona.wmv -vcodec libx264 -vprofile main -preset slow -b:v
>> 300k -vf scale=480:360 -vbsf h264_mp4toannexb -flags -global_header -map 0
>> -f segment -segment_time 10 -segment_list index.m3u8 -threads 1 -pass 1
>> -passlogfile /tmp/ff_maradona.ts -an /dev/null
>> ...
>> Could not write header for output file #0 (incorrect codec parameters ?):
>> Muxer not found
> Full console output please?
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>



More information about the ffmpeg-user mailing list