import first 5 seconds

Asked by Renato

hI,
it' me again. I think I've found the way to import the .vob (now, I'm using dvd::rip),
but when I import it on OS, i have just a 5 sec. chunk. what'up?

I've tried many thing ad gogooled in all the way, but i didn't find nothing.

Can someone help me?

TIA

Renato

Question information

Language:
English Edit question
Status:
Answered
For:
OpenShot Video Editor Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Olivier Girard (eolinwen) said :
#1

Hi Renato
i've seen your question, i don't think to look this categorie.
Your files are specials, could you use this command on your file :
ffmpeg -i myfile.vob
and if you can on your device plugged on your systeme :
 ffmpeg -i /dev/the path of this device/
could you read this file with Totem, Mplayer, VLC ?

Revision history for this message
Renato (renato-pontefice) said :
#2

Hi cenew,
this is the output of the command on the HD file
--------------------------
renato@renato-laptop:~/Video/2008_11_17_09H32M_PM/VIDEO_TS$ ffmpeg -i
VTS_01_1.VOB
FFmpeg version SVN-r19352-4:0.5+svn20090706-2ubuntu2, Copyright (c)
2000-2009 Fabrice Bellard, et al.
  configuration: --extra-version=4:0.5+svn20090706-2ubuntu2
--prefix=/usr --enable-avfilter --enable-avfilter-lavf --enable-vdpau
--enable-bzlib --enable-libgsm --enable-libschroedinger
--enable-libspeex --enable-libtheora --enable-libvorbis
--enable-pthreads --enable-zlib --disable-stripping --disable-vhook
--enable-gpl --enable-postproc --enable-swscale --enable-x11grab
--enable-libdc1394 --extra-cflags=-I/build/buildd/ffmpeg-0.5
+svn20090706/debian/include --enable-shared --disable-static
  libavutil 49.15. 0 / 49.15. 0
  libavcodec 52.20. 0 / 52.20. 0
  libavformat 52.31. 0 / 52.31. 0
  libavdevice 52. 1. 0 / 52. 1. 0
  libavfilter 0. 4. 0 / 0. 4. 0
  libswscale 0. 7. 1 / 0. 7. 1
  libpostproc 51. 2. 0 / 51. 2. 0
  built on Oct 13 2009 22:15:16, gcc: 4.4.1

Seems stream 2 codec frame rate differs from container frame rate: 50.00
(50/1) -> 4500.00 (4500/1)
Input #0, mpeg, from 'VTS_01_1.VOB':
  Duration: 00:00:05.35, start: 0.226767, bitrate: 1523661 kb/s
    Stream #0.0[0x20]: Subtitle: dvdsub
    Stream #0.1[0x80]: Audio: ac3, 48000 Hz, stereo, s16, 256 kb/s
    Stream #0.2[0x1e0]: Video: mpeg2video, yuv420p, 720x576 [PAR 16:15
DAR 4:3], 9100 kb/s, 4500 tbr, 90k tbn, 50 tbc
At least one output file must be specified
renato@renato-laptop:~/Video/2008_11_17_09H32M_PM/VIDEO_TS$ man ffmpeg
renato@renato-laptop:~/Video/2008_11_17_09H32M_PM/VIDEO_TS$
----------------------------
Does this
Duration: 00:00:05.35, start: 0.226767, bitrate: 1523661 kb/s
means that the movie lasts 5 sec?
This is how OS says too, but if i watch it with VLC, I can see a about
20 minutes of video :"-). So what's up?!

TIA

Renato

> ffmpeg -i myfile.vob

Revision history for this message
Olivier Girard (eolinwen) said :
#3

This is how OS says too, but if i watch it with VLC, I can see a about
20 minutes of video :"-). So what's up?!

You can see 20 minutes of video in VLC ? Impossible your video done only 5 minutes and 35 seconds. How is it possible ?
Could you use this software : Mediainfo. : http://mediainfo.sourceforge.net/fr
you pass the website in your natural language and after do the operation for installing this sofware. After run it and choose this file. and put a screenshot. There is something very strange , you have same a odd bitrate (enormous for a mpeg2 file)

Revision history for this message
Renato (renato-pontefice) said :
#4

Hi,
this are the text info (more simple to send)
----------------
General
Complete
name : /home/renato/Video/2008_11_17_09H32M_PM/VIDEO_TS/VTS_01_1.VOB
Format : MPEG-PS
File size : 973 MiB

