Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
|
|
Thread Tools | Search this Thread | Display Modes |
30th March 2016, 01:55 | #1 | Link |
Registered User
Join Date: Oct 2001
Posts: 52
|
Is it possible to remux wmv3 video stream into mp4 container?
Ok, so let's get back to beating the same beaten horse.
I have a Windows Media .wmv file with wmv3 video stream inside (specs bellow) and want to remux that video stream into mp4 container. Tried lots of different things with ffmpeg 3.0, but with no success. For example with ffmpeg Code:
ffmpeg -i original.wmv -an -vcodec copy out.mp4 Code:
[mp4 @ 03655420] Could not find tag for codec wmv3 in stream #0, codec not currently supported in container Code:
ffmpeg -i original.wmv -an -vcodec copy out.vc1 But... since VC-1 MP/SP is the same as WMV3, is it possible somehow to just change video stream Codec ID from WMV3 to WVC1 (or VC-1)? As I said, tried different things with ffmpeg, read some half decade–decade old posts http://forum.doom9.org/showthread.php?t=160693, http://forum.doom9.org/showthread.php?t=119102, but didn't find definitive answer to this question. Maybe the tooling situation changed over this time? P.S. Never mind if WMA2 audio is not supported in mp4 container, I could just reencode it to aac, but I don't want to touch (reencode) the video stream. Side question, WMA2 audio is definitively not supported in mp4 container? .wmv file specs: Code:
General Complete name : original.wmv Format : Windows Media File size : 518 MiB Duration : 1h 11mn Overall bit rate mode : Constant Overall bit rate : 1 018 Kbps Maximum Overall bit rate : 1 027 Kbps Video ID : 2 Format : VC-1 Format profile : Main Codec ID : WMV3 Codec ID/Info : Windows Media Video 9 Codec ID/Hint : WMV3 Description of the codec : Windows Media Video 9 Duration : 1h 11mn Bit rate mode : Constant Bit rate : 935 Kbps Width : 720 pixels Height : 576 pixels Display aspect ratio : 5:4 Frame rate : 25.000 fps Standard : PAL Color space : YUV Chroma subsampling : 4:2:0 Bit depth : 8 bits Scan type : Progressive Compression mode : Lossy Bits/(Pixel*Frame) : 0.090 Stream size : 476 MiB (92%) 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.1 - 80 kbps, 44 kHz, stereo (A/V) 1-pass CBR Duration : 1h 11mn Bit rate mode : Constant Bit rate : 80.0 Kbps Channel(s) : 2 channels Sampling rate : 44.1 KHz Bit depth : 16 bits Stream size : 40.7 MiB (8%) Last edited by Evaldas; 30th March 2016 at 03:35. |
30th March 2016, 10:42 | #2 | Link | |
Registered User
Join Date: May 2009
Location: Belgium
Posts: 1,744
|
As the codec ID is WMV3 and not WVC1, you can't get a VC1 elementary stream with it.
If it was WVC1, you could use ASF2VC1 to extract the VC1 stream. I'm afraid mp4 does not support wmv3 ; http://forum.doom9.org/showthread.php?t=62723 Quote:
|
|
30th March 2016, 13:48 | #3 | Link | ||||
SuperVirus
Join Date: Jun 2012
Location: Antarctic Japan
Posts: 1,351
|
Quote:
Quote:
Quote:
Quote:
|
||||
30th March 2016, 18:07 | #4 | Link |
Moderator
Join Date: Jan 2006
Location: Portland, OR
Posts: 4,770
|
Wow, some blasts from the past there . I left Microsoft back in Jan 2012.
I don't know if there is any way to remux an arbitrary WMV3 stream to WVC1, as there were syntactical and feature changes implemented. There is a WMA in MP4 packing; that was what was used for early Smooth Streaming, which was WVC1 and WMA in fragmented MPEG-4. Public specs are lying around. And Microsoft's old IIS Transform Manager software can certainly repackage WMA into fMP4. I never tried it with any VC-1 variant other than WVC1. But if that can make a *.ismv from your *.wmv, then MP4 mapping is certainly possible. Maybe then remux from the fMP4 to a standard MP4. Bigger question - why? Anything I can think of that can decode VC-1+WMA bitstreams can certainly demux a WMV file. And probably there are plenty of players that can play a WMV that wouldn't know how to play a MP4 with those codecs. |
30th March 2016, 20:46 | #5 | Link |
Life's clearer in 4K UHD
Join Date: Jun 2003
Location: Notts, UK
Posts: 12,227
|
Hmmm...
I agree with Ben. I wonder why the original poster wants to place WMV3 into the .mp4 container
__________________
| I've been testing hardware media playback devices and software A/V encoders and decoders since 2001 | My Network Layout & A/V Gear |
Last edited by SeeMoreDigital; 30th March 2016 at 20:53. |
20th April 2016, 03:53 | #6 | Link |
Registered User
Join Date: Oct 2001
Posts: 52
|
Sorry for the late reply, but I just wanted to say thank you for your answers. Thank you, I got it, consider this case closed.
As for why, since I need to remux this file anyway to fix wrong display aspect ratio, I thought that maybe VC1 in .mp4 would be a more viable long term storage solution than WMV3 in .wmv would be. |
Tags |
convert, ffmpeg, vc-1, wmv3, wvc1 |
|
|