[FFmpeg-trac] #1494(undetermined:new): Assertion fails when encoding wmav2 (was: Crashes with rtmp stream -> .asf/wmv)
FFmpeg
trac at avcodec.org
Sat Jun 30 00:09:06 CEST 2012
#1494: Assertion fails when encoding wmav2
-------------------------------------+-------------------------------------
Reporter: grolschie | Owner:
Type: defect | Status: new
Priority: important | Component:
Version: git-master | undetermined
Keywords: wma | Resolution:
regression | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Changes (by cehoyos):
* component: FFmpeg => undetermined
* priority: critical => important
* version: unspecified => git-master
* keywords: => wma regression
Old description:
> System is Windows XP 32bit with Athlon XP2800+ CPU.
>
> Output from ffmpeg:
> ----------------------------------------------
> ffmpeg.exe -i "rtmp://extondemand.livestream.com/on
> demand
> swfUrl=http://cdn.livestream.com/chromelessPlayer/v21/playerapi.swf?autop
> lay=true playpath=trans/dv15/mogulus-user-
> files/chepsilon_tv/2011/12/25/4ae0b944
> -c50f-41e0-8376-cc1f1a91daa3" -y -copyts -c:v wmv2 -b:v 15360k -r 25 -g
> 15 -c:a
> wmav2 -b:a 64k -ar 48000 -ac 2 -map 0:0 -map 0:1 -sn -f asf
> epsilon_hellas.asf
> ffmpeg version N-42016-gc103dc0 Copyright (c) 2000-2012 the FFmpeg
> developers
> built on Jun 28 2012 20:16:03 with gcc 4.7.1
> configuration: --enable-gpl --enable-version3 --disable-w32threads
> --enable-ru
> ntime-cpudetect --enable-avisynth --enable-bzlib --enable-frei0r
> --enable-libass
> --enable-libcelt --enable-libopencore-amrnb --enable-libopencore-amrwb
> --enable
> -libfreetype --enable-libgsm --enable-libmp3lame --enable-libnut
> --enable-libope
> njpeg --enable-librtmp --enable-libschroedinger --enable-libspeex
> --enable-libth
> eora --enable-libutvideo --enable-libvo-aacenc --enable-libvo-amrwbenc
> --enable-
> libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-
> libxvid --e
> nable-zlib
> libavutil 51. 63.100 / 51. 63.100
> libavcodec 54. 29.101 / 54. 29.101
> libavformat 54. 11.100 / 54. 11.100
> libavdevice 54. 0.100 / 54. 0.100
> libavfilter 3. 0.100 / 3. 0.100
> libswscale 2. 1.100 / 2. 1.100
> libswresample 0. 15.100 / 0. 15.100
> libpostproc 52. 0.100 / 52. 0.100
> HandleCtrl: Ignoring SWFVerification request, use --swfVfy!
> Metadata:
> metadatacreator Yet Another Metadata Injector for FLV - Version
> 1.4
> hasKeyframes TRUE
> hasVideo TRUE
> hasAudio TRUE
> hasMetadata TRUE
> canSeekToEnd TRUE
> duration 30.09
> datasize 1978772.00
> videosize 1716367.00
> videocodecid 2.00
> width 450.00
> height 360.00
> framerate 24.96
> videodatarate 443.44
> audiosize 254789.00
> audiocodecid 2.00
> audiosamplerate 22000.00
> audiosamplesize 16.00
> stereo TRUE
> audiodatarate 62.85
> filesize 1980591.00
> lasttimestamp 30.09
> lastkeyframetimestamp 30.00
> lastkeyframelocation 1975246.00
> keyframes:
> filepositions:
> times:
> Input #0, flv, from 'rtmp://extondemand.livestream.com/ondemand
> swfUrl=http://cd
> n.livestream.com/chromelessPlayer/v21/playerapi.swf?autoplay=true
> playpath=trans
> /dv15/mogulus-user-files/chepsilon_tv/2011/12/25/4ae0b944-c50f-
> 41e0-8376-cc1f1a9
> 1daa3':
> Metadata:
> metadatacreator : Yet Another Metadata Injector for FLV - Version 1.4
> hasKeyframes : true
> hasVideo : true
> hasAudio : true
> hasMetadata : true
> canSeekToEnd : true
> datasize : 1978772
> videosize : 1716367
> audiosize : 254789
> lasttimestamp : 30
> lastkeyframetimestamp: 30
> lastkeyframelocation: 1975246
> Duration: 00:00:30.09, start: 0.000000, bitrate: N/A
> Stream #0:0: Video: flv1, yuv420p, 450x360, 454 kb/s, 25 tbr, 1k tbn,
> 1k tbc
>
> Stream #0:1: Audio: mp3, 22050 Hz, stereo, s16, 64 kb/s
> [graph 0 input from stream 0:0 @ 02559e20] w:450 h:360 pixfmt:yuv420p
> tb:1/1000
> fr:25/1 sar:0/1 sws_param:flags=2
> [output stream 0:0 @ 0254fb00] No opaque field provided
> [graph 1 input from stream 0:1 @ 0254a9a0] tb:1/1000 samplefmt:s16
> samplerate:22
> 050 chlayout:0x3
> [auto-inserted resampler 0 @ 0254ba60] chl:stereo fmt:s16 r:22050Hz ->
> chl:stere
> o fmt:s16 r:48000Hz
> Output #0, asf, to 'epsilon_hellas.asf':
> Metadata:
> metadatacreator : Yet Another Metadata Injector for FLV - Version 1.4
> hasKeyframes : true
> hasVideo : true
> hasAudio : true
> hasMetadata : true
> canSeekToEnd : true
> datasize : 1978772
> videosize : 1716367
> audiosize : 254789
> lasttimestamp : 30
> lastkeyframetimestamp: 30
> lastkeyframelocation: 1975246
> WM/EncodingSettings: Lavf54.11.100
> Stream #0:0: Video: wmv2 (WMV2 / 0x32564D57), yuv420p, 450x360,
> q=2-31, 1536
> 0 kb/s, 1k tbn, 25 tbc
> Stream #0:1: Audio: wmav2 (a[1][0][0] / 0x0161), 48000 Hz, stereo,
> s16, 63 k
> b/s
> Stream mapping:
> Stream #0:0 -> #0:0 (flv -> wmv2)
> Stream #0:1 -> #0:1 (mp3 -> wmav2)
> Press [q] to stop, [?] for help
> Assertion i>=0 failed at /home/kyle/software/ffmpeg/source/ffmpeg-
> git/libavcodec
> /wmaenc.c:405
>
> This application has requested the Runtime to terminate it in an unusual
> way.
> Please contact the application's support team for more information.
> ----------------------------------------------
New description:
System is Windows XP 32bit with Athlon XP2800+ CPU.
Output from ffmpeg:
----------------------------------------------
{{{
ffmpeg.exe -i "rtmp://extondemand.livestream.com/ondemand
swfUrl=http://cdn.livestream.com/chromelessPlayer/v21/playerapi.swf?autoplay=true
playpath=trans/dv15/mogulus-user-files/chepsilon_tv/2011/12/25/4ae0b944
-c50f-41e0-8376-cc1f1a91daa3" -y -copyts -c:v wmv2 -b:v 15360k -r 25 -g 15
-c:a
wmav2 -b:a 64k -ar 48000 -ac 2 -map 0:0 -map 0:1 -sn -f asf
epsilon_hellas.asf
ffmpeg version N-42016-gc103dc0 Copyright (c) 2000-2012 the FFmpeg
developers
built on Jun 28 2012 20:16:03 with gcc 4.7.1
configuration: --enable-gpl --enable-version3 --disable-w32threads
--enable-ru
ntime-cpudetect --enable-avisynth --enable-bzlib --enable-frei0r --enable-
libass
--enable-libcelt --enable-libopencore-amrnb --enable-libopencore-amrwb
--enable
-libfreetype --enable-libgsm --enable-libmp3lame --enable-libnut --enable-
libope
njpeg --enable-librtmp --enable-libschroedinger --enable-libspeex
--enable-libth
eora --enable-libutvideo --enable-libvo-aacenc --enable-libvo-amrwbenc
--enable-
libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-
libxvid --e
nable-zlib
libavutil 51. 63.100 / 51. 63.100
libavcodec 54. 29.101 / 54. 29.101
libavformat 54. 11.100 / 54. 11.100
libavdevice 54. 0.100 / 54. 0.100
libavfilter 3. 0.100 / 3. 0.100
libswscale 2. 1.100 / 2. 1.100
libswresample 0. 15.100 / 0. 15.100
libpostproc 52. 0.100 / 52. 0.100
HandleCtrl: Ignoring SWFVerification request, use --swfVfy!
Metadata:
metadatacreator Yet Another Metadata Injector for FLV - Version
1.4
hasKeyframes TRUE
hasVideo TRUE
hasAudio TRUE
hasMetadata TRUE
canSeekToEnd TRUE
duration 30.09
datasize 1978772.00
videosize 1716367.00
videocodecid 2.00
width 450.00
height 360.00
framerate 24.96
videodatarate 443.44
audiosize 254789.00
audiocodecid 2.00
audiosamplerate 22000.00
audiosamplesize 16.00
stereo TRUE
audiodatarate 62.85
filesize 1980591.00
lasttimestamp 30.09
lastkeyframetimestamp 30.00
lastkeyframelocation 1975246.00
keyframes:
filepositions:
times:
Input #0, flv, from 'rtmp://extondemand.livestream.com/ondemand
swfUrl=http://cdn.livestream.com/chromelessPlayer/v21/playerapi.swf?autoplay=true
playpath=trans/dv15/mogulus-user-files/chepsilon_tv/2011/12/25/4ae0b944
-c50f-41e0-8376-cc1f1a91daa3':
Metadata:
metadatacreator : Yet Another Metadata Injector for FLV - Version 1.4
hasKeyframes : true
hasVideo : true
hasAudio : true
hasMetadata : true
canSeekToEnd : true
datasize : 1978772
videosize : 1716367
audiosize : 254789
lasttimestamp : 30
lastkeyframetimestamp: 30
lastkeyframelocation: 1975246
Duration: 00:00:30.09, start: 0.000000, bitrate: N/A
Stream #0:0: Video: flv1, yuv420p, 450x360, 454 kb/s, 25 tbr, 1k tbn,
1k tbc
Stream #0:1: Audio: mp3, 22050 Hz, stereo, s16, 64 kb/s
[graph 0 input from stream 0:0 @ 02559e20] w:450 h:360 pixfmt:yuv420p
tb:1/1000
fr:25/1 sar:0/1 sws_param:flags=2
[output stream 0:0 @ 0254fb00] No opaque field provided
[graph 1 input from stream 0:1 @ 0254a9a0] tb:1/1000 samplefmt:s16
samplerate:22
050 chlayout:0x3
[auto-inserted resampler 0 @ 0254ba60] chl:stereo fmt:s16 r:22050Hz ->
chl:stere
o fmt:s16 r:48000Hz
Output #0, asf, to 'epsilon_hellas.asf':
Metadata:
metadatacreator : Yet Another Metadata Injector for FLV - Version 1.4
hasKeyframes : true
hasVideo : true
hasAudio : true
hasMetadata : true
canSeekToEnd : true
datasize : 1978772
videosize : 1716367
audiosize : 254789
lasttimestamp : 30
lastkeyframetimestamp: 30
lastkeyframelocation: 1975246
WM/EncodingSettings: Lavf54.11.100
Stream #0:0: Video: wmv2 (WMV2 / 0x32564D57), yuv420p, 450x360,
q=2-31, 1536
0 kb/s, 1k tbn, 25 tbc
Stream #0:1: Audio: wmav2 (a[1][0][0] / 0x0161), 48000 Hz, stereo,
s16, 63 k
b/s
Stream mapping:
Stream #0:0 -> #0:0 (flv -> wmv2)
Stream #0:1 -> #0:1 (mp3 -> wmav2)
Press [q] to stop, [?] for help
Assertion i>=0 failed at /home/kyle/software/ffmpeg/source/ffmpeg-
git/libavcodec
/wmaenc.c:405
}}}
This application has requested the Runtime to terminate it in an unusual
way.
Please contact the application's support team for more information.
----------------------------------------------
--
Comment:
Regression since 0a7bf34
Is this also reproducible with ffmpeg -i ... -vn out.wma ?
Are you able to provide a file to reproduce the problem?
--
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/1494#comment:2>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list