Video
ID : 224 (0xE0)
Format : MPEG Video
Format version : Version 2
Format profile : Main@Main
Format settings, Matrix : Default
Bit rate mode : Variable
Bit rate : 9 100 Kbps
Width : 720 pixels
Height : 576 pixels
Display aspect ratio : 16:9
Frame rate : 25.000 fps
Standard : PAL
Colorimetry : 4:2:0
Scan type : Interlaced
Scan order : Top Field First
Bits/(Pixel*Frame) : 0.878

Audio
ID : 128 (0x80)
Format : AC-3
Format/Info : Audio Coding 3
Bit rate mode : Constant
Bit rate : 256 Kbps
Channel(s) : 2 channels
Channel positions : L R
Sampling rate : 48.0 KHz
Video delay : -80ms

Text
ID : 32 (0x20)
Format : RLE
Format/Info : Run-length encoding
Video delay : -80ms

Menu
----------------------------
Do you see something strange?

Renato

Il giorno mer, 10/02/2010 alle 19.16 +0000, cenwen ha scritto:

> Your question #100250 on OpenShot Video Editor changed:
> https://answers.launchpad.net/openshot/+question/100250
>
> Status: Open => Answered
>
> cenwen proposed the following answer:
> This is how OS says too, but if i watch it with VLC, I can see a about
> 20 minutes of video :"-). So what's up?!
>
> You can see 20 minutes of video in VLC ? Impossible your video done only 5 minutes and 35 seconds. How is it possible ?
> Could you use this software : Mediainfo. : http://mediainfo.sourceforge.net/fr
> you pass the website in your natural language and after do the operation for installing this sofware. After run it and choose this file. and put a screenshot. There is something very strange , you have same a odd bitrate (enormous for a mpeg2 file)
>

Revision history for this message
Renato (renato-pontefice) said :
#5

Hi,
it seems that the 5 sec that I have in OS, are just the firs 1,5 sec of
the firs piece, ad 4 sec. of the second.
very strange.

REnato

Il giorno mer, 10/02/2010 alle 20.57 +0000, Renato ha scritto:

> Your question #100250 on OpenShot Video Editor changed:
> https://answers.launchpad.net/openshot/+question/100250
>
> Status: Answered => Open
>
> You are still having a problem:
> Hi,
> this are the text info (more simple to send)
> ----------------
> General
> Complete
> name : /home/renato/Video/2008_11_17_09H32M_PM/VIDEO_TS/VTS_01_1.VOB
> Format : MPEG-PS
> File size : 973 MiB
>
> Video
> ID : 224 (0xE0)
> Format : MPEG Video
> Format version : Version 2
> Format profile : Main@Main
> Format settings, Matrix : Default
> Bit rate mode : Variable
> Bit rate : 9 100 Kbps
> Width : 720 pixels
> Height : 576 pixels
> Display aspect ratio : 16:9
> Frame rate : 25.000 fps
> Standard : PAL
> Colorimetry : 4:2:0
> Scan type : Interlaced
> Scan order : Top Field First
> Bits/(Pixel*Frame) : 0.878
>
> Audio
> ID : 128 (0x80)
> Format : AC-3
> Format/Info : Audio Coding 3
> Bit rate mode : Constant
> Bit rate : 256 Kbps
> Channel(s) : 2 channels
> Channel positions : L R
> Sampling rate : 48.0 KHz
> Video delay : -80ms
>
> Text
> ID : 32 (0x20)
> Format : RLE
> Format/Info : Run-length encoding
> Video delay : -80ms
>
> Menu
> ----------------------------
> Do you see something strange?
>
> Renato
>
> Il giorno mer, 10/02/2010 alle 19.16 +0000, cenwen ha scritto:
>
> > Your question #100250 on OpenShot Video Editor changed:
> > https://answers.launchpad.net/openshot/+question/100250
> >
> > Status: Open => Answered
> >
> > cenwen proposed the following answer:
> > This is how OS says too, but if i watch it with VLC, I can see a about
> > 20 minutes of video :"-). So what's up?!
> >
> > You can see 20 minutes of video in VLC ? Impossible your video done only 5 minutes and 35 seconds. How is it possible ?
> > Could you use this software : Mediainfo. : http://mediainfo.sourceforge.net/fr
> > you pass the website in your natural language and after do the operation for installing this sofware. After run it and choose this file. and put a screenshot. There is something very strange , you have same a odd bitrate (enormous for a mpeg2 file)
> >
>

Revision history for this message
Olivier Girard (eolinwen) said :
#6

Do you see something strange?

No it's a normal file MPEG2. It missed me just one thing. the lenght
Try this commands :
melt VTS_01_1.VOB
ffplay VTS_01_1.VOB
And say me what's happen ?
Thanks

