Page 1 of 1
Input frame rate selection?
Posted: Mon Jul 25, 2016 11:49 pm
by donkpow
Hello, thank you for sharing an exciting and useful new software. I am encountering a problem I am unable to overcome. The videos I have come from a Sony actioncam (AVC/mp4) and shot @ 59.94 fps. Playback is set at 29.97 fps, essentially slow motion. I normally deal with the files using ffmpeg to convert to DNxHD with the following command "-r 59.94 -i infile.mp4". I believe it would be easy enough if the QT avisynth feature was dependable. I know the ffmpeg will work consistently. I hope you can forgive my ignorance and suggest a solution to the issue.
Thanks,
Don
Re: Input frame rate selection?
Posted: Tue Jul 26, 2016 8:22 am
by admin
Hi Don, thank you for using FFAStrans and welcome to the forum
I'n not sure what you ment by "QT avisynth feature was dependable."? But if I understand you correct, you want to force 59.94 input fps even if ffastrans only "see" 29.97?
What does your workflow look like?
-steinar
Re: Input frame rate selection?
Posted: Tue Jul 26, 2016 10:29 am
by donkpow
Hi admin.
Thanks for considering my question. The MediaInfo report on a representative capture is included. Can't attach txt file? You can see frame rate is reported as, "29.970 (30000/1001) fps". However, camera setting is "60 NTSC 59.94 fps".
Complete name : F:\camera\mine\60_fps\MAH00048.MP4
Format : MPEG-4
Format profile : Sony PSP
Codec ID : MSNV (MSNV/mp42/isom)
File size : 3.98 GiB
Duration : 1h 33mn
Overall bit rate mode : Variable
Overall bit rate : 6 122 Kbps
Encoded date : UTC 2016-03-17 07:57:34
Tagged date : UTC 2016-03-17 08:44:06
Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : Main@L4
Format settings, CABAC : Yes
Format settings, ReFrames : 2 frames
Codec ID : avc1
Codec ID/Info : Advanced Video Coding
Duration : 1h 33mn
Source duration : 1h 33mn
Bit rate mode : Variable
Bit rate : 5 991 Kbps
Maximum bit rate : 16.0 Mbps
Width : 1 280 pixels
Height : 720 pixels
Display aspect ratio : 16:9
Frame rate mode : Constant
Frame rate : 29.970 (30000/1001) fps
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.217
Stream size : 3.89 GiB (98%)
Source stream size : 3.89 GiB (98%)
Encoded date : UTC 2016-03-17 07:57:34
Tagged date : UTC 2016-03-17 08:44:06
Audio
ID : 2
Format : AAC
Format/Info : Advanced Audio Codec
Format profile : LC
Codec ID : 40
Duration : 1h 33mn
Bit rate mode : Constant
Bit rate : 128 Kbps
Channel(s) : 2 channels
Channel positions : Front: L R
Sampling rate : 48.0 KHz
Frame rate : 46.875 fps (1024 spf)
Compression mode : Lossy
Stream size : 85.2 MiB (2%)
Encoded date : UTC 2016-03-17 07:57:34
Tagged date : UTC 2016-03-17 08:44:06
Here is the command string I use to convert the file for editing in ffmpeg.
Code: Select all
C:\vid\ffmpeg.exe -r 59.94 -i MAH00051.MP4 -f mov -vsync 1 -c:v dnxhd -pix_fmt yuv422p10le -q:v 0 -b:v 110M -r 30000/1001 -an 30_fps\fourth.mov
Re: Input frame rate selection?
Posted: Tue Jul 26, 2016 4:55 pm
by admin
If you use the "A/V Media"-decoder you can insert a "Custom AviSynth-script"-filter with the following code:
m_clip = AssumeFPS(m_clip, 60000, 1001)
Return m_clip
This should be the same as inserting "-r 59.94" in front of the input.
-steinar
Re: Input frame rate selection?
Posted: Tue Jul 26, 2016 8:28 pm
by donkpow
Thank you, Steinar.
Don