LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-26-2017, 05:34 AM   #1
Steve W
Member
 
Registered: Mar 2007
Distribution: Linux Mint 18.1
Posts: 520

Rep: Reputation: 44
H264 video - problems with playback


I have a series of H264 videos that I'm having trouble playing on either SMPlayer or VLC, although they have different problems on both.

VLC gives the codec details as H264 - MPEG4 AVC (Part 10)
960x540, Framerate 59.94. Audio: MPEG AAC audio (mp4a)

In VLC, in plays normally (although slightly too fast), but any attempt to skip forward causing the picture to freeze, although the progress bar keeps playing.

In SMPlayer, the video plays twice as fast but the audio stays normal, so immediately de-syncs. Reducing the play speed to 0.6 makes the video okay, but the sound goes really slow, deep and distorted. But it does play and seek through okay; however because the video is now normal speed and sound slow, immediate desync'ing occurs.

If I try to convert the video to something else, Avidemux wants to index the file, but produces another video going twice as fast with desync'ed audio.

Are there any options I can use in SMplayer to perhaps slow down the frame rate by dropping frames, thus keeping the playing time but with fewer frames? There is a feature for this in Avidemux, but it doesn't have any effect on the speed of the completed video.

Or does anyone have any other suggestions?

Thank you for any help you can give.

Steve

Last edited by Steve W; 01-26-2017 at 05:36 AM.
 
Old 01-26-2017, 02:09 PM   #2
Ratamahatta
Member
 
Registered: Feb 2012
Location: Germany
Distribution: siduction
Posts: 134

Rep: Reputation: 17
That framerate ist really odd. 24, 25 or even 30 are some more common ones. I don't know about VLC but I would imagine that the video really was recorded with 24/25/30 frames/s and the information about the framerate is wrong. That would explain mplayer playing it twice as fast as supposed to. (And Avidemux producing such too fast videos.)
For mencoder the -ofps parameter seems to be able to reduce the framerate of the output video and -fps the one of the input video. Other options seem to be codec-specific. See http://www.mplayerhq.hu/DOCS/man/en/mplayer.1.html.

Last edited by Ratamahatta; 01-26-2017 at 02:19 PM. Reason: added more info
 
  


Reply

Tags
playback, smplayer, vlc



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Fedora 17 86_64 video playback problems Dummy-in-Linux Fedora 8 06-28-2012 06:16 PM
Video playback problems after upgrade to 8.10 from 8.04 ubuntu rfoiles Linux - Newbie 1 11-21-2008 03:46 PM
problems with video playback in ubuntu h3nch Linux - Newbie 11 10-19-2008 05:30 PM
video playback problems during fast video sequences atti Linux - Hardware 2 04-17-2006 03:50 AM
Xine h264 Playback sadarax Linux - Software 2 11-26-2005 06:10 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:15 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration