PDA

View Full Version : Losing GoPro MP4 audio



wrnoof
09-02-2013, 07:41 AM
First, thanks for your product. It is the best I have tried out of three or four. However, I have a recurring problem in that the audio for some of the home videos created with my GoPro Hero 3 camera will not play or will start and then cut out after about a second or two when using the media server. On some files, however, the audio plays just fine. My dlna device is an LB BD390 BluRay player. The problem exists whether the BluRay player is connected via WiFi or via ethernet cable. They all play well when viewing on the desktop computer.

My set up is: Mezzmo runs from a Velocity Micro desktop (Vector Z25) with an "Intel Core i7-2600K CPU @ 3.40 GHz 3.40 Ghz". The operating system is 64-bit Windows 7 professional. My media files are on a 1T Seagate Backup Plus USB 3.0 drive connected to the desktop. The network router is a Netgear R6300. The Velocity Micro is ethernet wired to the router. The LG BD390 is WiFi connected to the router. (I did run an ethernet connection temporarily to see if it changed the situation. It didn't.)

Can you help me figure out how to solve this problem?

Thanks,
Bob

Here is the FFmpeg data from some files that play just fine. Some files that show up in the server with the mpegts extension all play fine.

ffmpeg version N-50460-g393dcbf Copyright (c) 2000-2013 the FFmpeg developers
built on Jun 27 2013 17:20:20 with gcc 4.6.2 (GCC)
configuration: --enable-memalign-hack --arch=x86_64 --target-os=mingw32 --cross-prefix=x86_64-w64-mingw32- --enable-static --disable-shared --enable-zlib --disable-postproc --prefix=/home/peter/ffmpeg/build/gpl64 --enable-libmp3lame --enable-libx264 --enable-gpl --extra-libs='-lx264 -lpthread' --enable-runtime-cpudetect --extra-cflags=-I/home/peter/cc64/include --extra-ldflags=-L/home/peter/cc64/lib --pkg-config=pkg-config --disable-w32threads --enable-zlib
libavutil 52. 17.103 / 52. 17.103
libavcodec 54. 92.100 / 54. 92.100
libavformat 54. 63.102 / 54. 63.102
libavdevice 54. 3.103 / 54. 3.103
libavfilter 3. 41.100 / 3. 41.100
libswscale 2. 2.100 / 2. 2.100
libswresample 0. 17.102 / 0. 17.102
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'M:\My Pictures\2013 04 23\GOPR0003.mp4':
Metadata:
major_brand : avc1
minor_version : 0
compatible_brands: avc1isom
creation_time : 2013-04-23 10:49:01
Duration: 00:00:25.54, start: 0.000000, bitrate: 30558 kb/s
Stream #0:0(eng): Video: h264 (High) (avc1 / 0x31637661), yuvj420p, 1920x1080 [SAR 1:1 DAR 16:9], 30131 kb/s, 59.94 fps, 59.94 tbr, 180k tbn, 119.88 tbc
Metadata:
creation_time : 2013-04-23 10:49:01
handler_name : GoPro AVC
Stream #0:1(eng): Audio: aac (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 128 kb/s
Metadata:
creation_time : 2013-04-23 10:49:01
handler_name : GoPro AAC
At least one output file must be specified

<MEZZMO>: Child process ended with code: 109, ExitCode=1


---> DB Level Info: 42, 100
---> Frame rate: 59.94
---> Aspect ratio: 16:9 PAR=1:1


ffmpeg version N-50460-g393dcbf Copyright (c) 2000-2013 the FFmpeg developers
built on Jun 27 2013 17:20:20 with gcc 4.6.2 (GCC)
configuration: --enable-memalign-hack --arch=x86_64 --target-os=mingw32 --cross-prefix=x86_64-w64-mingw32- --enable-static --disable-shared --enable-zlib --disable-postproc --prefix=/home/peter/ffmpeg/build/gpl64 --enable-libmp3lame --enable-libx264 --enable-gpl --extra-libs='-lx264 -lpthread' --enable-runtime-cpudetect --extra-cflags=-I/home/peter/cc64/include --extra-ldflags=-L/home/peter/cc64/lib --pkg-config=pkg-config --disable-w32threads --enable-zlib
libavutil 52. 17.103 / 52. 17.103
libavcodec 54. 92.100 / 54. 92.100
libavformat 54. 63.102 / 54. 63.102
libavdevice 54. 3.103 / 54. 3.103
libavfilter 3. 41.100 / 3. 41.100
libswscale 2. 2.100 / 2. 2.100
libswresample 0. 17.102 / 0. 17.102
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'M:\My Pictures\2013 07 14\GOPR0273.mp4':
Metadata:
major_brand : avc1
minor_version : 0
compatible_brands: avc1isom
creation_time : 2013-07-14 23:01:00
Duration: 00:01:00.35, start: 0.000000, bitrate: 20251 kb/s
Stream #0:0(eng): Video: h264 (High) (avc1 / 0x31637661), yuvj420p, 1280x720 [SAR 1:1 DAR 16:9], 20029 kb/s, 59.94 fps, 59.94 tbr, 180k tbn, 119.88 tbc
Metadata:
creation_time : 2013-07-14 23:01:00
handler_name : GoPro AVC
Stream #0:1(eng): Audio: aac (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 128 kb/s
Metadata:
creation_time : 2013-07-14 23:01:00
handler_name : GoPro AAC
At lea
st one output file must be specified

<MEZZMO>: Child process ended with code: 109, ExitCode=1


---> DB Level Info: 41, 100
---> Frame rate: 59.94
---> Aspect ratio: 16:9 PAR=1:1




Three videos that do not play the audio all the way through are:

ffmpeg version N-50460-g393dcbf Copyright (c) 2000-2013 the FFmpeg developers
built on Jun 27 2013 17:20:20 with gcc 4.6.2 (GCC)
configuration: --enable-memalign-hack --arch=x86_64 --target-os=mingw32 --cross-prefix=x86_64-w64-mingw32- --enable-static --disable-shared --enable-zlib --disable-postproc --prefix=/home/peter/ffmpeg/build/gpl64 --enable-libmp3lame --enable-libx264 --enable-gpl --extra-libs='-lx264 -lpthread' --enable-runtime-cpudetect --extra-cflags=-I/home/peter/cc64/include --extra-ldflags=-L/home/peter/cc64/lib --pkg-config=pkg-config --disable-w32threads --enable-zlib
libavutil 52. 17.103 / 52. 17.103
libavcodec 54. 92.100 / 54. 92.100
libavformat 54. 63.102 / 54. 63.102
libavdevice 54. 3.103 / 54. 3.103
libavfilter 3. 41.100 / 3. 41.100
libswscale 2. 2.100 / 2. 2.100
libswresample 0. 17.102 / 0. 17.102
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'M:\My Pictures\2013 07 14\GOPR0273.mp4':
Metadata:
major_brand : avc1
minor_version : 0
compatible_brands: avc1isom
creation_time : 2013-07-14 23:01:00
Duration: 00:01:00.35, start: 0.000000, bitrate: 20251 kb/s
Stream #0:0(eng): Video: h264 (High) (avc1 / 0x31637661), yuvj420p, 1280x720 [SAR 1:1 DAR 16:9], 20029 kb/s, 59.94 fps, 59.94 tbr, 180k tbn, 119.88 tbc
Metadata:
creation_time : 2013-07-14 23:01:00
handler_name : GoPro AVC
Stream #0:1(eng): Audio: aac (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 128 kb/s
Metadata:
creation_time : 2013-07-14 23:01:00
handler_name : GoPro AAC
At least one output file must be specified

<MEZZMO>: Child process ended with code: 109, ExitCode=1


---> DB Level Info: 41, 100
---> Frame rate: 59.94
---> Aspect ratio: 16:9 PAR=1:1


ffmpeg version N-50460-g393dcbf Copyright (c) 2000-2013 the FFmpeg developers
built on Jun 27 2013 17:20:20 with gcc 4.6.2 (GCC)
configuration: --enable-memalign-hack --arch=x86_64 --target-os=mingw32 --cross-prefix=x86_64-w64-mingw32- --enable-static --disable-shared --enable-zlib --disable-postproc --prefix=/home/peter/ffmpeg/build/gpl64 --enable-libmp3lame --enable-libx264 --enable-gpl --extra-libs='-lx264 -lpthread' --enable-runtime-cpudetect --extra-cflags=-I/home/peter/cc64/include --extra-ldflags=-L/home/peter/cc64/lib --pkg-config=pkg-config --disable-w32threads --enable-zlib
libavutil 52. 17.103 / 52. 17.103
libavcodec 54. 92.100 / 54. 92.100
libavformat 54. 63.102 / 54. 63.102
libavdevice 54. 3.103 / 54. 3.103
libavfilter 3. 41.100 / 3. 41.100
libswscale 2. 2.100 / 2. 2.100
libswresample 0. 17.102 / 0. 17.102
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'M:\My Pictures\2013 08 31\GOPR0291.mp4':
Metadata:
major_brand : avc1
minor_version : 0
compatible_brands: avc1isom
creation_time : 2013-08-31 14:19:09
Duration: 00:00:43.31, start: 0.000000, bitrate: 35414 kb/s
Stream #0:0(eng): Video: h264 (High) (avc1 / 0x31637661), yuvj420p, 1280x720 [SAR 1:1 DAR 16:9], 35071 kb/s, 59.94 fps, 59.94 tbr, 90k tbn, 119.88 tbc
Metadata:
creation_time : 2013-08-31 14:19:09
handler_name : GoPro AVC
Stream #0:1(eng): Audio: aac (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 127 kb/s
Metadata:
creation_time : 2013-08-31 14:19:09
handler_name : GoPro AAC
At least one output file must be specified

<MEZZMO>: Child process ended with code: 109, ExitCode=1


---> DB Level Info: 41, 100
---> Frame rate: 59.94
---> Aspect ratio: 16:9 PAR=1:1


ffmpeg version N-50460-g393dcbf Copyright (c) 2000-2013 the FFmpeg developers
built on Jun 27 2013 17:20:20 with gcc 4.6.2 (GCC)
configuration: --enable-memalign-hack --arch=x86_64 --target-os=mingw32 --cross-prefix=x86_64-w64-mingw32- --enable-static --disable-shared --enable-zlib --disable-postproc --prefix=/home/peter/ffmpeg/build/gpl64 --enable-libmp3lame --enable-libx264 --enable-gpl --extra-libs='-lx264 -lpthread' --enable-runtime-cpudetect --extra-cflags=-I/home/peter/cc64/include --extra-ldflags=-L/home/peter/cc64/lib --pkg-config=pkg-config --disable-w32threads --enable-zlib
libavutil 52. 17.103 / 52. 17.103
libavcodec 54. 92.100 / 54. 92.100
libavformat 54. 63.102 / 54. 63.102
libavdevice 54. 3.103 / 54. 3.103
libavfilter 3. 41.100 / 3. 41.100
libswscale 2. 2.100 / 2. 2.100
libswresample 0. 17.102 / 0. 17.102
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'M:\My Pictures\2013 08 31\GOPR0292.mp4':
Metadata:
major_brand : avc1
minor_version : 0
compatible_brands: avc1isom
creation_time : 2013-08-31 14:40:31
Duration: 00:00:40.17, start: 0.000000, bitrate: 30401 kb/s
Stream #0:0(eng): Video: h264 (High) (avc1 / 0x31637661), yuvj420p, 1920x1080 [SAR 1:1 DAR 16:9], 30085 kb/s, 59.94 fps, 59.94 tbr, 180k tbn, 119.88 tbc
Metadata:
creation_time : 2013-08-31 14:40:31
handler_name : GoPro AVC
Stream #0:1(eng): Audio: aac (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 128 kb/s
Metadata:
creation_time : 2013-08-31 14:40:31
handler_name : GoPro AAC
At least one output file must be specified

<MEZZMO>: Child process ended with code: 109, ExitCode=1


---> DB Level Info: 42, 100
---> Frame rate: 59.94
---> Aspect ratio: 16:9 PAR=1:1

Paul
09-02-2013, 09:53 AM
Hi Bob,

Thanks for the detailed information. I assume you are using the "LG BluRay" device profile for your LG device. You can check this in the Media Devices dialog in Mezzmo. This device profile tells Mezzmo server to stream your GoPro MP4 files natively to your LG device without any transcoding.

Your GoPro video files have very high bitrates (20-30Mbps). We have found that quite a few DLNA devices often stutter or give up when trying to play video files that have high bitrates.

As a test, try pre-transcoding your MP4 to another format. Right-click on a GoPro MP4 file in Mezzmo and click 'Pre-transcode Files'. In the Pre-transcode Files dialog, select your LG device and click Choose Formats. In the Pre-transcode Formats dialog, select the bolded format (mpegts) and click OK. Click OK to start pre-transcoding. Wait until it completes and then try streaming the video again. This time, Mezzmo server will stream the transcoded file. If that works better, then we have confirmed that your LG device does not like the higher bitrate files.

wrnoof
09-04-2013, 09:26 PM
Hi Paul,
That is helpful. Yes, I am using the "LG BluRay" device profile. However, when I try to pre-trancode any file I get a message saying, "No files were queued for transcoding since they match formats that are supported by the selected devices." Is there a workaround or override for this defeat feature?

Your comments are very helpful as they have helped me narrow down the issue to one of bitrate and transcoding.
Thanks,
Bob

Paul
09-05-2013, 08:50 AM
Hi Bob,

In the Pre-transcode Files dialog, select the "Pre-transcode files even if they match the device's supported formats" checkbox and this will force the files to be transcoded.

wrnoof
09-06-2013, 01:58 AM
Hi Paul,

I did as suggested and got a message that appeared on the BluRay-connected HDTV that said it "cannot play this file". I then improvised. I pre-transcoded the files again and set the LG BluRay player resolution settings in Mezzmo to match the HDTV's resolution, i.e., 1280 x 720. All works perfectly now. I can't tell you how frustrated I was trying to overcome this issue with other media servers. Mezzmo simply works. Now that I can play all of my media files through the BluRay player, I look forward to exploring Mezzmo's other features such as play lists, especially for making slide shows from photos.

Also, do the transcoded files get stored on the computer hard drive? Are they as large as the original files? Can I change their storage location to a USB or network drive?

Thanks for the help,
Bob

Paul
09-06-2013, 08:59 AM
Hi Bob,

Great news that you are up and running now & I'm glad you are enjoying Mezzmo :)

Your transcoded files are all stored in a transcoded folder. This folder can be located where you wish. To check or change the location of the transcoded folder, go to the Transcoding Settings dialog. You can also set the maximum size of the folder so that it does not exceed your preferred size. Older transcoded files will be automatically removed by Mezzmo when it reaches your maximum size.

wrnoof
09-22-2013, 07:17 AM
Hi Paul --
My problems are not over. I upgraded to the latest version 3.4.1.0 and am now having problems again. Am not sure it is the upgrade. I probably changed some settings that keep things from working. The first file below plays just fine on the LG BluRay using the default "Media Devices" settings in Mezzmo. The second file will not play well - lots of stuttering and audio loss. However, when I pre-transcode this file, my LG BluRay says "Cannot Play This File". If I change the "Media Devices" settings for the BluRay (ethernet to wireless N and performance to 720p), I can get the second file to pre-transcode and play, but then the first stutters and loses audio. If I pre-transcode the first file using the changed "Media Devices" settings (I assume these settings affect the transcoding) I then get a file my device cannot play. Can you help me find the silver bullet that will let me play both (and, I hope all) of my video files?
Thanks,
Bob

First File
ffmpeg version N-56525-g5b153f8 Copyright (c) 2000-2013 the FFmpeg developers
built on Sep 21 2013 00:42:32 with gcc 4.7.3 (GCC)
configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libcaca --enable-libfreetype --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libx264 --enable-libxavs --enable-libxvid --enable-zlib
libavutil 52. 45.100 / 52. 45.100
libavcodec 55. 33.100 / 55. 33.100
libavformat 55. 18.102 / 55. 18.102
libavdevice 55. 3.100 / 55. 3.100
libavfilter 3. 86.102 / 3. 86.102
libswscale 2. 5.100 / 2. 5.100
libswresample 0. 17.103 / 0. 17.103
libpostproc 52. 3.100 / 52. 3.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '\\NEUFELD\USB_Storage\My Pictures\2013 09 14\GOPR0296.mp4':
Metadata:
major_brand : avc1
minor_version : 0
compatible_brands: avc1isom
creation_time : 2013-09-14 21:29:19
Duration: 00:11:00.67, start: 0.000000, bitrate: 20130 kb/s
Stream #0:0(eng): Video: h264 (High) (avc1 / 0x31637661), yuvj420p(pc, bt709), 1280x720 [SAR 1:1 DAR 16:9], 19983 kb/s, 59.94 fps, 59.94 tbr, 180k tbn, 119.88 tbc (default)
Metadata:
creation_time : 2013-09-14 21:29:19
handler_name : GoPro AVC
Stream #0:1(eng): Audio: aac (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 128 kb/s (default)
Metadata:
creation_time : 2013-09-14 21:29:19
handler_name : GoPro AAC
At least one output file must be specified

<MEZZMO>: Child process ended with code: 109, ExitCode=1


---> DB Level Info: 41, 100
---> Frame rate: 59.94
---> Aspect ratio: 16:9 PAR=1:1

Second File
ffmpeg version N-56525-g5b153f8 Copyright (c) 2000-2013 the FFmpeg developers
built on Sep 21 2013 00:42:32 with gcc 4.7.3 (GCC)
configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libcaca --enable-libfreetype --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libx264 --enable-libxavs --enable-libxvid --enable-zlib
libavutil 52. 45.100 / 52. 45.100
libavcodec 55. 33.100 / 55. 33.100
libavformat 55. 18.102 / 55. 18.102
libavdevice 55. 3.100 / 55. 3.100
libavfilter 3. 86.102 / 3. 86.102
libswscale 2. 5.100 / 2. 5.100
libswresample 0. 17.103 / 0. 17.103
libpostproc 52. 3.100 / 52. 3.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '\\NEUFELD\USB_Storage\My Pictures\2013 01 01\GOPR0001.mp4':
Metadata:
major_brand : avc1
minor_version : 0
compatible_brands: avc1isom
creation_time : 2013-01-01 09:43:33
Duration: 00:00:35.79, start: 0.000000, bitrate: 30475 kb/s
Stream #0:0(eng): Video: h264 (High) (avc1 / 0x31637661), yuvj420p(pc, bt709), 1920x1080 [SAR 1:1 DAR 16:9], 30178 kb/s, 23.98 fps, 23.98 tbr, 360k tbn, 47.95 tbc (default)
Metadata:
creation_time : 2013-01-01 09:43:33
handler_name : GoPro AVC
Stream #0:1(eng): Audio: aac (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 127 kb/s (default)
Metadata:
creation_time : 2013-01-01 09:43:33
handler_name : GoPro AAC
At least one output file must be specified

<MEZZMO>: Child process ended with code: 109, ExitCode=1


---> DB Level Info: 41, 100
---> Frame rate: 23.98
---> Aspect ratio: 16:9 PAR=1:1

Peter
09-23-2013, 01:10 PM
Hi Bob,
with the Maximum video size set to 1280 x 720 on the Performance tab of Device Settings the First File should play without being transcoded, try right-clicking the file and go to properties then on the Transcoding tab click 'Delete All' if any transcoded files are listed. You can also reduce the bitrate of the transcoded files by dragging the bitrate slider on the Performance tab to the left and this should improve playback performance on the device.