Rockbox.org home
Downloads
Release release
Dev builds dev builds
Extras extras
themes themes
Documentation
Manual manual
Wiki wiki
Device Status device status
Support
Forums forums
Mailing lists mailing lists
IRC IRC
Development
Bugs bugs
Patches patches
Dev Guide dev guide
Search



Donate

Rockbox Technical Forums


Login with username, password and session length
Home Help Search Staff List Login Register
News:

Rockbox Ports are now being developed for various digital audio players!

+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Plugins/Viewers
| | |-+  mpegplayer A/V sync - please report experiences
« previous next »
  • Print
Pages: 1 2 3 [4] 5 6 ... 10

Author Topic: mpegplayer A/V sync - please report experiences  (Read 31361 times)

Offline Colombo

  • Member
  • *
  • Posts: 32
Re: mpegplayer A/V sync - please report experiences
« Reply #45 on: March 30, 2007, 07:23:25 AM »
http://athena.divshare.com/launch.php?f=308453&s=f25 this file generated by video lan player,
"C:\Progra~1\VideoLAN\VLC\vlc.exe" %1 --sout=#transcode{vcodec=mp2v,vb=200,width=176,height=132,acodec=mpga,ab=64,samplerate=44100,audio-sync,fps=25}:std{access=file,mux=ps,url=%1.mpg} vlc:quit

In This file video faster 1-2 secs :)
Logged

Offline Llorean

  • Member
  • *
  • Posts: 12931
Re: mpegplayer A/V sync - please report experiences
« Reply #46 on: March 30, 2007, 07:27:25 AM »
Didro: The Nano cannot play a fullscreen file at 30fps. Try encoding either smaller than full screen, or at 25fps. Also, your file is slightly larger than the screen.
Logged

Didro

  • Guest
Re: mpegplayer A/V sync - please report experiences
« Reply #47 on: March 30, 2007, 07:43:46 AM »
Quote
Didro: The Nano cannot play a fullscreen file at 30fps. Try encoding either smaller than full screen, or at 25fps. Also, your file is slightly larger than the screen.

 I wanted to write that I always encode video with FPS 24, but I looked in my make_video.bat file and found -ofps 30. :)  I think problem is in that, cause files with 24 plays good.
I created two bat files: one for *.mpg files, second - for *.avi. And I forgot to edit make_video_avi file to -ofps 24
« Last Edit: March 30, 2007, 07:46:21 AM by Didro »
Logged

Didro

  • Guest
Re: mpegplayer A/V sync - please report experiences
« Reply #48 on: March 30, 2007, 08:16:44 AM »
But i have file which has video ahead audio in 1-2 seconds.
Logged

Offline linuxstb

  • Developer
  • Member
  • *
  • Posts: 1163
Re: mpegplayer A/V sync - please report experiences
« Reply #49 on: March 31, 2007, 03:54:16 AM »
Colombo/Didro,

Can you try the latest version of mpegplayer (i.e. the latest Current Build), and let me know if the a/v is better now?

Thanks.
Logged

Offline Colombo

  • Member
  • *
  • Posts: 32
Re: mpegplayer A/V sync - please report experiences
« Reply #50 on: March 31, 2007, 07:48:34 AM »
Now very nice av sync! Thank you, Dave.
Logged

Offline Colombo

  • Member
  • *
  • Posts: 32
Re: mpegplayer A/V sync - please report experiences
« Reply #51 on: March 31, 2007, 07:52:06 AM »
hm but after 2 minutes, progressing faster video
Logged

Offline Llorean

  • Member
  • *
  • Posts: 12931
Re: mpegplayer A/V sync - please report experiences
« Reply #52 on: March 31, 2007, 07:55:14 AM »
Do you have Skip Frames and Limit FPS both on?
Logged

Offline Colombo

  • Member
  • *
  • Posts: 32
