or Connect
New Posts  All Forums:Forum Nav:

Canon S90 MOV Files on Dune

post #1 of 8
Thread Starter 
These files play fine on my computers using VLC.
They did not play on my netgear 550, so I got a Dune Max, however they play without sound.
If I press audio, it says "no audio".

I can convert the files using freemake, however even keeping the resolution and frame rate identical, the file size goes down by 50%, so I can't help I am losing some quality. Plus having to convert every video I take it a pain.

I used to use my JVC camcorder, but it's not HD, so less now, however it produced files called *.MOD
Turned out if i just rename to mpg, the worked everywhere, no loss of quality, or conversion required.

I have tried the same, and renamed to mp4 as well, to no avail.

Has anyone come across this before?

Thanks

Dave
post #2 of 8
My guess is that the MOV file is H.264 video and PCM audio which is a common thing lazy camcorders do to avoid paying fees for AAC audio. Use mediainfo to confirm it.

If you convert the audio but keep the video intact it should be okay, you could do it via a GUI encoder that has a copy/pass-through option, I dont know if Freemake has that feature but Staxrip did.
post #3 of 8
Thread Starter 
Thanks for that. You are 100% correct, the audio is PCM. So i guess the question is why can't the Dune play the PCM audio?

I would really rather not have to convert them, just copy them off the camera and onto my network drives.

Also I would guess the conversion program, unless it is just changing the wrapper, will mean there is some quality loss.

The conversion is very slow, so I think it is not changing the wrapper, but doing a full convert....

it would be so much better if the Dune just played the files!
post #4 of 8
The Dune probably can play it but the software on the Dune doesn't support that combination expecting mp3/aac in mov instead. I've no idea who Dune listen to when it comes to bugs, you might want to look at something like the Pivos XIOS DS which runs XBMC and supports PCM/MOV plus if the Pivos XBMC devs can redproduce a problem you present to them they almost always fix it (if possible).

You can convert the audio leaving the original video intact so no quality loss, you could use ffmpeg command line to do it quickly, copy the file into the same folder as ffmpeg.exe, if on windows hold shift and right click on folder to bring up command prompt on that folder.
Enter in below for mov file with mp3 audio track
Code:
ffmpeg -i filename.mov -vcodec copy -acodec mp3 newfilename.mov

Or for no audio quality loss changes container to mkv
Code:
ffmpeg -i filename.mov -vcodec copy -acodec flac newfilename.mkv
post #5 of 8
Thread Starter 
Most helpful response, thanks.

I have a Synology NAS, which runs a version of linux, so I reckon I can run a cron task on a folder every 5 mins, which will convert and move all files.

Then the family can drop files in the "inbox" and have ready to play files in the outbox within a few minutes.

Here is what I had to do, as it was not all plain sailing....

- install ipkg so i could install my own packages on the NAS: http://forum.synology.com/wiki/index.php/Overview_on_modifying_the_Synology_Server,_bootstrap,_ipkg_etc
- you need to use the right version for your CPU: http://forum.synology.com/wiki/index.php/What_kind_of_CPU_does_my_NAS_have
- installed ffmpeg on command line (ssh): ipkg -install ffmpeg

Then I tried to run it:
Code:
/volume1/video/original MOV files, converted$ ffmpeg -i MVI_1143.MOV -vcodec copy -acodec mp3 a_MVI_1143.MOV
FFmpeg version UNKNOWN, Copyright (c) 2000-2008 Fabrice Bellard, et al.
  configuration: --enable-cross-compile --cross-prefix=/home/slug/optware/syno-e500/toolchain/gcc-3.4.3-glibc-2.3.4/powerpc-linux-gnuspe/bin/powerpc-linux-gnuspe- --arch=powerpc --disable-encoder=snow --disable-decoder=snow --enable-shared --disable-static --enable-gpl --enable-postproc --prefix=/opt
  libavutil version: 49.6.0
  libavcodec version: 51.54.0
  libavformat version: 52.13.0
  libavdevice version: 52.0.0
  built on Feb 16 2012 14:00:53, gcc: 3.4.3 20041021 (prerelease)
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'MVI_1143.MOV':
  Duration: 00:00:10.0, start: 0.000000, bitrate: 20553 kb/s
    Stream #0.0(eng): Video: h264, yuv420p, 1280x720, 23.98 tb(r)
    Stream #0.1(eng): Audio: pcm_s16le, 48000 Hz, stereo, 1536 kb/s
Unknown encoder 'mp3'

ffmpeg -formats shows mp3 is there....

I then tried flac to mkv, which worked, however playing the file crashed my DUNE, and required hard reboot. I tried to play it on computer, and there was no sound.

I then read lots about getting mp3 working, which seems to involve compiling ffmpeg with -enable-libmp3lame set. however as I installed from package and not from source, this seemed a lot of bother.

I then read that simply leaving the audio option out meant the program chooses the best format for the extension.

