HDV6 is Mac only. HELP!

If you have questions about compression/encoding/converting look here.
User avatar
Songbird21
Joined: Tue Jun 18, 2002 5:00 pm
Status: Single
Location: CT, USA
Org Profile

HDV6 is Mac only. HELP!

Post by Songbird21 » Thu Jan 05, 2012 2:35 pm

I just got a job as a wedding video editor. The only problem is half the files are in a Mac propritary format called HDV6. Are there any programs out there that can convert this into a windows friendly format? If I don't convert these files I'll lose my job. Please help!
Best editing Connecticon 2013: Bravery

Switchplate City- Custom lightswitch covers (Some anime related) and more!

"Bloodline of Atlantis: The Triple Psi" - My fantasy novel (Only $1.99 It's an Ebook).

User avatar
CodeZTM
Spin Me Round
Joined: Fri Mar 03, 2006 6:13 pm
Status: Flapping Lips
Location: Arkansas
Contact:
Org Profile

Re: HDV6 is Mac only. HELP!

Post by CodeZTM » Thu Jan 05, 2012 2:58 pm

Usually, when pressed with an odd format, I usually always just throw it to Handbrake or MediaCoder as a last resort.

User avatar
LantisEscudo
Joined: Thu Mar 08, 2001 5:21 pm
Location: Eastern Massachusetts
Contact:
Org Profile

Re: HDV6 is Mac only. HELP!

Post by LantisEscudo » Thu Jan 05, 2012 11:14 pm

It looks like ffmpeg supports transcoding HDV6. I usually use the command-line version, which you can grab here.

The command line I'd use would be

Code: Select all

ffmpeg.exe -i <file to convert> -vcodec huffyuv -acodec pcm_s16le output.avi
That should give you a HuffYUV AVI with WAV audio.

User avatar
Songbird21
Joined: Tue Jun 18, 2002 5:00 pm
Status: Single
Location: CT, USA
Org Profile

Re: HDV6 is Mac only. HELP!

Post by Songbird21 » Fri Jan 06, 2012 3:05 am

LantisEscudo wrote:It looks like ffmpeg supports transcoding HDV6. I usually use the command-line version, which you can grab here.

The command line I'd use would be

Code: Select all

ffmpeg.exe -i <file to convert> -vcodec huffyuv -acodec pcm_s16le output.avi
That should give you a HuffYUV AVI with WAV audio.
Is that an AVISynth script?
Best editing Connecticon 2013: Bravery

Switchplate City- Custom lightswitch covers (Some anime related) and more!

"Bloodline of Atlantis: The Triple Psi" - My fantasy novel (Only $1.99 It's an Ebook).

User avatar
NeoQuixotic
Master Procrastinator
Joined: Tue May 01, 2001 7:30 pm
Status: Lurking in the Ether
Location: Minnesota
Contact:
Org Profile

Re: HDV6 is Mac only. HELP!

Post by NeoQuixotic » Fri Jan 06, 2012 5:30 am

It's a command line argument for ffmpeg. You create a .bat file with those commands in them and run the .bat file. I tested it with a hdv8 MOV clip I had and it worked great. (hdv8 is 1080p30, while hdv6 is 1080p24 I believe, either way it should work.) There is an issue with the way it handles audio steams though, more on this later.

There is an easy way to make HDV .mov files play nicely in Windows. It's called Calibrated{Q} XD Decode, but it costs $150. You can download a trial with a watermark to ensure it works. If you can't afford it, then read on. Now everything past here is from my own experimenting the past few hours. If the information is incorrect someone please correct me. I sure hope there is a better way than what I've found so far.

I found that converting it to a large loss-less file seemed unnecessary. But if using loss-less you could save space by resizing it to 720p with:

Code: Select all

ffmpeg.exe -i <file to convert> -vcodec huffyuv -s hd720 -acodec pcm_s16le output.avi
Of course this depends on the end result needed from who you are working for. If it is just intended for DVD, resizing to 720p or even 480p is fine. However, if they want to make a Blu-ray or HD web encode, they probably want it edited in it's native 1080p (actually 1440x1080) resolution.

You could also save space by just remuxing the MPEG-2 HDV stream into a different container.

Code: Select all

ffmpeg.exe -i <file to convert> -vcodec copy -an output.m2t
This remuxes it from MOV to an M2T with no audio (there is a reason for this.)

However, it only grabs 1 audio steam by default and can't mix mono streams into stereo. My clip has 2 audio channels, but in 2 separate mono streams. So if you have stereo audio in 2 mono streams that you need to use it gets a bit more complicated. There is a variant of ffmpeg called ffmbc (FFMedia Broadcast). Windows builds can be found here. It has the ability to map and mix audio channels. I ended up using this command:

Code: Select all

ffmbc -i <file to convert> -map_audio_channel 0:1:0:0:1:0 -map_audio_channel 0:2:0:0:1:1 -vcodec copy -acodec mp2 -ab 384k HDV.m2t
Now this compresses the audio to what is technically compliant for a HDV file to contain. Also because ffmpeg/ffmbc won't mux MPEG-2 and PCM in a M2T.

Ideally I would like to keep the audio untouched. The audio was already compressed on the HDV tape and converted to PCM when imported on the Mac. So there is no need to re-compress it. You can export the audio separately as a wav with this:

Code: Select all

ffmbc -i <file to convert> -map_audio_channel 0:1:0:0:0:0 -map_audio_channel 0:2:0:0:0:1 -acodec pcm_s16le output.wav
This way you import the video as M2T and the audio as WAV and pair/group them in your editor. Or you can mux them together into something technically not compliant, but it seems to work in Vegas and Premiere.

Since ffmpeg/ffmbc does not want to mux MPEG-2 and PCM we will use something that will do it. A program called tsMuxeR is able to do the job. First we need to make an elementary MPEG-2 stream and the WAV file.

Code: Select all

ffmbc -i <file to convert> -vcodec copy -an video.m2v
ffmbc -i <file to convert> -map_audio_channel 0:1:0:0:0:0 -map_audio_channel 0:2:0:0:0:1 -acodec pcm_s16le audio.wav
Open up tsMuxeR GUI and add the two streams and select M2TS muxing. Once muxed it should play nice with Vegas and Premiere (not sure about other NLEs/media players.)

Once again I'm sure this is not the optimal way of doing it, but it's what I found so far searching around.
Insert clever text/image here.

User avatar
mirkosp
The Absolute Mudman
Joined: Mon Apr 24, 2006 6:24 am
Status: (」・ワ・)」(⊃・ワ・)⊃
Location: Gallarate (VA), Italy
Contact:
Org Profile

Re: HDV6 is Mac only. HELP!

Post by mirkosp » Fri Jan 06, 2012 5:42 am

That's great NeoQuixotic, but I think Songbird needs help with OS X, so I fear all your effort was in vain... >_>;
Image

User avatar
BasharOfTheAges
Just zis guy, you know?
Joined: Tue Sep 14, 2004 11:32 pm
Status: Breathing
Location: Merrimack, NH
Org Profile

Re: HDV6 is Mac only. HELP!

Post by BasharOfTheAges » Fri Jan 06, 2012 10:23 am

mirkosp wrote:That's great NeoQuixotic, but I think Songbird needs help with OS X, so I fear all your effort was in vain.. >_>;
No, she's a Windows user that was given a Mac proprietary file type to work with. Re-read the 1st post.
Anime Boston Fan Creations Coordinator (2019-2023)
Anime Boston Fan Creations Staff (2016-2018)
Another Anime Convention AMV Contest Coordinator 2008-2016
| | |

User avatar
mirkosp
The Absolute Mudman
Joined: Mon Apr 24, 2006 6:24 am
Status: (」・ワ・)」(⊃・ワ・)⊃
Location: Gallarate (VA), Italy
Contact:
Org Profile

Re: HDV6 is Mac only. HELP!

Post by mirkosp » Fri Jan 06, 2012 10:29 am

BasharOfTheAges wrote:
mirkosp wrote:That's great NeoQuixotic, but I think Songbird needs help with OS X, so I fear all your effort was in vain.. >_>;
No, she's a Windows user that was given a Mac proprietary file type to work with. Re-read the 1st post.
Gah, my fault. Sorry. Should have known better than that.
Image

User avatar
Songbird21
Joined: Tue Jun 18, 2002 5:00 pm
Status: Single
Location: CT, USA
Org Profile

Re: HDV6 is Mac only. HELP!

Post by Songbird21 » Fri Jan 06, 2012 1:18 pm

NeoQuixotic wrote:It's a command line argument for ffmpeg. You create a .bat file with those commands in them and run the .bat file. I tested it with a hdv8 MOV clip I had and it worked great. (hdv8 is 1080p30, while hdv6 is 1080p24 I believe, either way it should work.) There is an issue with the way it handles audio steams though, more on this later.
I'm very confused. I went to the ffmpeg site but all the download links I can get to work have multiple files that I can only assume I would hafta combine somehow. Isn't there a complete file you can just download and install? I am very greatful for the help by the way.

User avatar
BasharOfTheAges
Just zis guy, you know?
Joined: Tue Sep 14, 2004 11:32 pm
Status: Breathing
Location: Merrimack, NH
Org Profile

Re: HDV6 is Mac only. HELP!

Post by BasharOfTheAges » Fri Jan 06, 2012 2:12 pm

Songbird21 wrote:
NeoQuixotic wrote:It's a command line argument for ffmpeg. You create a .bat file with those commands in them and run the .bat file. I tested it with a hdv8 MOV clip I had and it worked great. (hdv8 is 1080p30, while hdv6 is 1080p24 I believe, either way it should work.) There is an issue with the way it handles audio steams though, more on this later.
I'm very confused. I went to the ffmpeg site but all the download links I can get to work have multiple files that I can only assume I would hafta combine somehow. Isn't there a complete file you can just download and install? I am very greatful for the help by the way.
It doesn't have a GUI. It's a command line executable. Remember back to the days of DOS?
Anime Boston Fan Creations Coordinator (2019-2023)
Anime Boston Fan Creations Staff (2016-2018)
Another Anime Convention AMV Contest Coordinator 2008-2016
| | |

Locked

Return to “Conversion / Encoding Help”