Frame rate setting gives strange results (H264)

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
gewoonPieter
New Cone
New Cone
Posts: 1
Joined: 16 May 2012 16:16

Frame rate setting gives strange results (H264)

Postby gewoonPieter » 16 May 2012 16:42

I made a script where I changed the Frame rate each time. To my surprise the size of the files didn't look right. After analyzing the files, there seemed to be something wrong. Could you advice me on this issue?
I used vlc 2.0.0 to convert avi to mp4 (H264)

Here's my script:

Code: Select all

"c:\Program Files (x86)\VideoLAN\VLC\vlc.exe" -vvv -L --no-loop "c:\Temp\scopeTest\voorTom\scope_AM1_734921_5.avi" --sout=#transcode{vcodec="h264",fps="5",vb="3000",scale="1"}:standard{access=file,dst="c:\Temp\scopeTest\voorTom\test6\test_3000kbps_005.mp4"} vlc://quit "c:\Program Files (x86)\VideoLAN\VLC\vlc.exe" -vvv -L --no-loop "c:\Temp\scopeTest\voorTom\scope_AM1_734921_5.avi" --sout=#transcode{vcodec="h264",fps="10",vb="3000",scale="1"}:standard{access=file,dst="c:\Temp\scopeTest\voorTom\test6\test_3000kbps_010.mp4"} vlc://quit "c:\Program Files (x86)\VideoLAN\VLC\vlc.exe" -vvv -L --no-loop "c:\Temp\scopeTest\voorTom\scope_AM1_734921_5.avi" --sout=#transcode{vcodec="h264",fps="15",vb="3000",scale="1"}:standard{access=file,dst="c:\Temp\scopeTest\voorTom\test6\test_3000kbps_015.mp4"} vlc://quit "c:\Program Files (x86)\VideoLAN\VLC\vlc.exe" -vvv -L --no-loop "c:\Temp\scopeTest\voorTom\scope_AM1_734921_5.avi" --sout=#transcode{vcodec="h264",fps="20",vb="3000",scale="1"}:standard{access=file,dst="c:\Temp\scopeTest\voorTom\test6\test_3000kbps_020.mp4"} vlc://quit "c:\Program Files (x86)\VideoLAN\VLC\vlc.exe" -vvv -L --no-loop "c:\Temp\scopeTest\voorTom\scope_AM1_734921_5.avi" --sout=#transcode{vcodec="h264",fps="25",vb="3000",scale="1"}:standard{access=file,dst="c:\Temp\scopeTest\voorTom\test6\test_3000kbps_025.mp4"} vlc://quit "c:\Program Files (x86)\VideoLAN\VLC\vlc.exe" -vvv -L --no-loop "c:\Temp\scopeTest\voorTom\scope_AM1_734921_5.avi" --sout=#transcode{vcodec="h264",fps="30",vb="3000",scale="1"}:standard{access=file,dst="c:\Temp\scopeTest\voorTom\test6\test_3000kbps_030.mp4"} vlc://quit "c:\Program Files (x86)\VideoLAN\VLC\vlc.exe" -vvv -L --no-loop "c:\Temp\scopeTest\voorTom\scope_AM1_734921_5.avi" --sout=#transcode{vcodec="h264",fps="32",vb="3000",scale="1"}:standard{access=file,dst="c:\Temp\scopeTest\voorTom\test6\test_3000kbps_032.mp4"} vlc://quit "c:\Program Files (x86)\VideoLAN\VLC\vlc.exe" -vvv -L --no-loop "c:\Temp\scopeTest\voorTom\scope_AM1_734921_5.avi" --sout=#transcode{vcodec="h264",fps="40",vb="3000",scale="1"}:standard{access=file,dst="c:\Temp\scopeTest\voorTom\test6\test_3000kbps_040.mp4"} vlc://quit "c:\Program Files (x86)\VideoLAN\VLC\vlc.exe" -vvv -L --no-loop "c:\Temp\scopeTest\voorTom\scope_AM1_734921_5.avi" --sout=#transcode{vcodec="h264",fps="50",vb="3000",scale="1"}:standard{access=file,dst="c:\Temp\scopeTest\voorTom\test6\test_3000kbps_050.mp4"} vlc://quit "c:\Program Files (x86)\VideoLAN\VLC\vlc.exe" -vvv -L --no-loop "c:\Temp\scopeTest\voorTom\scope_AM1_734921_5.avi" --sout=#transcode{vcodec="h264",fps="60",vb="3000",scale="1"}:standard{access=file,dst="c:\Temp\scopeTest\voorTom\test6\test_3000kbps_060.mp4"} vlc://quit "c:\Program Files (x86)\VideoLAN\VLC\vlc.exe" -vvv -L --no-loop "c:\Temp\scopeTest\voorTom\scope_AM1_734921_5.avi" --sout=#transcode{vcodec="h264",fps="70",vb="3000",scale="1"}:standard{access=file,dst="c:\Temp\scopeTest\voorTom\test6\test_3000kbps_070.mp4"} vlc://quit "c:\Program Files (x86)\VideoLAN\VLC\vlc.exe" -vvv -L --no-loop "c:\Temp\scopeTest\voorTom\scope_AM1_734921_5.avi" --sout=#transcode{vcodec="h264",fps="80",vb="3000",scale="1"}:standard{access=file,dst="c:\Temp\scopeTest\voorTom\test6\test_3000kbps_080.mp4"} vlc://quit "c:\Program Files (x86)\VideoLAN\VLC\vlc.exe" -vvv -L --no-loop "c:\Temp\scopeTest\voorTom\scope_AM1_734921_5.avi" --sout=#transcode{vcodec="h264",fps="90",vb="3000",scale="1"}:standard{access=file,dst="c:\Temp\scopeTest\voorTom\test6\test_3000kbps_090.mp4"} vlc://quit "c:\Program Files (x86)\VideoLAN\VLC\vlc.exe" -vvv -L --no-loop "c:\Temp\scopeTest\voorTom\scope_AM1_734921_5.avi" --sout=#transcode{vcodec="h264",fps="100",vb="3000",scale="1"}:standard{access=file,dst="c:\Temp\scopeTest\voorTom\test6\test_3000kbps_100.mp4"} vlc://quit "c:\Program Files (x86)\VideoLAN\VLC\vlc.exe" -vvv -L --no-loop "c:\Temp\scopeTest\voorTom\scope_AM1_734921_5.avi" --sout=#transcode{vcodec="h264",fps="120",vb="3000",scale="1"}:standard{access=file,dst="c:\Temp\scopeTest\voorTom\test6\test_3000kbps_120.mp4"} vlc://qui
These are the files that came out. As you can see, the size decreases when the frame rate (value before the .mp4) becomes higher. This is not what I expected.

