PDA

View Full Version : Opening of MP4 files.


zafhos
13th December 2004, 21:17
Hi, people.

Sorry for my stupid queston, but is there a way to open MP4 video file in VirtualDubMod or AVS script? Or convert that file to a container that is openable?

Selur
13th December 2004, 22:21
if you got the necessary DirectShow Filter in your system opening eith an avs script should work if you open the file via :
DirectShowSource("path to the .mp4 file")

Cu Selur

zafhos
13th December 2004, 22:40
I'v alreafy tried this, but had "directshowsource can't determine duration of the video"

Selur
14th December 2004, 07:52
Sorry, just tested it doesn't work here too and opening a Graphedit graph also doesn't work
=> No clue :(

Krismen
14th December 2004, 17:43
Zahfos, do you have MP4 splitter installed like 3ivx (http://www.3ivx.com/download/index.html) for example?

You can also convert your MP4 file to AVI using mp4UI (http://mp4ui.sourceforge.net).

Selur
14th December 2004, 21:00
"You can also convert your MP4 file to AVI using mp4UI."
this will only work if your mp4 files contains no mpeg4 avc but an mpeg4 asp stream. :)

btw. I'm pretty sure opening an mp4 file in graphedit did work before I installed newest Nero packs, so disabling the filters and/or uninstalling nero&co might help
=> just checked: after I uninstalled the nero software I was able to open mp4 files with he-aac&mpeg4 asp streams through graphedit again

unreg NDPaser.ax all fixes the problem,...

Cu Selur

neo75903
15th December 2004, 02:28
The long way I do it:
1. extract video from mp4 with mp4box using the -avi option.
2. extract audio using mp4box.
3. transcode aac to mp3 using ffmpeg.
4. Mux mp3 into the avi file with VirtualDubMod.

have fun.

Selur
15th December 2004, 11:03
if I try the mp4boxs -avi option on a .mp4 file containing h.264 I get:
Invalid MPEG-4 stream in track ID 0
Error: BitStream Not Compliant
(using GPAC Framework 0.2.3 2004.12.09.exe )

Cu Selur

bond
15th December 2004, 22:45
if its not an avc video stream, the best would propably be to install 3ivx and use them instead of the nero ones with directshowsource()

moved to container forum, as it is not really a codec issue

zafhos
16th December 2004, 00:20
The file i have problems with is AVC. Created by Nero Recode.

I tried installing 3ivx (couldn't fint a splitter in a pack) but now directshow reports "Class factory cannot supply requested class".. And .mp4 files now plays only in nero showtime. All other players return the same...

Well, i surrender and return to old avi/mpeg4asp combination. The time for AVC has not come yet...

PS: Why DubMod does not working with .mp4 itself? Same licensing problems as with .wmv or it's technicaly imposible?

Selur
17th December 2004, 08:43
might not only be a licensin issue but also an issue of programming power (one would have to write it) and it might also conflict with the mainly vfw based way Virtual Dub (Mod) works,...
Though this is just speculations and if youa re really interested in it you should write a message to the developers. ;)

Cu Selur

stephanV
17th December 2004, 10:11
Coz no developer of VirtualDubMod was interested in it, and VDM itself isnt developed anymore. It would be possible, but it wouldnt really make sense anyway.

SeeMoreDigital
17th December 2004, 11:11
Originally posted by zafhos
The file i have problems with is AVC. Created by Nero Recode. I wish you had pointed this out in the first place!

There are quite a few tools/methods which enable you to extract Mpeg4/SP/ASP streams from the MP4 container. But these same tools/methods can't currently handle Nero's Mpeg4/ASP implementation.

If anybody knows how to de-mux Nero Mpeg4/AVC video streams with GraphEdit, please post a graph?


Cheers

eb
17th December 2004, 13:23
@ SeeMoreDigital,

Please upload sample to my site. Last days I was working very hard on on-fly transcoding from satv mpegs directly to Divx/avi/mpeg-4 /I am not sure about conteiners/, but results are much more than good.
So, I have fresh knowledge in my mind about all problems with GRAPHS.
More detaills I will present in DVBtvsat sections and for now short idea only

Procesor 1950 MHz - SS2 card - SkyView program - ffdshow = .avis on fly

practicly on all channels with original frame size /beside HDTV/ - some samples with .AVI extensions already there, more will be presented latter

FTP://www.eb.enterpol.pl
user name www.eb.enterpol.pl
password eb

By the way these .avi samples with original mp2 audio are easy opened in VirtualDubMod 1.5.4.2 ,audio can be played here and no problem to compress MPEG1 audio to another formats with direct video coping /no problems with synchro/

eb

bond
17th December 2004, 21:49
3ivx doesnt support avc-in-mp4 till now, you will have to experiment with either the moonlight filters or the nero filters

.mp4 is license free, its not supported in vdm because noone developed support for it :D

eb
18th December 2004, 08:55
@ SMD,

samples are already on my page in SMD folder
it was not possible without reencoding


eb

SeeMoreDigital
18th December 2004, 11:07
Originally posted by eb
....samples are already on my page in SMD folder. It was not possible without reencoding Oh well... thanks for having a go!

Has anybody else found a way of being able to de-mux Nero Mpeg4/AVC video streams with GraphEdit?


Cheers

eb
18th December 2004, 18:43
@ SeeMoreDigital,
I will present details , but first of all try to collect all lattest from Nero, then everything is simple, because I am not sure what exactly let me to open your sample. There was so many tests,downloads.

eb

eb
18th December 2004, 23:34
Some eplanations.

Trying to solve SMD sampleproblems I collected all codecs from over the world and poured them to my computer with many radical protests from Bill M$. Finally it was possible to open this sample and remake it. After this I lost many functions in my system so I repaired them again and after this it is not possible to deal with SMD sample again.
What I am sure that in this sample Nero decoder should be used and that audio is AAC. But probably in time when this sample was made system was supported by reclock program /and hence?? troubles with correct audio speedwhen playing back audio correctly.
Back to my computer I can't to play mp2 audio from sattv records /mpeg2/ as it was before in VirtualDubMod 1.5.4.2
Who knows solution for this problem ?

eb

SeeMoreDigital
18th December 2004, 23:58
Hi eb,

Just in case you were not sure.....

The Mpeg4/AVC encode I uploaded to you was generated using the newest version of Nero Recode2 and can be played using Nero ShowTime player and (provided Nero's direct-show filters are correctly installed) any direct-show based software media player!


Cheers