Answers.Body: <p>Have you tried using Quicktime Pro version 7?  It's what I usually use for file conversions.  It costs about £20 / $30.</p>
  
  <p><a href="http://store.apple.com/uk/product/D3380Z/A/quicktime-7-pro-for-mac-os-x" rel="nofollow">http://store.apple.com/uk/product/D3380Z/A/quicktime-7-pro-for-mac-os-x</a></p>
  
  <p>Open your file.  </p>
  
  <p>Go to the file menu, and select Export
  Choose your format, e.g. Quicktime Movie with ProRes 422 codec at 30 fps.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2013-07-26T22:59:32.667Z
Answers.LastActivityDate: 2013-07-26T22:59:32.667Z
Answers.UserDisplayName: tomh
Answers.Body: <p>This is an excellent use case for gstreamer and the MKV format. gstreamer was written to tackle this problem nicely. It can be used and accompanied by ffmpeg to transcode a video into a constant or variable rate video format.</p>
  
  <p>Here is a link to a great resource on solving this problem: <a href="https://www.linuxtv.org/wiki/index.php/V4L_capturing" rel="nofollow noreferrer">https://www.linuxtv.org/wiki/index.php/V4L_capturing</a></p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-04-14T00:38:05.727Z
Answers.LastActivityDate: 2017-04-14T00:38:05.727Z
Answers.UserDisplayName: Luke Fraser
Body: <p>I have some old 3GP (mp4v codec)videos from my HTC desire S and when I try to drop them into Vegas they won't open so I decided to convert them to a format that would open. However when I convert to a standard mp4 template h.254 at a frame rate of 30, the video converts and plays back at twice the speed but the audio is original. </p>
  
  <p>I cannot figure out the frame rate for the original video according to Gspot it is 16.393 and other videos its 9.901 etc</p>
  
  <p>Here is the information from the container 
  3gp4: 3GPP Media (.3GP) Release 4  </p>
  
  <ul>
  <li><code>mp41: MP4 v1 [ISO 14496-1:ch13]</code>  </li>
  <li><code>3gp6: 3GPP Media (.3GP) Release 6 Basic Profile</code>  </li>
  <li><code>Recommended Display Size: 800 x 480</code></li>
  </ul>
  
  <p>How would I convert such videos to play back normally?</p>
  
  <pre><code>**EDIT INFORMATION FROM MEDIA INFO**  
  Format                                   : MPEG-4  
  Format profile                           : 3GPP Media Release 4  
  Codec ID                                 : 3gp4  
  File size                                : 208 MiB  
  Duration                                 : 3mn 55s  
  Overall bit rate                         : 7 430 Kbps  
  Law rating                               : (empty)  
  Released date                            : 0  
  Encoded date                             : UTC 2012-04-29 18:18:23  
  Tagged date                              : UTC 2012-04-29 18:18:23  
  Classification                           : (empty)  
  
  **Video**
  ID                                       : 1  
  Format                                   : MPEG-4 Visual  
  Format profile                           : Simple@L6  
  Format settings, BVOP                    : Yes  
  Format settings, QPel                    : No
  Format settings, GMC                     : No warppoints  
  Format settings, Matrix                  : Default (H.263)  
  Codec ID                                 : 20  
  Duration                                 : 3mn 55s  
  Bit rate mode                            : Constant  
  Bit rate                                 : 7 416 Kbps  
  Nominal bit rate                         : 8 000 Kbps  
  Width                                    : 1 280 pixels  
  Height                                   : 720 pixels  
  Display aspect ratio                     : 16:9  
  Frame rate mode                          : Variable  
  Frame rate                               : 13.033 fps 
  Minimum frame rate                       : 3.906 fps  
  Maximum frame rate                       : 58.824 fps  
  Color space                              : YUV  
  Bit depth                                : 8 bits  
  Scan type                                : Progressive  
  Compression mode                         : Lossy 
  Bits/(Pixel*Frame)                       : 0.617  
  Stream size                              : 208 MiB (100%)  
  Language                                 : English  
  Encoded date                             : UTC 2012-04-29 18:18:23  
  Tagged date                              : UTC 2012-04-29 18:18:23  
  
  **Audio**
  ID                                       : 2  
  Format                                   : AMR  
  Format/Info                              : Adaptive Multi-Rate  
  Format profile                           : Narrow band  
  Codec ID                                 : samr  
  Duration                                 : 3mn 55s  
  Bit rate mode                            : Constant  
  Bit rate                                 : 12.8 Kbps  
  Channel(s)                               : 1 channel  
  Sampling rate                            : 8 000 Hz  
  Bit depth                                : 13 bits  
  Stream size                              : 367 KiB (0%)  
  Writing library                          : pvmm  
  Language                                 : English  
  Encoded date                             : UTC 2012-04-29 18:18:23  
  Tagged date                              : UTC 2012-04-29 18:18:23  
  </code></pre>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2017-03-21T15:53:52.097Z
