View Issue Details

IDProjectCategoryView StatusLast Update
0005631ardourbugspublic2013-08-03 16:30
Reportereddrog Assigned Tox42  
PrioritynormalSeveritymajorReproducibilityalways
Status closedResolutionfixed 
Summary0005631: Video imported with Scale Width - 720 PAL is bad colored and project gets corrupted
DescriptionIf a video is imported (transcode video to session) into timeline with scale width 720 PAL the played video (xjadeo) is bad colored and sometimes the project gets corrupted. This was tested on different machines and some ubuntu based distros.

System: Ubuntu 13.04 /Ubuntu Studio 13.04
Additional InformationSteps to reproduce:

1) Import video with rescale option to 720 PAL
2) Video playback => bad colored and sometimes project corruption till unusable

This behaviour only with 720 PAL. All other scale option are fine!!!
TagsNo tags attached.

Activities

x42

2013-08-01 19:37

administrator   ~0015207

Which version of xjadeo is that?
Please include the output of ''xjadeo --version''

The most likley cause of this is that either you have a version of xjadeo older than 0.7.5 and/or Ubuntu compiles xjadeo with libav instead of ffmpeg.

In any case, please file a problem with Ubuntustudio. We do not have control over what distribuions do.

or simply use Ardour from ardour.org which includes:

http://ardour.org/files/video-tools/xjadeo-x86_64-linux-gnu-v0.7.5.tgz
http://ardour.org/files/video-tools/xjadeo-i386-linux-gnu-v0.7.5.tgz

ready to go.

eddrog

2013-08-02 05:06

reporter   ~0015215

Sorry Robin. I forgot to mention. All tests were done with Ardour-3.3.1-dbg built from revision 3.3-1-gfc0053a (downloaded from ardour homepage) and if I understand it right in this case the included/shipped version of xjadeo and ffmpeg_harvid is used. I think it's not a jadeo problem its a ffmpeg problem.


xjadeo version 0.6.4 [ LTC JACK-SESSION POSIX-MQueue ]
 compiled with ffmpeg: AVFORMAT=0x351500 AVCODEC=0x352300
 MTC-MIDI: jack-midi alsa-sequencer portmidi alsa-raw (first listed is default)
 displays: Xv X11/imlib2(RGBA32)


I see that xjadeo is not shipped with ardour.

Ok today night I'll dig deeper into it :-)))

Thanx Robin for this cool feature!!!

x42

2013-08-03 02:21

administrator   ~0015218

mmh 0.6.4 is over 1 year old.

Please check /opt/Ardour-<VERSION>/bin/xjremote -v (xjadeo with remote control)

also does the imported video in
  .../session-folder/interchange/<session-name>/videofiles/
play with other players (e.g. mplayer)?
is the timeline affected, too or just the xjadeo?

x42

2013-08-03 02:29

administrator   ~0015219

PS. can you launch Ardour3 from the commandline, and when Importing the video enable the checkbox

  "Debug Mode: Print ffmpeg command and output to stdout"

There may be some clues in there.

eddrog

2013-08-03 12:48

reporter   ~0015225

Ok downloaded xjadeo v0.7.5. No change. I get the same result.

i)
@ubuntu-laptop:~$ /opt/Ardour-3.3.1-dbg/bin/xjremote --version
xjadeo version 0.7.4 scm-v0.7.4 [ LTC ]
 compiled with ffmpeg: AVFORMAT=0x363f68 AVCODEC=0x365c64
 MTC-MIDI: jack-midi (first listed is default)
 displays: Xv

ii) is the timeline affected, too or just the xjadeo?
no only the video in xjadeo (see shot uploaded)

iii) play with other players (e.g. mplayer)?
mplayer and vlc play the video correct

2013-08-03 12:48

 

vtl-720-PAL-bug.png (474,683 bytes)

eddrog

2013-08-03 12:53

reporter   ~0015227

>>> "Debug Mode: Print ffmpeg command and output to stdout"

TRANSCODE VIDEO:
/opt/Ardour-3.3.1-dbg/bin/ffmpeg_harvid -i /home/eddrog/Musik/tim_benzko-ich-muss-kurz-die-welt-retten.webm -b:v 10000k -s 720x405 -y -vcodec mjpeg -an -intra -g 1 /home/eddrog/Musik/ardour/3.0/ich-muss-kurz-die-welt-retten/interchange/ich-muss-kurz-die-welt-retten/videofiles/a3_tim_benzko-ich-muss-kurz-die-welt-retten.avi
ffmpeg: 'ffmpeg version 1.2.1 Copyright (c) 2000-2013 the FFmpeg developers
  built on Jun 10 2013 18:51:59 with gcc 4.7 (Debian 4.7.2-5)
  configuration: --enable-gpl --enable-libmp3lame --enable-libx264 --enable-libxvid --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libopenjpeg --enable-libopus --enable-libschroedinger --enable-libspeex --enable-libbluray --enable-libgsm --disable-vaapi --disable-x11grab --disable-devices --enable-shared --enable-static --prefix=/root/local'