I tried this and got:
Code:
/volume1/video/original MOV files, converted$ ffmpeg -i MVI_1143.MOV -vcodec copy a_MVI_1143.mkv
FFmpeg version UNKNOWN, Copyright (c) 2000-2008 Fabrice Bellard, et al.
  configuration: --enable-cross-compile --cross-prefix=/home/slug/optware/syno-e500/toolchain/gcc-3.4.3-glibc-2.3.4/powerpc-linux-gnuspe/bin/powerpc-linux-gnuspe- --arch=powerpc --disable-encoder=snow --disable-decoder=snow --enable-shared --disable-static --enable-gpl --enable-postproc --prefix=/opt
  libavutil version: 49.6.0
  libavcodec version: 51.54.0
  libavformat version: 52.13.0
  libavdevice version: 52.0.0
  built on Feb 16 2012 14:00:53, gcc: 3.4.3 20041021 (prerelease)
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'MVI_1143.MOV':
  Duration: 00:00:10.0, start: 0.000000, bitrate: 20553 kb/s
    Stream #0.0(eng): Video: h264, yuv420p, 1280x720, 23.98 tb(r)
    Stream #0.1(eng): Audio: pcm_s16le, 48000 Hz, stereo, 1536 kb/s
Output #0, matroska, to 'a_MVI_1143.mkv':
    Stream #0.0(eng): Video: avc1 / 0x31637661, yuv420p, 1280x720, q=2-31, 23.98 tb(c)
    Stream #0.1(eng): Audio: mp2, 48000 Hz, stereo, 64 kb/s
Stream mapping:
  Stream #0.0 -> #0.0
  Stream #0.1 -> #0.1
Press [q] to stop encoding
frame=  241 fps=  0 q=-1.0 Lsize=   23323kB time=10.0 bitrate=19045.1kbits/s
video:23239kB audio:78kB global headers:0kB muxing overhead 0.024744%

And this file plays on the Dune.

As you can see it has selected mp2 for the audio.

so I started with
file.MOV, 25MB, 18.9 Mbps 23.976 fps AVC, PCM 1,536 Kbps, 48 KHz 16bit

using freemake etc in "lossless" got me:
file.mpeg, 13.8MB, 10.7 Mbps 23.976 fps MPEG Version 2 Main@High 1440 BVOP, MPEG Audio 320 Kbps, 48 KHz

ffmpeg now gets me
file.mkv, 23MB 18.6 Mbps 23.976 fps AVC, MPEG Audio (MP2) 64 Kbps 48 KHz

Here the audio bitrate is lower, by a lot, however i changed my command to
Code:
ffmpeg -i MVI_1143.MOV -vcodec copy -ab 320k a_MVI_1143.mkv

(320 seems to be the highest mp2 will go), and i get a file that is:
file.mkv, 23.6MB 18.6 Mbps 23.976 fps AVC, MPEG Audio (MP2) 320 Kbps 48 KHz

This seems pretty close. Is there any reason I should not settle for MP2, and instead try harder to get mp3 working on my NAS?

Many thanks again for pointing me at what looks to become a fully automated solution!

Dave
post #6 of 8
can you give me some simple pointers as to how you resolved this? Sort of new on conversion talk.

I have mov files that don't play audio through my Dune, how do I convert them without losing the video quality? I am not overly concerned about the audio.
post #7 of 8
I'd use AVIDeMux to convert if I had to. You can select 'copy' for the video and AAC or MP3 for the audio. You can also repack them as MKV or MP4 or whatever else.
post #8 of 8
Thread Starter 
Erm, my post above was in fact how i did it, however it has a few requirements.

This was specific to my Synology NAS, however could be used for any linux based NAS that allows ssh login and installation of packages.

When i had to do this away from my NAS, i installed ffmpeg for windows, and decided to do mp4 instead of mkv (cos adobe premier does not recognise mkv).

you have to do on command line, so the command for me (given where i unpacked ffmeg) is:

C:\Users\dave\Downloads\ffmpeg-20130428-win64-static\bin\ffmpeg -i "video.MOV" -vcodec copy -ab 320k "video.mp4"

I used the static portable version of ffmpeg as i dislike filling up registry etc...

Clearly doing this on command line is boring so i wrote an excel file.

then i do this:

1. open cmd (winkey +r and type cmd), then go to your folder where the file to be converted are (
Code:
cd c:\somepath
)
2. on cmd line do
Code:
dir /B
3. right click to "mark" and highlight the names, the right click to copy to clipboard, and paste into excel col A
4. in col B i put
Code:
=SUBSTITUTE(A1,"MOV","mp4")
and copied all the way down 100 lines or so
5. in col C
Code:
="C:\Users\dave\Downloads\ffmpeg-20130428-win64-static\bin\ffmpeg -i """&A1&""" -vcodec copy -ab 320k """&B1&""""
6. copy col C and paste into command prompt

then i can just delete col A and next time copy and paste in the file names, then copy and paste the commands... makes it really quick.

there's probably a batch program / app out there already, however i didn't find one and this works for me.

the above method is video LOSSLESS, however the audio is reduced do 320 kbs.

Personally i don't care, however it seems a limitation of something....ffmpeg or AAC or MP4, not sure...
You get a file with AAC codec, which is what Canon should have done in the first place, but I think wanted to avoid the licence fee!

Doing it like this is fast and sort of automatic, in that you can dump the files somewhere, copy and paste into excel, copy and paste the convert commands, and done.

the detailed post above was how to do this completely automatically, which is even better ;-)

I am sure someone could write a windows script similar to my linux one that finds all files and processes each... however i don't do it often enough....

Hope that helps!
New Posts  All Forums:Forum Nav:
  Return Home