Re: mpegplayer A/V sync - please report experiences
« Reply #53 on: March 31, 2007, 01:12:05 PM »
Llorean yes.

Progressing Video(min)-Audio(sec) unsync:
0-0
2-0.5
4-1
Logged

Offline Llorean

  • Member
  • *
  • Posts: 12931
Re: mpegplayer A/V sync - please report experiences
« Reply #54 on: March 31, 2007, 01:15:47 PM »
And do you have a sample file that has this problem?
Logged

Offline Colombo

  • Member
  • *
  • Posts: 32
Re: mpegplayer A/V sync - please report experiences
« Reply #55 on: March 31, 2007, 01:43:15 PM »
Any video file has this problem.
Logged

Offline linuxstb

  • Developer
  • Member
  • *
  • Posts: 1163
Re: mpegplayer A/V sync - please report experiences
« Reply #56 on: March 31, 2007, 01:45:59 PM »
Quote from: Colombo on March 31, 2007, 01:43:15 PM
Any video file has this problem.

No - I have played files up to an hour long with no a/v sync problems, and so have lots of other people.

Can you provide a sample file for me to test?  Preferably one where it is very easy to see the a/v sync go wrong.
Logged

Didro

  • Guest
Re: mpegplayer A/V sync - please report experiences
« Reply #57 on: March 31, 2007, 03:19:26 PM »
Quote
Colombo/Didro,

Can you try the latest version of mpegplayer (i.e. the latest Current Build), and let me know if the a/v is better now?

Thanks.

Thanks, linuxstb. Every day mpegplayer is becoming better and better. New improvement in latest build fixed A/V sync in files which had video ahead.

Now about bad  :) : Video still is not so smooth as before, but as I know you are working with it. Also I noticed one bug. Maybe it is not so important, but sometimes after entering to menu it becomes imposible to choose menu options because Scroll up and down "freezes". You only can  return to video, or after random pressing on different buttons it starts to work.

Sorry, that I am writing here that I have to write in bug reports or feature requests but...   :)

Also MENU button doesnt enter you to menu when video is on pause.

And have to say, that i like programming and I even looked at mpegplayer sources but it is difficult to understand all without system api/calls knowing. Maybe this question is frequent but where can i find system api's. I looked in plugin.h but there is only list of functions(apis) without explanation.

Thank you for reading my long and offtopic post  :)
Logged

Offline Colombo

  • Member
  • *
  • Posts: 32
Re: mpegplayer A/V sync - please report experiences
« Reply #58 on: March 31, 2007, 03:38:59 PM »
Quote from: linuxstb on March 31, 2007, 01:45:59 PM
Quote from: Colombo on March 31, 2007, 01:43:15 PM
Any video file has this problem.

No - I have played files up to an hour long with no a/v sync problems, and so have lots of other people.

Can you provide a sample file for me to test?  Preferably one where it is very easy to see the a/v sync go wrong.
I already posted link to video. http://athena.divshare.com/launch.php?f=308453&s=f25 - progressive unsync: after 4 min video, video faster than audio 1 sec. Ipod Nano.
Logged

Offline Llorean

  • Member
  • *
  • Posts: 12931
Re: mpegplayer A/V sync - please report experiences
« Reply #59 on: March 31, 2007, 11:34:30 PM »
That video appears to stay in sync on my Nano just fine, which is why another one was asked for.

You have chosen a VERY bad sample video, since it's just music poorly synced to scenes. Do you have a video in which there is proper recorded dialogue for the scenes so that we might have a better point of reference to where the syncing calls out of place?
Logged

  • Print
Pages: 1 2 3 [4] 5 6 ... 10
« previous next »
+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Plugins/Viewers
| | |-+  mpegplayer A/V sync - please report experiences
 

  • SMF 2.0.17 | SMF © 2019, Simple Machines
  • Rockbox Privacy Policy
  • XHTML
  • RSS
  • WAP2

Page created in 0.075 seconds with 14 queries.