Code: Select all

16-May-12 04:06 PM 50,306,232 test_3000kbps_005.mp4 16-May-12 04:06 PM 13,946,841 test_3000kbps_010.mp4 16-May-12 04:06 PM 5,948,024 test_3000kbps_015.mp4 16-May-12 04:07 PM 5,897,929 test_3000kbps_020.mp4 16-May-12 04:07 PM 5,891,828 test_3000kbps_025.mp4 16-May-12 04:08 PM 5,903,389 test_3000kbps_030.mp4 16-May-12 04:08 PM 5,903,030 test_3000kbps_032.mp4 16-May-12 04:09 PM 5,862,968 test_3000kbps_040.mp4 16-May-12 04:09 PM 5,863,113 test_3000kbps_050.mp4 16-May-12 04:10 PM 5,847,234 test_3000kbps_060.mp4 16-May-12 04:11 PM 7,406,602 test_3000kbps_070.mp4 16-May-12 04:11 PM 6,469,768 test_3000kbps_080.mp4 16-May-12 04:00 PM 5,725,062 test_3000kbps_090.mp4 16-May-12 04:00 PM 5,266,648 test_3000kbps_100.mp4 16-May-12 04:01 PM 4,284,841 test_3000kbps_120.mp4
The next info came from checking the files with SMPlayer:

Code: Select all

File test_3000kbps_005.mp4 Size 49127 KB (47 MB) Length 00:00:15 Demuxer lavfpref Video Demuxer 800 x 480 Aspect ratio 1.6667 Format H264 Bitrate 25932 kbps Frames per second 59.940 Selected codec ffh264

Code: Select all

File test_3000kbps_010.mp4 Size 13619 KB (13 MB) Length 00:00:15 Demuxer lavfpref Video Demuxer 800 x 480 Aspect ratio 1.6667 Format H264 Bitrate 7188 kbps Frames per second 12.000 Selected codec ffh264