Comments.Text: I know this is old, but I just wanted to mention that ffmpeg can do this easily, with the [fps](https://ffmpeg.org/ffmpeg-filters.html#toc-fps-1) filter.
Comments.UserDisplayName: Functino
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2013-01-14T23:40:54.040Z
Comments.Text: Usually there is information about the original framerate in the details tab of the properties of the video. What are you using to convert your videos?
Comments.UserDisplayName: Luke Fraser
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2013-01-15T11:26:50.390Z
Comments.Text: You say that if you convert it at a framerate of 30 fps it plays at *twice* the speed. Have you tried converting it with a framerata of `30/2 = 15 fps`? And to make the question more complete: what software are you using for the conversion?
Comments.UserDisplayName: Saaru Lindestøkke
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2013-01-15T11:28:00.560Z
Comments.Text: Yes I tried to convert it 15 too, but it didn't work. The only converter I used was the free version of Any Video Converter
Comments.UserDisplayName: Aasim Azam
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2013-01-15T11:41:46.973Z
Comments.Text: Could you run [MediaInfo](http://mediainfo.sourceforge.net/en) on your footage and post it here? This will show all relevant information about your video. As I see it now it boils down to using [AviSynth](http://avisynth.org/mediawiki/Main_Page) scripts. I'm looking into what exact script will help you, but you can of course take a look at the program yourself.
Comments.UserDisplayName: Saaru Lindestøkke
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2013-01-15T17:06:35.300Z
Comments.Text: added the information into the question
Comments.UserDisplayName: Aasim Azam
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2013-01-15T18:05:06.890Z
Comments.Text: Interesting, so it looks like the format that was used doesn't record at a consistent frame rate.  (That's kind of nutty.)  You will need some software tool that understands the variable frame rate format and can calculate out where frames need to be duplicated.  I'm not aware of anything that can do this off the top of my head, though someone has probably done it.
Comments.UserDisplayName: AJ Henderson
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2013-01-15T20:10:27.777Z
Comments.Text: [Here's](http://forum.videohelp.com/threads/349332-Transcode-3gp-and-MP4-files-using-VirtualDub-and-Avisynth) someone with the same problem who has a solution through with Avisynth.
Comments.UserDisplayName: Saaru Lindestøkke
Tags: <conversion><framerate>
Title: How to convert variable frame rate videos?
UserDisplayName: Aasim Azam
ThreadText: # How to convert variable frame rate videos?
  
  (Asked by: username_0 on 2013-01-14)
  
  I have some old 3GP (mp4v codec)videos from my HTC desire S and when I try to drop them into Vegas they won't open so I decided to convert them to a format that would open. However when I convert to a standard mp4 template h.254 at a frame rate of 30, the video converts and plays back at twice the speed but the audio is original.
  
  I cannot figure out the frame rate for the original video according to Gspot it is 16.393 and other videos its 9.901 etc
  
  Here is the information from the container
  3gp4: 3GPP Media (.3GP) Release 4
  
  * `mp41: MP4 v1 [ISO 14496-1:ch13]`
  * `3gp6: 3GPP Media (.3GP) Release 6 Basic Profile`
  * `Recommended Display Size: 800 x 480`
  
  How would I convert such videos to play back normally?
  
  ```
  **EDIT INFORMATION FROM MEDIA INFO**  
  Format                                   : MPEG-4  
  Format profile                           : 3GPP Media Release 4  
  Codec ID                                 : 3gp4  
  File size                                : 208 MiB  
  Duration                                 : 3mn 55s  
  Overall bit rate                         : 7 430 Kbps  
  Law rating                               : (empty)  
  Released date                            : 0  
  Encoded date                             : UTC 2012-04-29 18:18:23  
  Tagged date                              : UTC 2012-04-29 18:18:23  
  Classification                           : (empty)  
  
  **Video**
  ID                                       : 1  
  Format                                   : MPEG-4 Visual  
  Format profile                           : Simple@L6  
  Format settings, BVOP                    : Yes  
  Format settings, QPel                    : No
  Format settings, GMC                     : No warppoints  
  Format settings, Matrix                  : Default (H.263)  
  Codec ID                                 : 20  
  Duration                                 : 3mn 55s  
  Bit rate mode                            : Constant  
  Bit rate                                 : 7 416 Kbps  
  Nominal bit rate                         : 8 000 Kbps  
  Width                                    : 1 280 pixels  
  Height                                   : 720 pixels  
  Display aspect ratio                     : 16:9  
  Frame rate mode                          : Variable  
  Frame rate                               : 13.033 fps 
  Minimum frame rate                       : 3.906 fps  
  Maximum frame rate                       : 58.824 fps  
  Color space                              : YUV  
  Bit depth                                : 8 bits  
  Scan type                                : Progressive  
  Compression mode                         : Lossy 
  Bits/(Pixel*Frame)                       : 0.617  
  Stream size                              : 208 MiB (100%)  
  Language                                 : English  
  Encoded date                             : UTC 2012-04-29 18:18:23  
  Tagged date                              : UTC 2012-04-29 18:18:23  
  
  **Audio**
  ID                                       : 2  
  Format                                   : AMR  
  Format/Info                              : Adaptive Multi-Rate  
  Format profile                           : Narrow band  
  Codec ID                                 : samr  
  Duration                                 : 3mn 55s  
  Bit rate mode                            : Constant  
  Bit rate                                 : 12.8 Kbps  
  Channel(s)                               : 1 channel  
  Sampling rate                            : 8 000 Hz  
  Bit depth                                : 13 bits  
  Stream size                              : 367 KiB (0%)  
  Writing library                          : pvmm  
  Language                                 : English  
  Encoded date                             : UTC 2012-04-29 18:18:23  
  Tagged date                              : UTC 2012-04-29 18:18:23  
  
  ```
  
  **Tags:** conversion, framerate
  
  > **Comments:**
  > **username_2**: Usually there is information about the original framerate in the details tab of the properties of the video. What are you using to convert your videos?  
  > **username_3**: You say that if you convert it at a framerate of 30 fps it plays at *twice* the speed. Have you tried converting it with a framerata of `30/2 = 15 fps`? And to make the question more complete: what software are you using for the conversion?  
  > **username_0**: Yes I tried to convert it 15 too, but it didn't work. The only converter I used was the free version of Any Video Converter  
  > **username_3**: Could you run [MediaInfo](http://mediainfo.sourceforge.net/en) on your footage and post it here? This will show all relevant information about your video. As I see it now it boils down to using [AviSynth](http://avisynth.org/mediawiki/Main_Page) scripts. I'm looking into what exact script will help you, but you can of course take a look at the program yourself.  
  > **username_0**: added the information into the question  
  > **username_4**: Interesting, so it looks like the format that was used doesn't record at a consistent frame rate.  (That's kind of nutty.)  You will need some software tool that understands the variable frame rate format and can calculate out where frames need to be duplicated.  I'm not aware of anything that can do this off the top of my head, though someone has probably done it.  
  > **username_3**: [Here's](http://forum.videohelp.com/threads/349332-Transcode-3gp-and-MP4-files-using-VirtualDub-and-Avisynth) someone with the same problem who has a solution through with Avisynth.  
  > **username_1**: I know this is old, but I just wanted to mention that ffmpeg can do this easily, with the [fps](https://ffmpeg.org/ffmpeg-filters.html#toc-fps-1) filter.  
  
  ---
  
  ## 2 answers
  
  ### Answer by username_5 on 2013-07-26. Score: 2
  
  Have you tried using Quicktime Pro version 7? It's what I usually use for file conversions. It costs about £20 / $30.
  
  <http://store.apple.com/uk/product/D3380Z/A/quicktime-7-pro-for-mac-os-x>
  
  Open your file.
  
  Go to the file menu, and select Export
  Choose your format, e.g. Quicktime Movie with ProRes 422 codec at 30 fps.
  
  
  ---
  
  ### Answer by username_2 on 2017-04-14. Score: 1
  
  This is an excellent use case for gstreamer and the MKV format. gstreamer was written to tackle this problem nicely. It can be used and accompanied by ffmpeg to transcode a video into a constant or variable rate video format.
  
  Here is a link to a great resource on solving this problem: <https://www.linuxtv.org/wiki/index.php/V4L_capturing>
  
  
  ---
  
  