PDA

View Full Version : Need help with a h264 hdtv sample...


colargol7
27th June 2006, 16:27
Hello,

I have recorded hdtv videos from french TV, but I have difficulties to manipulate them.
The codec used is h264 and the format 1440 * 1080 (with 16/9 ratio)

I would like to edit this videos with virtualdubmod but I don't manage...
I can only read them via h264 codec from mainconcept and Media player classic.
(but I've just read this codec is not appropriate for VDM because it isn't a VFW codec)


My goals are :
- to make snapshots directly from my captures with virtualdub (or another tool)
- to cut sample without reencoding

Can someone tell me the solution(s) to do this please...


---------

Here is a program stream sample :
(12.06 Mb)
http://www.yousendit.com/transfer.php?action=download&ufid=290C1A4F5764CD0E
(OR here (http://www.partage-facile.com/16755-HDTV_h264_sample.mpg.html) OR here (http://rapidshare.de/files/22963168/HDTV_h264_sample.mpg.html) if the first link is down)




Thank you in advance!!!!!!!!
(and sorry for my very bad english)

Daodan
27th June 2006, 17:04
For screenshots, as long as you can play it you can open it in VDM using "open as directshow". As for cutting VDM can't be used for sure. I suggest for that some mpg splitter if it works in this case (I have no idea, but I rather think not), or remuxing it in mkv for example and cutting there. There have been some talks around here how you can remux. I found that for me the simplest is to use graphedit together with mkvmuxer and filewriter (I managed to remux in mkv a BBC MBAFF football sample so I see no reason why it shouldn't work in your case)(just connect the 2 output from demuxer, in my case latest Haali to the Haali muxer and after that to filewriter and hit play). Good luck.

colargol7
27th June 2006, 17:18
For screenshots, as long as you can play it you can open it in VDM using "open as directshow".
great, it works fine!
thank you! ;)

I will try to cut now, but it doesn't seem to be easy...

bond
27th June 2006, 20:10
try remuxing to mp4 and cutting with yamb/mp4box. alternatively also cutting with avidemux (also with mp4) might work

Golgot13
27th June 2006, 22:13
I record too the H264 HD from french DVB-T channel ("Test HD1" or "Test HD2").
But I can not remux in mp4 container with Yamb.
In first time, I thought it is because I have some "jerk" on my *.TS stream record
(I have 57% strengh and 100% quality but sometime the signal down,
I am very far from Eiffel tower transmitter). But I have lot of small
file without "jerk" and it can not remux with Yamb...

I can demux and remux with professional tool. And all record file
can not play with VLC (VLC for FreeHD version to play mbaff) or
with NeroShowtime (2.x or 3.0).
It play fine with last PowerDVD.


I think because it is because the first frame is not I frame.
And I don't know software tool to cut the record stream at first I frame to test my assumption.


Golgot13
HD DVD membership

emmel
27th June 2006, 22:35
You could try mp4creator, it usually works independetly of the first element of the stream.

SeeMoreDigital
27th June 2006, 23:12
try remuxing to mp4 and cutting with yamb/mp4box. alternatively also cutting with avidemux (also with mp4) might workSadly, not even the latest build of YAMB and MP4Box compile can open colargol7's "HDTV_h264_sample.mpg"....

That said, I cant even play it in MediaPlayer Classic with Haali and CoreAVC :scared:

emmel
28th June 2006, 07:58
This good old recepy works always with ts-files, as well as with the above sample:

> mplayer -dumpvideo -dumpfile sample.264 HDTV_h264_sample.mpg
> mp4creator -create=sample.264 -rate=25 sample.mp4

It produces a conforming mp4-file that can eventually be edited with MP4box. Heres the result:

http://rapidshare.de/files/24335660/HDTV.mp4.html

mp4creator is a part of mpegiptools, and available e.g. from KurtNoise's nice pages: http://kurtnoise.free.fr/mp4tools/

Bye.

CruNcher
28th June 2006, 08:51
That said, I cant even play it in MediaPlayer Classic with Haali and CoreAVC :scared:

Haalis Splitter can only open Transport Streams for now this is a Programm Stream Elecards Demultiplexer opens it nicely but then also only with the Mainconcept AVC Decoder (wich is still slow) :(

BTW that's High Profile ??? was this coming over DVB-S2 ?, seems they updated to Tandbergs High Profile wonder how much Channels else did this :)

SeeMoreDigital
28th June 2006, 09:27
Haalis Splitter can only open Transport Streams for now this is a Programm Stream Elecards Demultiplexer opens it nicely but then also only with the Mainconcept AVC Decoder (wich is still slow) :(Thanks... I can see it now!

Desparate Housewives via M6HD

Does the anamorphic signalling work for you?

SeeMoreDigital
28th June 2006, 10:33
It produces a conforming mp4-file that can eventually be edited with MP4box. Heres the result:

http://rapidshare.de/files/24335660/HDTV.mp4.html

Any possibility of uploading the MP4 to a different free hosting service? Not all of us can access RapidShare :(

Daodan
28th June 2006, 10:41
I also tried remuxing with my method but it strangely failed. The sample surely has a problem since if I force Haali splitter onto it it gives an EBML error which usually means a corrupt. And the Haali muxer doesn't want to connect to the elecard demultiplexer at all. Elecard was indeed the only one that I managed to get it playing (of course with unmatched speed :). Maybe a future version of Haali will resolve these problems since the others can manage it...
EDIT: I agree with SMD, rapidshare doesn't work for me either..

emmel
28th June 2006, 10:58
Any possibility of uploading the MP4 to a different free hosting service? Not all of us can access RapidShare :(

Ok, sorry, didn't know of that. Is this ok?
http://www.mytempdir.com/769961

CruNcher
28th June 2006, 13:50
Thanks... I can see it now!

Desparate Housewives via M6HD

Does the anamorphic signalling work for you?

nope it doesn't work have to set it manualy

with the HDTV.mp4 signaling works but CoreAVC shows a problem (when software deinterlacing is on) at the bottom it isnt their with Cyberlinks Decoder even when deinterlacing is enabled

Amd 64 Venice 3000+ 1.8 GHz results (VMR9)

CoreAVC (deinterlacing disabled)
User: 10s, kernel: 0s, total: 10s, real: 12s, fps: 23.9, dfps: 20.5

Cyberlink (PowerDVD) soft (deinterlacing disabled)
User: 13s, kernel: 0s, total: 14s, real: 17s, fps: 17.9, dfps: 14.2

Cyberlink (PowerDVD) DXVA (deinterlacing disabled)
User: 6s, kernel: 0s, total: 6s, real: 8s, fps: 37.2, dfps: 29.8

But somehow CyberlLinks Decoder doesn't like my "HD Balanced" High Profile settings non of my Encodes works correctly but any other Decoder includeing CoreAVCs shows my Encodes correctly see also http://forum.doom9.org/showpost.php?p=845291&postcount=1590 for this issue with my Profile Based Encodeings (but anyway as those are not released yet im gona find the problem)

SeeMoreDigital
28th June 2006, 14:03
nope it doesn't work have to set it manualyThankfully the aspect ratio signalling "is" within the video stream.... becuase emmel's MP4 sample includes it ;)

colargol7
28th June 2006, 23:07
Thanks you very much for yours replies!!!!

I tried to convert in mp4 with mplayer + mp4creator, like emmel have suggested,
It works! but it's a bit complicated and not appropriate for 7 Gb files (but it works!)
Then, I can edit with MP4box.

Doing the conversion in one step would be great but I have no idea how I could do this (which software? the ones I have tested don't read my mpeg file)

I'll try Daodan's solution but I'm not sure I have understood...

bye

Golgot13
29th June 2006, 02:26
What is exactly the resolution picture ??
I record most of games, matchs, of WorldCup2006 and
when I play it on mediaplayer (with CoreAVC or Elecard
or Cyberlink filters) the resolution is 1440x1080.

But like video from Emmel, my video is in 1440x1080 in MP4 container ????

I think this file will be better than Desparate Housewives.

I upload 2 versions : in MP4 without audio and in MPEG2 TS with AC3 audio.

http://rapidshare.de/files/24419548/ZIZOU.mp4.html

http://rapidshare.de/files/24419896/ZIZOU.ts.html


I don't understand with VLC (with mbaff patch) don't want to play it
(it's block after the 2 first frames)


It search to have some record file from BBC HD and others (like ART World Cup)
to see the difference on H264 video stream.
I heard the bitrate is 18Mbps for BBC HD for H264, it is true ?




Golgot13

Eeknay
29th June 2006, 07:59
Yes, BBC HD is very high. It's up there at around 19-20Mbit/s (roughly). They'll probably drop it later on in the trial just to test the encoders (also there was a reference to BBC HD2 on the ITV mux, so maybe they'll split the bandwidth between two channels).

The actual resolution of your files is 1440x1080 (BBC et al as well). It's resized automatically upon playback to 16:9 (unless I'm not understanding what you're asking).

Golgot13
29th June 2006, 08:21
Y
The actual resolution of your files is 1440x1080 (BBC et al as well). It's resized automatically upon playback to 16:9 (unless I'm not understanding what you're asking).


Are you sure for 1440x1080 resolution?
Because in France (DVB-T and DVB-S with Luxe HD tv on HotBird)
the video is 1440x1088.
There is a resize flag with 16:9 resolution (SAR).

Somebody can upload a video from BBC HD (DVBS at 19-20Mbps)
and BBC2 HD (from DVBT), thank you.

Golgot13