PDA

View Full Version : Audio Codec detection and transcoding problem (Mostly avi with VBR)



christianclavet
02-09-2011, 03:31 AM
Hi.

Is Mezzmo does audio detection and transcoding too? I had 2-3 movies that had (all AVI), audio encoded as MP3 with Variable Bit Rate.

Theses movies don't have any sound on my PS3 (Video is not transcoded, but streamed to the PS3, and I think the PS3 don't seem to support audio with VBR). I have the video, but no audio.

Then I tried to play thoses movies on my Toshiba Regza and they all played correctly, but since the TV is not supporting lots of codec (video), I think Mezzmo was transcoding at the time.

I tried to use VirtualDub to convert the audio track, but I had to use the "audio skew correction" feature (delayed 1600ms) so the sound be in sync again. The supposedly fixed movie did not play at all on the PS3, still played correctly on the REGZA TV and on the computer.

Is Mezzmo can detect if the sound track codec type is not supported for a device and support "audio skew/delay"? (Perhaps forcing to transcode would fix it since the Regza TV play the movie with video and sound.)

Here is a dump of the FFmpeg output in case you would like to have more info on the "corrected" movie that don't play at all on the PS3:


FFmpeg version git-c3897d7, Copyright (c) 2000-2011 the FFmpeg developers
built on Jan 20 2011 13:56:32 with gcc 4.4.2
configuration: --enable-memalign-hack --arch=x86 --target-os=mingw32 --cross-prefix=i686-mingw32- --enable-static --disable-shared --enable-zlib --disable-ffprobe --disable-ffplay --prefix=/media/windows/ffmpeg --extra-cflags=-U__STRICT_ANSI__ --enable-libmp3lame --enable-libx264 --enable-gpl --extra-libs='-lx264 -lpthread' --enable-runtime-cpudetect
libavutil 50.36. 0 / 50.36. 0
libavcore 0.16. 1 / 0.16. 1
libavcodec 52.108. 0 / 52.108. 0
libavformat 52.94. 0 / 52.94. 0
libavdevice 52. 2. 3 / 52. 2. 3
libavfilter 1.74. 0 / 1.74. 0
libswscale 0.12. 0 / 0.12. 0
[mpeg4 @ 0174f120] Invalid and inefficient vfw-avi packed B frames detected

Seems stream 0 codec frame rate differs from container frame rate: 23.98 (65535/2733) -> 23.98 (2997/125)
Input #0, avi, from 'C:\Documents and Settings\All Users\La preuve irréfutable(fixed).avi':
Duration: 01:40:21.27, start: 0.000000, bitrate: 970 kb/s
Stream #0.0: Video: mpeg4, yuv420p, 576x240 [PAR 1:1 DAR 12:5], 23.98 tbr, 23.98 tbn, 23.98 tbc
Stream #0.1: Audio: mp3, 48000 Hz, 2 channels, s16, 128 kb/s
At least one output file must be specified


---> DB Level Info: -99

And here the FFMPEG output on the non-corrected movie with the audio VBR:

FFmpeg version git-c3897d7, Copyright (c) 2000-2011 the FFmpeg developers
built on Jan 20 2011 13:56:32 with gcc 4.4.2
configuration: --enable-memalign-hack --arch=x86 --target-os=mingw32 --cross-prefix=i686-mingw32- --enable-static --disable-shared --enable-zlib --disable-ffprobe --disable-ffplay --prefix=/media/windows/ffmpeg --extra-cflags=-U__STRICT_ANSI__ --enable-libmp3lame --enable-libx264 --enable-gpl --extra-libs='-lx264 -lpthread' --enable-runtime-cpudetect
libavutil 50.36. 0 / 50.36. 0
libavcore 0.16. 1 / 0.16. 1
libavcodec 52.108. 0 / 52.108. 0
libavformat 52.94. 0 / 52.94. 0
libavdevice 52. 2. 3 / 52. 2. 3
libavfilter 1.74. 0 / 1.74. 0
libswscale 0.12. 0 / 0.12. 0
[mpeg4 @ 0174f120] Invalid and inefficient vfw-avi packed B frames detected
[mp3 @ 0174fb90] Header missing

Seems stream 0 codec frame rate differs from container frame rate: 23.98 (65535/2733) -> 23.98 (2997/125)
Input #0, avi, from 'C:\Documents and Settings\All Users\La preuve irréfutable (SD).avi':
Metadata:
encoder : Nandub v1.0rc2
Duration: 01:40:21.27, start: 0.000000, bitrate: 974 kb/s
Stream #0.0: Video: mpeg4, yuv420p, 576x240 [PAR 1:1 DAR 12:5], 23.98 fps, 23.98 tbr, 23.98 tbn, 23.98 tbc
Stream #0.1: Audio: mp3, 48000 Hz, 2 channels, s16, 128 kb/s
At least one output file must be specified


---> DB Level Info: -99

Paul
02-09-2011, 07:57 AM
Mezzmo cannot automatically synch the audio stream, so if it's out of synch, then unfortunately you'll need to convert it manually (at least for the time being). Looking at the FFmpeg info, Mezzmo should pass both of those movies untouched to the PS3. Would it be possible for you to send them to us so that we could test them here and see what's happening more closely?