Encoding to wmav2 gives error towards end of transcode
Submitted by an unknown user
Link to original bug (#726424)
Description
gst-launch-1.0 filesrc location="/home/cschalle/Videos/gravity.mpg" ! decodebin ! audioconvert ! avenc_wmav2 ! matroskamux ! filesink location=output.mkv
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
Redistribute latency...
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
0:00:02.135925579 16915 0x7f11d0002a30 ERROR libav gstavaudenc.c:534:gst_ffmpegaudenc_encode_audio:<avenc_wmav2-0>
Failed to encode buffer: -22 - Invalid argument
Got EOS from element "pipeline0".
Execution ended after 0:00:02.115204605
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
Setting pipeline to NULL ...
Freeing pipeline ...