View Full Version : FFdshow, H264, AVI
movmasty
1st November 2010, 06:02
Why if i convert a h264-mp4 video into avi,
FFdshow is not able to read it into apps like mpc o Vdub
while VLC does :confused:
And, there is something i can do to play avi converted h264 in mpc and Vdub?
nm
1st November 2010, 10:40
Why if i convert a h264-mp4 video into avi,
FFdshow is not able to read it into apps like mpc o Vdub
Maybe your AVI splitter doesn't support H.264 video. The problem is not in ffdshow.
while VLC does :confused:
VLC has integrated demuxers (and everything else too).
But why do you want to convert the perfectly fine MP4 file to AVI in the first place?
movmasty
1st November 2010, 11:16
Maybe your AVI splitter doesn't support H.264 video. The problem is not in ffdshow.And what have to do?
just installed haali, but to tell the truth i didnt enable the avi format,
and dont see how to enable in the options, ill try to reinstall*
*i just did but still cant see the video
VLC has integrated demuxers (and everything else too).I knew this, also Avidemux plays those files,
so i'd like to have them in mpc and Vdub too.
But why do you want to convert the perfectly fine MP4 file to AVI in the first place?
This is my business dont you think?
nm
1st November 2010, 11:58
And what have to do?
just installed haali, but to tell the truth i didnt enable the avi format,
and dont see how to enable in the options, ill try to reinstall*
*i just did but still cant see the video
I'm not very familiar with the OS and the tools that you are using, but did you try with MPC too and not only VirtualDub?
Are you using DShowInputDriver with VirtualDub?
But why do you want to convert the perfectly fine MP4 file to AVI in the first place?
This is my business dont you think?
Sure, if you want to keep it that way.
It's often helpful to find out what people are actually trying to accomplish when they do silly things. There might be alternative solutions that you haven't thought of.
nurbs
1st November 2010, 12:03
Of course it's your business, but you shouldn't be surprised that people are curious why you want to do something that usually makes no sense.
Anyway if it doesn't work report it as a bug to the developers of said software. Maybe they will fix it or can suggest a workaround. I'd be willing to bet that they'll ask why you want to do that, so you better have a convincing answer ready for them.
edit: It seems like today whenever I post someone else is five minutes faster :)
movmasty
1st November 2010, 12:15
I'm not very familiar with the OS and the tools that you are using, but did you try with MPC too and not only VirtualDub?
Are you using DShowInputDriver with VirtualDub?
Sure i used mpc, mainly i need to play there, but id like to play everywhere,
VLC and avidemux do, so i think is possible.
Sure, if you want to keep it that way.
It's often helpful to find out what people are actually trying to accomplish when they do silly things. There might be alternative solutions that you haven't thought of.Its just an option that could be useful in some circumstance,
actually i was testing some converting tool and the output could not be played with apps that use ffdshow,
and i wish just to remove this.
Since mpc doesnt play h264 at all w/o ff,
ill try to install the DivX H.264 Decoder,
still i think that ff should play h264 in avis
so this is like a bugreport too
nurbs
1st November 2010, 12:34
Since mpc doesnt play h264 at all w/o ff
Wait a second, are you using the old MPC version by gabest that hasn't been in development for more than three years? The current project, MPC-HC (http://mpc-hc.sourceforge.net/), can play H.264 without any additional software. It also supports hardware accelerated decoding if your GPU has that feature.
By the way if you want to report a bug for ffdshow you should do that here (http://sourceforge.net/tracker/?group_id=173941). As nm said it's more likely the problem is with the splitter. Plus since your software actually spits out H.264 in avi, which isn't exactly something a good video encoding software should do by default, it might be a problem that has to do with how the file was created.
movmasty
1st November 2010, 13:56
Wait a second, are you using the old MPC version by gabest that hasn't been in development for more than three years? The current project, MPC-HC (http://mpc-hc.sourceforge.net/), can play H.264 without any additional software. It also supports hardware accelerated decoding if your GPU has that feature.
By the way if you want to report a bug for ffdshow you should do that here (http://sourceforge.net/tracker/?group_id=173941). As nm said it's more likely the problem is with the splitter. Plus since your software actually spits out H.264 in avi, which isn't exactly something a good video encoding software should do by default, it might be a problem that has to do with how the file was created.
Im using both the mpc, and still i cant get these avis to play,
with internal splitter or haali, with DivX H.264 Decoder or ffdshow.
And has not to do with how the file was created
since apps with internal filters, VLC, avidemux, plays them
I just think that if the files play in those apps, should be possible to get them play in mpc too.
I dont want really to convert mp4 in avi, just to have the possibility to do,
maybe i could get from the net some file encoded in this way or so.
Then the correct question is why mpc cant play files that other apps do???
movmasty
1st November 2010, 14:19
Then the correct question is why mpc cant play files that other apps do???
Also, if i reencode only the audio, and make an mp4 file with mp3 audio,
mpc plays the video buth not the audio,
VLC plays both
Sharktooth
1st November 2010, 14:45
the answer is simple. AVI was not meant to contain Mpeg-4 video streams.
hacks needed to store those streams into AVI may lead to playback problems, expecially for AVC in AVI.
OTOH update to a MPC-HC recent build (get it from xvidvideo.ru)
movmasty
1st November 2010, 19:53
the answer is simple. AVI was not meant to contain Mpeg-4 video streams.
hacks needed to store those streams into AVI may lead to playback problems, expecially for AVC in AVI.
We all know this, BTFI(but the fact is) that the video is there,
vaious apps play it,
but not the general players that relief on external filters,
like mpc or windows media pl.
Also B frames is an hack, also packet bitstream.
OTOH update to a MPC-HC recent build (get it from xvidvideo.ru)I just got today the last build,
but the internal decoder of vlc works,
the one of mpc-ht does not
Midzuki
2nd November 2010, 06:20
Why if i convert a h264-mp4 video into avi,
FFdshow is not able to read it into apps like mpc o Vdub
while VLC does :confused:
And, there is something i can do to play avi converted h264 in mpc and Vdub?
HOW did you do such conversion?
Did you re-encode, or you just re-muxed ?
And what is the application you have used for the task ???
FWIW, it's not impossible that you have produced incorrectly-muxed .AVIs, which will not be accepted by the VfW /DirectShow AVI splitters.
movmasty
2nd November 2010, 10:48
HOW did you do such conversion?
Did you re-encode, or you just re-muxed ?
And what is the application you have used for the task ???just remuxed, if i reencoded i would use a more compatible format,
im playing with various apps like Pazera-mp4toavi, Yamb, Mp4Cam2AVI, MP4Box ecc
FWIW, it's not impossible that you have produced incorrectly-muxed .AVIs, which will not be accepted by the VfW /DirectShow AVI splitters.Maybe, ill try to demux before and work with elementary streams,
but the fact is that these vids are played by VLC and avidemux.
btw, i tryed also the CoreAVC decoder, stil dont work,
so the problem is not with ffdshow,
maybe media player(classic and windows) and Vdub request a more accurate demux-mux.
EG. i got a mp4-aac that seeks very slowly in mpc,
since the audio is 160kbs, and it isnt a music file,
i could convert the audio in mp3 56kbs,
and mux to avi container to see if still seeks slowly.
since is a huge file im trying before with little clips on my actual slov pc.
yetanotherid
2nd November 2010, 22:47
I routinely use MKVCleaver to extract h264 video from MKV files and get it to convert it to AVI. MPC-HC plays the AVIs fine although it doesn't always display the video unless you start play from the beginning of the file.
In case anyone wonders... I only do it so I can use AutoGK to convert the video to XviD. Once it's done, the h264 AVIs get deleted.
Midzuki
3rd November 2010, 02:28
Maybe, ill try to demux before and work with elementary streams,
but the fact is that these vids are played by VLC and avidemux.
The fact is, VLC and Avidemux do support non-compliant/b0rked .AVI files. :)
I still have to find some free time for testing the .AVI-muxing capabilities of the most recent revisions of Mencoder. For the time being, I keep recommending avc2avi and AVI-Mux GUI only.
vBulletin® v3.8.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.