Is there a demux that generates .m4v instead of .h264 file? There are muxer that can do the reverse but they don't demux back to m4v.
Thanks
+ Reply to Thread
Results 1 to 21 of 21
-
-
I'd probably do it the "long way" using the tools I already have installed.
MTS to MKV using MKVMergeGUI, then MKV to MP4 using My MP4Box GUI. -
Why do you need m4v? Encore will accept h264 or 264 elementary stream. Or just rename the extension
But if the original video wasn't blu-ray compliant to begin with (and processing in videoredo won't change that), encore should re-encode it -
Encore complains about the H264 file that VideoRedo demuxed (about encoder/codec). If I rename it to .m4v, it hangs.
I used My MP4Box GUI since I am not good at command lines.
The result .264 file can be imported into Encore. But it's recognized as audio file and untranscoded. Renaming to .m4v, same result.
And I can't get My MP4Box GUI to mux -- single h264 file or adding ac3 audio does not make difference as clicking on Mux button results in nothing.
Apparently something is not right. What should command line look like?
Thanks -
Test if the files import into encore ok before you use videoredo? or only after videoredo processing does it become b0rked ?
I've never seen the "encoder not available" message - is this a registered version? Sometimes there are limitations in trial versions
What is the original source m2ts from? -
Code:
MP4box --add "Path to RAW .264 file" -brand avc -new "Path to output .m4v/mp4 file"
-
The original m4v imports fine in Encore. VideoRedo is used to replace a short segment in the original. The resulting file fails to import: .m2ts requires transcoding and .h264 complains about encoder. This is not a trial version -- I don't think Encore has a trial version.
Is there an option to pick the ending frame (not just second)?
Thanks -
It took MP4Box hours but it finally failed with the error below. I'd need to go back to create the stream another time.
[MPEG-2 TS Import] Error adding sample: Bad Parameter (93/100)
[MPEG-2 TS Import] Error adding sample: Bad Parameter (94/100)
[MPEG-2 TS Import] Error adding sample: Bad Parameter
[MPEG-2 TS] Invalid section start (@ptr_field=103, @data_size=78)
[MPEG-2 TS] Creating table 4 17335
[MPEG-2 TS] corrupted section (CRC32 failed)
[MPEG-2 TS] Creating table 179 0=================== | (97/100)
Error importing video.m2ts#video: Bad Parameter -
I had to put 2 video together, essentially replacing a small piece in a long sequence.
tssniper is not working on my machine. I can post the error later.
tsmuxer does not have frame accuracy.
solveigMM is expensive.
I thought MP4Box can take tracks out of m2ts. If not, I can extract .h264 with tsMuxer.
Thanks -
MP4Box successfully converted to m4v file. Unfortunately, Encore considered it untranscoded.
From MediaInfo, I can see the following difference b/w the 2 files.
The most glaring thing is the fps is now at 25. The bit rate is also wrong (should not be there at all).
How could I correct this?
Thanks
==== Original
Format : AVC
Format/Info : Advanced Video Codec
Video
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L4.1
Format settings, CABAC : Yes
Format settings, ReFrames : 4 frames
Bit rate mode : Variable
Maximum bit rate : 35.0 Mbps
Width : 1 920 pixels
Height : 1 080 pixels
Display aspect ratio : 16:9
Frame rate : 29.970 fps
Standard : NTSC
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Interlaced
Scan order : Top Field First
Color primaries : BT.709-5, BT.1361, IEC 61966-2-4, SMPTE RP177
Transfer characteristics : BT.709-5, BT.1361
Matrix coefficients : BT.709-5, BT.1361, IEC 61966-2-4 709, SMPTE RP177
==== New
Format : avc
Codec ID : avc
File size : 11.4 GiB
Duration : 3h 26mn
Overall bit rate : 7 906 Kbps
Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L4.1
Format settings, CABAC : Yes
Format settings, ReFrames : 4 frames
Codec ID : avc1
Codec ID/Info : Advanced Video Coding
Duration : 3h 26mn
Bit rate mode : Variable
Bit rate : 7 905 Kbps
Maximum bit rate : 35.0 Mbps
Width : 1 920 pixels
Height : 1 080 pixels
Display aspect ratio : 16:9
Frame rate mode : Constant
Frame rate : 25.000 fps
Original frame rate : 29.970 fps
Standard : NTSC
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Interlaced
Scan order : Top Field First
Bits/(Pixel*Frame) : 0.152
Stream size : 11.4 GiB (100%)
Title : Imported with GPAC 0.4.6-DEV (internal rev. 5)
Color primaries : BT.709-5, BT.1361, IEC 61966-2-4, SMPTE RP177
Transfer characteristics : BT.709-5, BT.1361
Matrix coefficients : BT.709-5, BT.1361, IEC 61966-2-4 709, SMPTE RP177Last edited by cheerful; 7th Jun 2012 at 21:11.
-
you can use -fps
if you don't specify an fps when muxing elementary streams, 25 is assumed
http://gpac.wp.mines-telecom.fr/mp4box/mp4box-documentation/ -
I agree + the other infos are there because the stream is now in an mp4 container which provides additional data in the headers. (mediainfo only provides data from the headers)
But I doubt any of these has anything to do with encode not accepting the stream,... has encoder may be problems with interlaced avc streams? -
Used the -fps 29.970 switch. The result file shown in MediaInfo as
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L4.1
Format settings, CABAC : Yes
Format settings, ReFrames : 4 frames
Codec ID : avc1
Codec ID/Info : Advanced Video Coding
Duration : 2h 51mn
Bit rate mode : Variable
Bit rate : 9 477 Kbps
Maximum bit rate : 35.0 Mbps
Width : 1 920 pixels
Height : 1 080 pixels
Display aspect ratio : 16:9
Frame rate mode : Constant
Frame rate : 29.970 fps
Standard : NTSC
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Interlaced
Scan order : Top Field First
Bits/(Pixel*Frame) : 0.152
Stream size : 11.4 GiB (100%)
However, when imported, it still requires transcoding. It's shown in Encore as 1920x1080 at 14.99 fps.
So I thought maybe it's matter how fps is counted when interlaced. So I did it again with -fps 59.940.
Frame rate mode : Constant
Frame rate : 59.940 fps
Original frame rate : 29.970 fps
In Encore, it's shown as 29.970. Yet, it still requires transcoding.
Who could be missing?
ThanksLast edited by cheerful; 8th Jun 2012 at 19:53.
-
It could be many things. Ask in the videoredo forum . Since the export had problems, it really seems to be the culprit. Re-wrapping it or doing anything else to it probably won't change anything
Or try SolveigMM trial
It might be buffer underrun (e.g. if you join or edit 2 VBR videos, there is a chance it is no longer blu-ray compliant) -
Both are VBR.
I tried to use SolveigMM. It can't choose segments to join, only full files. So I first had to save the segments from file A. It was able to cut out the piece to replace and save A1 and A2.
Then I found A1 can't import into Encore. Upon close look, its end point is not a I-frame (K-frame in SolveigMM). I'd think cut can end at any frame. So I move the cut end to an K-frame. Now A1 imports just fine into Encore.
Does anyone if cut can end at non-I-frame?
Bad news is joining is failing. I will open a separate thread as the subject has changed.
ThanksLast edited by cheerful; 9th Jun 2012 at 20:26.
Similar Threads
-
How to create M4V files w/AC3+AAC from M4V w/AC3 only??
By williamlondon in forum MacReplies: 4Last Post: 5th Oct 2010, 16:15 -
after vob Demux the m2v and ac3 have duration difference
By yozloy in forum Authoring (DVD)Replies: 1Last Post: 23rd Jan 2010, 01:45 -
mkv -> m4v with AC3 soundtrack problem
By jamesmac in forum ffmpegX general discussionReplies: 2Last Post: 12th Aug 2008, 16:54 -
AC3 on m4v not working, 48KHz AAC not working, 44.1KHz does?!?!
By dmjerbear in forum AudioReplies: 14Last Post: 11th May 2008, 18:23 -
Demux DVD Video to separate M2V and AC3 files
By ArtOfLosingMFZB in forum Newbie / General discussionsReplies: 3Last Post: 6th Oct 2007, 20:03