Skip to main content
Known Participant
November 4, 2011
Question

FP 11+ Audio Encoding Issue With H.264 Video

  • November 4, 2011
  • 2 replies
  • 4259 views

I'm not sure if this issue is with the Flash Player when encoding the stream or with the Flash Media Server that is saving the stream so I'll be posting in both forums.

The problem is when publishing an audio and video stream from Flash Player 11 (Windows, FF) to the Flash Server using the H.264 video codec. The audio portion of the recorded stream doesn't appear to be playable by anything and FFMPEG cannot process the audio stream. Here are the differences in the stream:

When using Sorenson as the video codec and recording the stream (flv) from the Flash server, the information about the audio stream from FFMPEG is this:

Stream #0.0: Audio: nellymoser, 22050 Hz, mono, s16

This clip can be played and processed by various players and FFMPEG with no problem.

When using H.264 as the video codec and recording the stream (f4v) from the Flash server, the information about the audio stream from FFMPEG is this:

Stream #0.1(eng): Audio: nmos / 0x736F6D6E, 22050 Hz, 1 channels

This clip does not play the audio and cannot be understood by FFMPEG.

I tried using the Speex codec as well and I have a similar issue as above (it doesn't play the audio stream and FFMPEG can't understand it).

Note the version of FFMPEG I'm using supports both Nellymoser and Speex so there should not be an issue.

1) Any idea why the codec appears different and won't play.

2) How to achieve the goal: send H.264 video stream with audio from the Flash Player and have a recorded stream with playable audio.

Thanks!

This topic has been closed for replies.

2 replies

Known Participant
April 16, 2012

I have been trying out various ffmpeg encodes of h.264 video recorded via FMS in an attempt to play back progressively.

The original recording plays very nice from FMS.

I have flattened with various tools, f4vpp, qt-faststart and encoded with various combinations of video and audio codecs and endless settings.

If I get the audio to work in sync, the video looks like crap. Lots of artifacts and blocks.

If I split the stream and use a copy of the video, the audio will not play progressively.

Has anyone ever actually successfully transcoded an h.264 ( baseline or main ) file that was recorded in flash via FMS?

hkudo
Inspiring
November 10, 2011

Can you test with today's release, 11.1.102.55? If same, please log a bug in public bugbase.

thanks,

Hitomi

Known Participant
November 11, 2011

The problem still exists. I've created a bug for it here:https://bugbase.adobe.com/index.cfm?event=bug&id=3044308

Please let me know what you find. Unfortunately this bug results in the complete inabilty to have audio in recorded clips if you do not stream them back through FMS.

Thank you!

Participating Frequently
November 28, 2011

Unfortunately, H.264 video and nellymoser audio is not supported in f4v container. I do not think you can record on fms.