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:

Thank You for your continued support and contributions!

+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Plugins/Viewers
| | |-+  VLC error message while converting .avi to .mpg
« previous next »
  • Print
Pages: [1]

Author Topic: VLC error message while converting .avi to .mpg  (Read 10671 times)

Offline Hp_Zouil

  • Member
  • *
  • Posts: 3
VLC error message while converting .avi to .mpg
« on: August 18, 2007, 04:56:30 AM »
Hi all,

I don't know if my problem was already discussed here but I did a quick search and I found nothing ...

I have an iPod video 30g

I tried to convert a .avi to .mpg using VLC with the command line that I found at http://www.rockbox.org/twiki/bin/view/Main/PluginMpegplayer#Encoding

Code: [Select]
vlc ~/Desktop/myMovie.avi --sout=#transcode{vcodec=mp2v,vb=600,width=320,height=240,acodec=mp3,ab=128,samplerate=44100,audio-sync}:std{access=file,mux=ps,url=myMovie.mpg}

When I do that it displays some errors :

Code: [Select]
VLC media player 0.8.6 Janus
[00000292] main private error: no sout stream module matched "transcodeaudio-sync"
[00000291] main stream output error: stream chain failed for `transcodeaudio-sync:stdurl=myMovie.mpg'
[00000289] main input error: cannot start stream output instance, aborting
[00000280] main playlist: nothing to play

I don't understand what's wrong with my command line  ???

Any help would be appreciated  ;)

Logged

Offline LambdaCalculus

  • Member
  • *
  • Posts: 2257
  • Dreaming of Turing Machines...
    • The Nostalgia Roadtrip
Re: VLC error message while converting .avi to .mpg
« Reply #1 on: August 18, 2007, 08:21:31 AM »
Have you tried using the batch file that's provided? Or are you typing it in yourself?
Logged
Former Rockbox dev. Rising from the ashes...

Players: iPod Video /w 128GB SSD mod, H320 /w 128GB SSD mod

Offline Hp_Zouil

  • Member
  • *
  • Posts: 3
Re: VLC error message while converting .avi to .mpg
« Reply #2 on: August 18, 2007, 10:04:18 AM »
I'm typing it myself. The batch file is for Windows and I'm on Linux
Logged

Offline gnu

  • Member
  • *
  • Posts: 269
Re: VLC error message while converting .avi to .mpg
« Reply #3 on: August 18, 2007, 10:40:13 AM »
It seems VLC has problems with the "audio-sync" bit. What happens if you omit it?
Logged

Offline LambdaCalculus

  • Member
  • *
  • Posts: 2257
  • Dreaming of Turing Machines...
    • The Nostalgia Roadtrip
Re: VLC error message while converting .avi to .mpg
« Reply #4 on: August 18, 2007, 10:46:31 AM »
Actually, try adding in the fps bit as 29.97.
Logged
Former Rockbox dev. Rising from the ashes...

Players: iPod Video /w 128GB SSD mod, H320 /w 128GB SSD mod

Offline Hp_Zouil

  • Member
  • *
  • Posts: 3
Re: VLC error message while converting .avi to .mpg
« Reply #5 on: August 18, 2007, 10:53:15 AM »
When I try without sync :

Code: [Select]
me@my-laptop:~$ vlc ~/Desktop/myMovie.avi --sout=#transcode{vcodec=mp2v,vb=600,width=320,height=240,acodec=mp3,ab=128,samplerate=44100}:std{access=file,mux=ps,url=myMovie.mpg}
VLC media player 0.8.6 Janus
[00000292] main private error: no sout stream module matched "transcodesamplerate=44100"
[00000291] main stream output error: stream chain failed for `transcodesamplerate=44100:stdurl=myMovie.mpg'
[00000289] main input error: cannot start stream output instance, aborting
[00000280] main playlist: nothing to play

And how I'm supposed to change the FPS ?
Sorry to ask that but I'm a complete noob in transcoding  :-[
Logged

Offline gnu

  • Member
  • *
  • Posts: 269
Re: VLC error message while converting .avi to .mpg
« Reply #6 on: August 19, 2007, 12:11:51 PM »
A quick search with google suggests that you can't use "=" in Linux. so your command line should/could/may be

vlc ~/Desktop/myMovie.avi --sout #transcode{vcodec mp2v,vb 600,width 320,height 240,acodec mp3,ab 128,samplerate 44100,audio-sync}:std{access file,mux ps,url myMovie.mpg}

Logged

Offline LambdaCalculus

  • Member
  • *
  • Posts: 2257
  • Dreaming of Turing Machines...
    • The Nostalgia Roadtrip
Re: VLC error message while converting .avi to .mpg
« Reply #7 on: August 19, 2007, 01:35:09 PM »
After height=240, add fps=29.97 to the line.
Logged
Former Rockbox dev. Rising from the ashes...

Players: iPod Video /w 128GB SSD mod, H320 /w 128GB SSD mod

Offline AlexP

  • Global Moderator
  • Member
  • *
  • Posts: 3688
  • ex-BigBambi
Re: VLC error message while converting .avi to .mpg
« Reply #8 on: August 19, 2007, 01:37:30 PM »
Or not if as gnu say's you can't use = in linux!  :D
Logged
H140, F60, S120, e260, c240, Clip, Fuze v2, Connect, MP170, Meizu M3, Nano 1G, Android

Offline LambdaCalculus

  • Member
  • *
  • Posts: 2257
  • Dreaming of Turing Machines...
    • The Nostalgia Roadtrip
Re: VLC error message while converting .avi to .mpg
« Reply #9 on: August 19, 2007, 08:06:58 PM »
I brain farted, sorry!  :P
Logged
Former Rockbox dev. Rising from the ashes...

Players: iPod Video /w 128GB SSD mod, H320 /w 128GB SSD mod

Offline dionoea

  • Member
  • *
  • Posts: 30
Re: VLC error message while converting .avi to .mpg
« Reply #10 on: August 22, 2007, 11:45:02 AM »
Linux shell expands a{b,c,d}e patterns to abe ace ade. You thus need to add quotes arround the transcode argument to prevent that from happening. I made sure that I provided a Linux/OS X command and a Windows command when I added the VLC command line to the rockbox wiki. Someone might have changed that in the meanwhile.
Logged

Offline dionoea

  • Member
  • *
  • Posts: 30
Re: VLC error message while converting .avi to .mpg
« Reply #11 on: August 22, 2007, 11:46:57 AM »
You should also add the -vv and --color options to your command line to get extra debug information which might help solving future problems you get when transcoding with VLC. (And you can also add "-I dummy" to prevent it from loading an interface)
Logged

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Plugins/Viewers
| | |-+  VLC error message while converting .avi to .mpg
 

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

Page created in 0.094 seconds with 14 queries.