Hello,
could someone please help me convert to mp4 some files encoded with video codec :wmv3x and audio codec: wma9 .
I have used every software I have for converting them to mp4, but each one finishes the conversion in about 2 seconds and the result file is obviously so small that it doesn't work. Can you please help me for cnoverting them to mp4 ?
I have two files of this type, for which I put the mediainfo information below:
File number 1:
Complete name : F:\mov\2014-07-23 14.17 New Meeting.wmv
Format : Windows Media
File size : 194 MiB
Duration : 1h 0mn
Overall bit rate mode : Variable
Overall bit rate : 450 Kbps
Maximum Overall bit rate : 580 Kbps
Encoded date : UTC 2014-07-23 06:17:33.745
Writing application : 6.3.1 Build 1468 / 㙉䜴呯䵯敥楴杮
BitRateFrom the writer : 446025
Audio samples : 36147
Video samples : 24991
recording time : Wed, 23 Jul 2014 15:55:43 W. Australia Standard Time
Video
ID : 3
Format : G2M4
Codec ID : G2M4
Bit rate mode : Variable
Bit rate : 398 Kbps
Width : 1 920 pixels
Height : 1 080 pixels
Display aspect ratio : 16:9
Frame rate mode : Variable
Nominal frame rate : 29.970 fps
Bit depth : 8 bits
Audio
ID : 1
Format : WMA
Format version : Version 2
Codec ID : 161
Codec ID/Info : Windows Media Audio
Description of the codec : Windows Media Audio 9.2 - 48 kbps, 44 kHz, mono 1-pass CBR
Duration : 1h 0mn
Bit rate mode : Constant
Bit rate : 48.0 Kbps
Channel(s) : 1 channel
Sampling rate : 44.1 KHz
Bit depth : 16 bits
Stream size : 20.7 MiB (11%)
File number 2:
General
Complete name : F:\mov\2014-07-29 16.18 New Meeting.wmv
Format : Windows Media
File size : 167 MiB
Duration : 51mn 42s
Overall bit rate mode : Variable
Overall bit rate : 451 Kbps
Maximum Overall bit rate : 582 Kbps
Encoded date : UTC 2014-07-29 08:18:01.390
Writing application : 6.3.1 Build 1468 / 㙉䜴呯䵯敥楴杮
BitRateFrom the writer : 447525
Audio samples : 31022
Video samples : 22573
recording time : Tue, 29 Jul 2014 17:25:50 W. Australia Standard Time
Video
ID : 3
Format : G2M4
Codec ID : G2M4
Bit rate mode : Variable
Bit rate : 400 Kbps
Width : 1 920 pixels
Height : 1 080 pixels
Display aspect ratio : 16:9
Frame rate mode : Variable
Nominal frame rate : 29.970 fps
Bit depth : 8 bits
Audio
ID : 1
Format : WMA
Format version : Version 2
Codec ID : 161
Codec ID/Info : Windows Media Audio
Description of the codec : Windows Media Audio 9.2 - 48 kbps, 44 kHz, mono 1-pass CBR
Duration : 51mn 42s
Bit rate mode : Constant
Bit rate : 48.0 Kbps
Channel(s) : 1 channel
Sampling rate : 44.1 KHz
Bit depth : 16 bits
Stream size : 17.8 MiB (11%)
Thank you !
+ Reply to Thread
Results 1 to 30 of 49
-
-
G2M4 is not a "flavor" of Windows Media Video.
https://www1.gotomeeting.com/codec?Portal=www.gotomeeting.com
Micro$oft, in their infinite lack of wisdom, unfortunately make many people believe there is no difference between their video codecs (WMV) and their glorified AVI container (ActiveStreaming Format).
-
Yes, I can play it with VLC, but I cannot play it in windows media player classic nor with Smplayer .
@ElHeggunte . You're trying to say that just installing the codec from gotomeeting will solve this ? -
@ElHeggunte I installed the Gotomeeting codec you sent me, but I still cannot convert them to mp4
..
-
I tried to convert with VLC as you said, but the sound was broken. Then I changed some parameters for the sound to be similar with input file parameters and [ut the aac audio codec, but the result had no sound at all
.
Conversion is pretty long, so don't know if it's worth it to also try ffmpeg .. which I understand uses the same libraries .. -
Any "converter" that supports DirectShow or Avisynth inputs should have no problem in dealing with those ASF files...
I could play four G2M4 sample files in both MPlayer and MPC-HC (this latter, through LAV Video).
EDIT:
FFMS2 supports G2M4, and I could open "labor.wmv" in VirtualDub.
Code:LoadCPlugin("F:\AVSplugins\FFMS2\C\ffms2.dll") FFVideoSource("labor.wmv", fpsnum=30000, fpsden=1001)
-
It's also possible that the files you have are broken (muxed incorrectly).
Could you upload them to this forum
VLC is well-known for playing (some) broken files as if they had no problem at all.
Other players and conversion software normally are not that "smart".Last edited by El Heggunte; 13th Oct 2014 at 14:11. Reason: bad keyboard :– /
-
I tried with WinFF (ffmpeg) , but the result only plays on VLC correct. Video doesn't work in other players, just audio.
I have Tencoder that uses Mencoder . I tried with just Mencoder from Tencoder, but it doesn't work( it says it cannot find .h2a4 and .m4a files if I remember correctly).
I tried AV Splitter ( directshow ) but at its settings at input there is no .wmv!
How do I extend Mencoder with the codec pack ?
Or is there some simpler way ? -
How do I extend Mencoder with the codec pack ?
No clue if Tencoder support it, if you post a small sample I can check here if using the codecs helps in you case.users currently on my ignore list: deadrats, Stears555, marcorocchini -
It did not work with remuxing with ffmpeg and then reconverting. The same happened, the g2m codec was still there after remux, so the following conversion lasted again about two seconds and the output file was empty.
I couldn't find binary codecs at : http://mplayerhq.hu/MPlayer/releases/codecs/
I uploaded the second file.
Could someone please tell me what free tool I could use to convert it ?Last edited by correx; 14th Oct 2014 at 15:51.
-
I don't use MeGUI, but if you can convince it to use a hand-made script like this:
Code:LoadPlugin("Path-To\ffms2.dll") video=FFVideoSource("file2.wmv", fpsnum=30000, fpsden=1001).ConvertToYV12(matrix="Rec709") audio=FFAudioSource("file2.wmv") AudioDub(video, audio)
VirtualDub with its external encoder feature is a better option for the ones who don't like things to be simpler than they actually are -
Additional info:
1) according to Graphstudio, the pesky WMV contains *script commands*, which might be confusing the video convertOrs
2) Lord Mulder's wma2wav is unable to decode the audio from the original WMV file, probably because of 1)
Below is a short re-encode (26 seconds, resized to 1280x720). -
I couldn't find binary codecs at : http://mplayerhq.hu/MPlayer/releases/codecs/
Just checked, ffplay can handle the file without a problem -> lavfilter can handle it, so ffmpeg/ffmpegsource/libavsource should all be able to handle the content. (at least the first half)Last edited by Selur; 15th Oct 2014 at 02:06.
users currently on my ignore list: deadrats, Stears555, marcorocchini -
@ El Heggunte : . Yes, the short sample plays well with at least three players: media player classic, smplayer an vlc.
Could you please tell me how it has been done ?
Also, do you know if it would run on an apple computer ? The people I have this from, just told me it should run on apple computer.
Thank you! -
But I already told you
I used VirtualDub + the DivX VfW codec, then remuxed to MP4 with MP4Box.
Also, I re-encoded the audio separately.
But you could do it all in one step through ffmpeg, for example --- and yes, ffmpeg does understand AVS files
For better video compression, just use libx264 instead of Xvid; for audio, you can choose AAC or MP3. -
Ok, the thing is I have't used these tools before, so I'm alittle new at this.
I'll try the method with virtual dub. Is there anything special I should do if I have 64 bit CPU and 64 bit windows 7 ? -
I've installed Komisar's x264VfW codec, but still, virtual dub does not recognise the wmv file. Do I have to specifically tell Virtual Dub to use x264Vfw ?
I also wanted to download the offical x264Vfw codec from : http://sourceforge.net/projects/x264vfw/ but it only downloads a .tmp file , which I don't know what to do with. -
I installed Divx Pro 6.8.0 Vfw , and also found the External Encoder option menu in VirtualDub, but as I understand I need the vdprof file to import. Could someone provide this file please ?
-
@ El Heggunte : I also tried to use ffmpeg as an external encoder for virtual dub, using this : https://encodingtalk.com/threads/virtualdub-save-direct-to-mp4-fraps-to-youtube-with-e...e-2#post-13731 , but still VirtualDub doesn't recognise the wmv file.
Also, as I was saying above, the remux with ffmpeg did not work, so are you sure using ffmpeg is a good idea ? -
Did a quick vfr m4v, not sure if quicktime on mac supports it. (works fine on Quicktime on Windows)
Cu Selur
Ps.: @admins: how about allowing m4v as extension for attachments?
---
Update: checked, works fine on Quicktime with OS X Mavericks
Also at least here mencoder has no problem decoding the wmv.Last edited by Selur; 15th Oct 2014 at 09:47.
users currently on my ignore list: deadrats, Stears555, marcorocchini -
@Selur : Ok seems like it works with several players, could you tell me what tool you used ?
Also, do you know what I could use to make it mp4 ?
Thank you! -
@correx:
a. it's an mp4, the extension is just changed to .m4v, since iTunes and some other tools on Mac otherwise won't support it properly.
b. used a modified version of Hybrid. The currently publicly available version (2014.10.13.1) of Hybrid can't handle vfr wmv properly, since it's lacking time code extraction through ffmpeg.
Cu Selurusers currently on my ignore list: deadrats, Stears555, marcorocchini -
It's not publicly available atm., it's a development build I made. (I'm the author of Hybrid
)
If you tell me the OS you use I can send you a development build of Hybrid. (you would still need to install Hybrid normally and replace the Hybrid.exe with the new binary)
With that version I did the following:- Start Hybrid
- Set default input/output/temp path under Config->Path
- Save the defaults Config->Defaults->Save All + Save selected
- Enabled iTunes compatibility for mp4 output (Config->Output->Container Settings->Mp4 Settings->iTunes compatibility)
- loaded the source
- configured x264:
- selected "x264->Main->General Settings->Encoding mode->Constant rate factor (1-pass)"
- set "x264->Main->General Settings->Quantizer factor" to 22
- set "x264->Main->Restrictions Settings->Preset" to 'slow' and applied it ('Apply'-button next to the selection)
- set "x264->Main->Restrictions Settings->Tune" to 'stillimage' and applied it ('Apply'-button next to the selection)
- configured the audio:
- enabled audio by setting "Main->Handling->Audio handling" to "custom"
- enabled audio reencoding "Audio->Main->Reencode"
- since aac is the default output codec I only need to adjust it's bit rate to 48kBit/s (Audio->Main->Audio Encoding Options->Bitrate kbit/s)" to 48)
- added the current audio configuration to the Audio Queue by pressing the 'Add current'-button (on the right side or the Audio Queue)
- Configured the output name, by simply enabling Main->Generate
- Added the job to the job queue and started the job by pressing Main->Start Queue. Alternatively one could first add a job to the job queue and then start the job queue later.
Cu Selur
Ps.: there are tons of additional options and tweaks that could be applied, but since you are clearly not that used to video encoding, the settings above should provide a good basis.Last edited by Selur; 15th Oct 2014 at 11:18.
users currently on my ignore list: deadrats, Stears555, marcorocchini -
Thank you very much for all the info!
My OS is windows 7 , 64 bit. Could you please send the development version ?
Thank you again! -
I found hybrid ( http://www.majorgeeks.com/files/details/hybrid.html ) . As I understood, I would only have to replace Hybrid.exe, so if that's the case then you could probably only send me the modified Hybrid.exe. Just thought it would be easier.
Last edited by correx; 15th Oct 2014 at 11:16. Reason: typo