PDA

View Full Version : hdv2 format


Razorholt
10th October 2008, 05:00
Hello there-

I'm trying to compress a MOV HD file using avisynth but It doesn't show the video. The format is hdv2.

Load_Stdcall_plugin("C:\Program Files\AviSynth 2.5\plugins\yadif\yadif.dll")
QTinput("D:\Ep107-HDV 1080i60.mov",quality=100).converttoYuy2()
Yadif()

The video doesn't play in regukar Quicktime player but plays in SMPlayer. Am I missing a component or something?

I also tried with QTReader() but with no avail.


Thanks.
- Dan

Razorholt
10th October 2008, 05:04
Video details:

Format : MPEG-4
Format profile : QuickTime
Codec ID : qt
File size : 5.56 GiB
Duration : 29mn 59s
Overall bit rate : 26.5 Mbps


Video
Format : hdv2
Codec ID : hdv2
Duration : 29mn 59s
Bit rate mode : Variable
Bit rate : 25.0 Mbps
Width : 1 440 pixels
Height : 1 080 pixels
Display aspect ratio : 4/3
Frame rate mode : Constant
Frame rate : 29.970 fps
Bits/(Pixel*Frame) : 0.536
Stream size : 5.24 GiB (94%)


Audio
Format : PCM
Format settings, Endianness : Big
Format settings, Sign : Signed
Codec ID : twos
Duration : 29mn 59s
Bit rate mode : Constant
Bit rate : 1 536 Kbps
Channel(s) : 2 channels
Sampling rate : 48.0 KHz
Resolution : 16 bits
Stream size : 330 MiB (6%)

Blue_MiSfit
10th October 2008, 05:28
QuickTime on Windows requires the MPEG-2 component, and I've never gotten it to work correctly.

Here's how I work with bizarre HDV QuickTime MOVs in AviSynth -


mp4box -raw 1 file.mov


This strips the video stream into a ".hdv2" file, which is just an MPEG-2 Elementary Stream that can be safely renamed to .M2V. Then I can load this into DGIndex, and process normally :)

~MiSfit

Razorholt
10th October 2008, 07:19
YES! :) Thanks a lot !!

Razorholt
10th October 2008, 16:47
Quick question: I also extracted the audio and ended up with a .TWOS file. How do you take care of that one? None of my sofware is able to understand it.

Thanks,
- Dan

smok3
10th October 2008, 17:04
ffmpegsource might just work as well.

edit, about twos
http://wiki.multimedia.cx/index.php?title=TWOS#Apple_QuickTime_Identifiers

Smetvid
10th October 2008, 19:01
I tried this with a quicktime file and I got a .xd5b file format. I tried renaming it to .m2v .mpg and .mxf with no luck at all.

This is a 100 mbit 4:2:2 color mpeg2 file from an up coming video device. The device uses a regular mpeg2 encoder but wraps in into a quicktime format.

Blue_MiSfit
10th October 2008, 21:07
@Razorholt - rename to WAV and treat as such :)

@Smetvid - that's odd. XD5B looks like XDCAM, which should be fine if renamed to M2V and loaded into DGIndex. What happens when you feed DGIndex the file?

~MISfit

Smetvid
10th October 2008, 21:42
Wow! that actually worked. Thanks a lot. Now the only problem is figuring out how to bypass needing to encode the file to a new PC friendly format to use in a NLE. It would be nice to just change the raw stream without encoding but at least now I have an option without going out and buying a Final Cut Pro machine just to convert video files.

Anybody else know of a tool to just turn the raw video stream into a proper m2v file without encoding?

Blue_MiSfit
10th October 2008, 23:31
???

You did just turn the raw video stream into an M2V file. There was no encoding happening here, you're literally demuxing the MPEG-2 video from the MOV container into an elementary stream.

What exactly is your goal?

~MiSfit

Smetvid
11th October 2008, 05:47
Nevermind. I only did a save to d2v file and not the save to d2v and demux. Now I get the d2v index file to use in avisynth and I also get a m2v file to use in my nle. Thanks a lot for the help.

Blue_MiSfit
11th October 2008, 07:31
No problem! Enjoy..

~miSfit

Razorholt
11th October 2008, 08:00
Thanks Blue_MiSfit! Problem solved for me too :)

@smok3: ffmpegsource looks interesting, I will try it tomorrow. Thanks!