ffmpeg: ' libavutil 52. 18.100 / 52. 18.100
  libavcodec 54. 92.100 / 54. 92.100
  libavformat 54. 63.104 / 54. 63.104
  libavdevice 54. 3.103 / 54. 3.103
  libavfilter 3. 42.103 / 3. 42.103
  libswscale 2. 2.100 / 2. 2.100
  libswresample 0. 17.102 / 0. 17.102
  libpostproc 52. 2.100 / 52. 2.100'
ffmpeg: 'Input #0, matroska,webm, from '/home/eddrog/Musik/tim_benzko-ich-muss-kurz-die-welt-retten.webm':
  Duration: 00:03:10.88, start: 0.000000, bitrate:'
ffmpeg: '4323 kb/s
    Stream #0:0: Audio: vorbis, 44100 Hz, stereo, fltp (default)
    Stream #0:1: Video: vp8, yuv420p, 1920x1080, SAR 1:1 DAR 16:9, 1k fps, 1k tbr, 1k tbn, 1k tbc (default)'
ffmpeg: 'Output #0, avi, to '/home/eddrog/Musik/ardour/3.0/ich-muss-kurz-die-welt-retten/interchange/ich-muss-kurz-die-welt-retten/videofiles/a3_tim_benzko-ich-muss-kurz-die-welt-retten.avi':
  Metadata:
    ISFT : Lavf54.63.104
    Stream #0:0: Video: mjpeg (MJPG / 0x47504A4D), yuvj420p, 720x405 [SAR 1:1 DAR 16:9], q=2-31, 10000 kb/s, 1k tbn, 1k tbc (default)
Stream mapping:
  Stream #0:1 -> #0:0 (vp8 -> mjpeg)
Press [q] to stop, [?] for help'

x42

2013-08-03 13:12

administrator   ~0015228

OK. found it. it's the odd number of line (405) that causes the problem in xjadeo.

will fix.

eddrog

2013-08-03 13:24

reporter   ~0015229

Cool.


>>> The most likley cause of this is that either you have a version of xjadeo older than 0.7.5 and/or Ubuntu compiles xjadeo with libav instead of ffmpeg.

Shouldn't xjadeo shipped with ardour like ffmpeg_harvid? Just to be sure what we have.

x42

2013-08-03 14:15

administrator   ~0015232

fixed.

http://ardour.org/files/video-tools/xjadeo-i386-linux-gnu-v0.7.5-1-g15fba29.tgz
http://ardour.org/files/video-tools/xjadeo-x86_64-linux-gnu-v0.7.5-1-g15fba29.tgz

can you unzip the file and
  mv xjadeo-*-v0.7.5-1-g15fba29/xjadeo /opt/Ardour-3.3.1-dbg/bin/xjremote

eddrog

2013-08-03 16:12

reporter   ~0015233

Now it looks good.

Oh I got it: xjremote == xjadeo

x42

2013-08-03 16:25

administrator   ~0015234

Last edited: 2013-08-03 16:29

xjadeo can act as drop-in replacement for xjremote
(but not the other way 'round).

upstream xjremote is a remote-control wrapper. It allows to launch xjadeo and disconnect/reconnect from/to running xjadeo instances.

xjremote is useful if you run xjadeo
 a) on a dedicated machine
or
 b) on dedicated screen on the local machine

and want to keep xjadeo always running and never see the desktop of the machine.

Issue History

Date Modified Username Field Change
2013-08-01 19:21 eddrog New Issue
2013-08-01 19:37 x42 Note Added: 0015207
2013-08-02 05:06 eddrog Note Added: 0015215
2013-08-03 02:21 x42 Note Added: 0015218
2013-08-03 02:29 x42 Note Added: 0015219
2013-08-03 12:48 eddrog Note Added: 0015225
2013-08-03 12:48 eddrog File Added: vtl-720-PAL-bug.png
2013-08-03 12:53 eddrog Note Added: 0015227
2013-08-03 13:12 x42 Note Added: 0015228
2013-08-03 13:24 eddrog Note Added: 0015229
2013-08-03 14:15 x42 Note Added: 0015232
2013-08-03 16:12 eddrog Note Added: 0015233
2013-08-03 16:25 x42 Note Added: 0015234
2013-08-03 16:25 x42 Status new => resolved
2013-08-03 16:25 x42 Resolution open => fixed
2013-08-03 16:25 x42 Assigned To => x42
2013-08-03 16:28 x42 Note Edited: 0015234
2013-08-03 16:29 x42 Note Edited: 0015234
2013-08-03 16:30 x42 Status resolved => closed