Code: Select all

File test_3000kbps_015.mp4 Size 5808 KB (5 MB) Length 00:00:15 Demuxer lavfpref Video Demuxer 800 x 480 Aspect ratio 1.6667 Format H264 Bitrate 3062 kbps Frames per second 15.000 Selected codec ffh264

Code: Select all

File test_3000kbps_020.mp4 Size 5759 KB (5 MB) Length 00:00:15 Demuxer lavfpref Video Demuxer 800 x 480 Aspect ratio 1.6667 Format H264 Bitrate 3033 kbps Frames per second 20.000 Selected codec ffh264

Code: Select all

File test_3000kbps_025.mp4 Size 5753 KB (5 MB) Length 00:00:15 Demuxer lavfpref Video Demuxer 800 x 480 Aspect ratio 1.6667 Format H264 Bitrate 3028 kbps Frames per second 25.000 Selected codec ffh264

Code: Select all

File test_3000kbps_030.mp4 Size 5765 KB (5 MB) Length 00:00:15 Demuxer lavfpref Video Demuxer 800 x 480 Aspect ratio 1.6667 Format H264 Bitrate 3037 kbps Frames per second 30.000 Selected codec ffh264

Code: Select all

File test_3000kbps_032.mp4 Size 5764 KB (5 MB) Length 00:00:15 Demuxer lavfpref Video Demuxer 800 x 480 Aspect ratio 1.6667 Format H264 Bitrate 3031 kbps Frames per second 32.000 Selected codec ffh264

Code: Select all

File test_3000kbps_040.mp4 Size 5725 KB (5 MB) Length 00:00:15 Demuxer lavfpref Video Demuxer 800 x 480 Aspect ratio 1.6667 Format H264 Bitrate 3014 kbps Frames per second 40.000 Selected codec ffh264

Code: Select all

File test_3000kbps_050.mp4 Size 5725 KB (5 MB) Length 00:00:15 Demuxer lavfpref Video Demuxer 800 x 480 Aspect ratio 1.6667 Format H264 Bitrate 3012 kbps Frames per second 50.050 Selected codec ffh264

Code: Select all

File test_3000kbps_060.mp4 Size 5710 KB (5 MB) Length 00:00:15 Demuxer lavfpref Video Demuxer 800 x 480 Aspect ratio 1.6667 Format H264 Bitrate 3009 kbps Frames per second 59.940 Selected codec ffh264

Code: Select all

File test_3000kbps_070.mp4 Size 7233 KB (7 MB) Length 00:00:15 Demuxer lavfpref Video Demuxer 800 x 480 Aspect ratio 1.6667 Format H264 Bitrate 3823 kbps Frames per second 70.000 Selected codec ffh264

Code: Select all

File test_3000kbps_080.mp4 Size 6318 KB (6 MB) Length 00:00:15 Demuxer lavfpref Video Demuxer 800 x 480 Aspect ratio 1.6667 Format H264 Bitrate 3332 kbps Frames per second 80.000 Selected codec ffh264

Code: Select all

File test_3000kbps_090.mp4 Size 5590 KB (5 MB) Length 00:00:15 Demuxer lavfpref Video Demuxer 800 x 480 Aspect ratio 1.6667 Format H264 Bitrate 2962 kbps Frames per second 90.000 Selected codec ffh264

Code: Select all

File test_3000kbps_100.mp4 Size 5143 KB (5 MB) Length 00:00:15 Demuxer lavfpref Video Demuxer 800 x 480 Aspect ratio 1.6667 Format H264 Bitrate 2711 kbps Frames per second 100.000 Selected codec ffh264

Code: Select all

File test_3000kbps_120.mp4 Size 4184 KB (4 MB) Length 00:00:15 Demuxer lavfpref Video Demuxer 800 x 480 Aspect ratio 1.6667 Format H264 Bitrate 2209 kbps Frames per second 120.000 Selected codec ffh264

djsashaz
Blank Cone
Blank Cone
Posts: 16
Joined: 14 Feb 2008 23:27

Re: Frame rate setting gives strange results (H264)

Postby djsashaz » 09 Jun 2012 03:52

Did you ever solve this? I have the exact same problem, but im doing live stream. No matter what settings I try I get 50fps or 59.94

I was reading that it had something to do with interlaced source and deinterlaced source, but regardless which I use, I get this same output.


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 29 guests