Anyone have any ideas where to start with this.
It has variable fps it is mp4 mobile file so i cannot opened it directly in avisynth.
I have couple similar files but i will like to know the base
Thanks
The file
Format : MPEG-4
Format profile : Base Media / Version 2
Codec ID : mp42
File size : 2.01 MiB
Duration : 8s 64ms
Overall bit rate : 2 088 Kbps
Video
ID : 1
Format : MPEG-4 Visual
Format profile : Simple@L4a
Format settings, BVOP : Yes
Format settings, QPel : No
Format settings, GMC : No warppoints
Format settings, Matrix : Default (H.263)
Codec ID : 20
Duration : 7s 975ms
Bit rate mode : Variable
Bit rate : 2 000 Kbps
Nominal bit rate : 1 800 Kbps
Width : 640 pixels
Height : 480 pixels
Display aspect ratio : 4:3
Frame rate mode : Variable
Frame rate : 14.295 fps
Minimum frame rate : 10.638 fps
Maximum frame rate : 26.224 fps
Color space : YUV
Bit depth : 8 bits
Scan type : Progressive
Compression mode : Lossy
Bits/(Pixel*Frame) : 0.455
Stream size : 1.91 MiB (95%)
Audio
ID : 2
Format : AAC
Format/Info : Advanced Audio Codec
Format profile : LC
Codec ID : 40
Duration : 8s 64ms
Bit rate mode : Constant
Bit rate : 96.0 Kbps
Channel(s) : 1 channel
Channel positions : Front: C
Sampling rate : 48.0 KHz
Compression mode : Lossy
Stream size : 94.8 KiB (5%)
Try StreamFab Downloader and download from Netflix, Amazon, Youtube! Or Try DVDFab and copy Blu-rays! or rip iTunes movies!
+ Reply to Thread
Results 1 to 7 of 7
Thread
-
-
I haven't looked at it yet, but you're not restricted in using avisynth for this, just because it's a VFR source
You can filter it, treating it as CRF - and as long as you mux back with timecodes = VFR
To extract timecodes, you might use FFVideoSource("video.mp4" , timecodes="timecodes.txt")
To mux back in you , you could use mp4fpsmod, or mkvtoolnix for mkv
https://github.com/nu774/mp4fpsmod -
Thanks pois i have another bad a.s video with 19,620 FPS ( fixed ) from camera progressive ( i don't understand why the manufacturers do this with frames) what do you suggest there to make it 25 or 30 fps video for dvd and how.
-
19.620 CFR?
For DVD, if you are in PAL area, I would make 25 FPS , 720x576 DVD
Your options are
1) ChangeFPS(25) - this will add frame repeats
2) ConvertFPS(25) - this will add blends, but maybe smoother result
3) Use MVTools to retime and generate motion interpolated new frames - this will give smoothest result, but sometimes works well on some material, sometimes very poorly on others (morphing edge artifacts)
It depends on the specfic content and you will have to see what you like better
You don't have to use avisynth; most editing programs will allow you to do some combination of 1 & 2 above. Mostly effects type programs will alow you to retime/optical flow or #3 -
19.620 CFR?
See the problem is that there are 3 cameras involve that i want to use as final dvd product.
1. First is the nokia 5630 mobile phone camera that captures in 640x480 but in variable fps mp4 ( it think divx )
2. The second is hp camera that captures 320x240 19.620 cfr ( mjpeg)
3. The third one is Canon 8mp camera that captures 640x480 30 fps (mjpeg)
I don't expect miracle i cleaned the video a bit but i have problem with frames and with different sizes
1) ChangeFPS(25) - this will add frame repeats
2) ConvertFPS(25) - this will add blends, but maybe smoother result
3) Use MVTools to retime and generate motion interpolated new frames - this will give smoothest result, but sometimes works well on some material, sometimes very poorly on others (morphing edge artifacts) -
This is big problem to intermix these. If source (1) is very variable, you will have sync problems with this project. You can try converting to CFR, but large VFR deviations will cause you to go in and out of sync in sections. You cannot keep VFR video for DVD output goal
1) ChangeFPS(25) - this will add frame repeats
2) ConvertFPS(25) - this will add blends, but maybe smoother result
3) Use MVTools to retime and generate motion interpolated new frames - this will give smoothest result, but sometimes works well on some material, sometimes very poorly on others (morphing edge artifacts)
2 give me very jerky picture ( worse than original played on tv)
...
source=last
super = source.MSuper(pel=2)
backward_vec = MAnalyse(super, overlap=4, isb = true, search=3)
forward_vec = MAnalyse(super, overlap=4, isb = false, search=3)
source.MFlowFps(super, backward_vec, forward_vec, blend=false, num=25, den=1)
I didn't have time for a good look at your example video, but it looks like levels are crushed (some recoverable) - so you can raise levels, but that will reveal more noise. There is also chroma noise, fixed pattern noise (horizontal lines). It is also shaky. So those are things you might address or try to improve -
Thanks pois i will try that and report back with some examples i don't have much time this days
Similar Threads
-
Trying to encode the video file from f4v to mp4 for mobile devices
By timurka in forum Portable VideoReplies: 1Last Post: 26th Jan 2012, 20:17 -
.MP4 for mobile phone problem
By the_provider in forum Video ConversionReplies: 0Last Post: 25th Dec 2009, 19:49 -
no sound when converting .avs to mp4 with WinAVI Mobile
By 12gage in forum Video ConversionReplies: 4Last Post: 19th Apr 2008, 02:02 -
DVD to H264 (mp4) for Nokia mobile
By EpiMann in forum DVD RippingReplies: 1Last Post: 24th Jan 2008, 05:33 -
MP4 on WiMP Mobile?
By Memo_182 in forum Portable VideoReplies: 3Last Post: 7th May 2007, 15:34