Revision history for this message
Renato (renato-pontefice) said :
#7

Hi cenew.

> melt VTS_01_1.VOB

this, star a player, that sopat frame 133

> ffplay VTS_01_1.VOB

this play the entire video (about 20 min.)

I'm really confused and I don't know what up :-(

bye
Renato

Revision history for this message
Renato (renato-pontefice) said :
#8

melt Video/2008_11_17_09H32M_PM/VIDEO_TS/VTS_01_1.VOB
+-----+ +-----+ +-----+ +-----+ +-----+ +-----+ +-----+ +-----+ +-----+
|1=-10| |2= -5| |3= -2| |4= -1| |5= 0| |6= 1| |7= 2| |8= 5| |9= 10|
+-----+ +-----+ +-----+ +-----+ +-----+ +-----+ +-----+ +-----+ +-----+
+---------------------------------------------------------------------+
| H = back 1 minute, L = forward 1 minute |
| h = previous frame, l = next frame |
| g = start of clip, j = next clip, k = previous clip |
| 0 = restart, q = quit, space = play |
+---------------------------------------------------------------------+
Current Position: 133

this is the frame where the video stop Play

Renato

Il giorno gio, 11/02/2010 alle 14.26 +0000, cenwen ha scritto:

> Your question #100250 on OpenShot Video Editor changed:
> https://answers.launchpad.net/openshot/+question/100250
>
> Status: Open => Answered
>
> cenwen proposed the following answer:
> Do you see something strange?
>
> No it's a normal file MPEG2. It missed me just one thing. the lenght
> Try this commands :
> melt VTS_01_1.VOB
> ffplay VTS_01_1.VOB
> And say me what's happen ?
> Thanks
>

Revision history for this message
Olivier Girard (eolinwen) said :
#9

Hi Renato

okay now it's better. It seems to be MLT which give you some problems. The only solution that i can see for you, it's to update your version of MLT. And like there is no binairy for the last 0.4.10 (i have tried and failed to create one), you have just one thing to do : compile it. It's the common commands : ./configure, make and sudo make install (or sudo make checkinstall if it's just for a test). before installing the packet checkinstall if you want used the second solution. You can have the last version here : http://www.mltframework.org/twiki/bin/view/MLT/
Good luck and Thanks for your perseverance.
Olivier

Revision history for this message
Renato (renato-pontefice) said :
#10

Hi Oliver (not cenew?),
Thank you to you for YOUR perseverance !
But things still goes wrong :-(
I've installed MLT 4.10
------------------------------------------
libmlt++2:
  Installato: 0.4.10-0ubuntu0~karmic1
  Candidato: 0.4.10-0ubuntu0~karmic1
  Tabella versione:
 *** 0.4.10-0ubuntu0~karmic1 0
        500 http://ppa.launchpad.net karmic/main Packages
        100 /var/lib/dpkg/status
     0.4.4-2build1 0
        500 http://it.archive.ubuntu.com karmic/universe Packages
---------------------------------------------

Plus... I'm unable to open OpenShoot. I've uninstalled and re-installed
OS, but it does not work... :-(

Renato

Il giorno sab, 13/02/2010 alle 15.49 +0000, cenwen ha scritto:

> Your question #100250 on OpenShot Video Editor changed:
> https://answers.launchpad.net/openshot/+question/100250
>
> Status: Open => Answered
>
> cenwen proposed the following answer:
> Hi Renato
>
> okay now it's better. It seems to be MLT which give you some problems. The only solution that i can see for you, it's to update your version of MLT. And like there is no binairy for the last 0.4.10 (i have tried and failed to create one), you have just one thing to do : compile it. It's the common commands : ./configure, make and sudo make install (or sudo make checkinstall if it's just for a test). before installing the packet checkinstall if you want used the second solution. You can have the last version here : http://www.mltframework.org/twiki/bin/view/MLT/
> Good luck and Thanks for your perseverance.
> Olivier
>

Revision history for this message
Olivier Girard (eolinwen) said :
#11

Hi Renato
My nickname is Cenwen but my first-name is Olivier.
Second thing. Normal you have too version of MLT. First desintall the version 0.44 and Openshot too with synaptic.(with the option purge = clean ) and after install Openshot. Normaly it will be ok. Hum certainly, i should precise to desintall MLT and Openshot (of course if MLT is desintalled) before. Sorry.

Can you help with this problem?

Provide an answer of your own, or ask Renato for more information if necessary.

To post a message you must log in.