Bug 16922 - clipgrab 3.5.1 don't download and convert
Summary: clipgrab 3.5.1 don't download and convert
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 5
Hardware: i586 Linux
Priority: Normal normal
Target Milestone: ---
Assignee: QA Team
QA Contact:
URL:
Whiteboard: has_procedure MGA5-64-OK MGA5-32-OK a...
Keywords: validated_update
Depends on:
Blocks:
 
Reported: 2015-10-08 01:03 CEST by Jérôme Teyssier
Modified: 2016-03-19 14:11 CET (History)
5 users (show)

See Also:
Source RPM:
CVE:
Status comment:


Attachments

Description Jérôme Teyssier 2015-10-08 01:03:02 CEST
clibgrab 3.5.1 don't download and convert videos to mp3 format
Comment 1 Jani Välimaa 2015-10-08 18:36:09 CEST
Install ffmpeg and try again.
Comment 2 Jérôme Teyssier 2015-10-11 15:05:06 CEST
(In reply to Jani Välimaa from comment #1)
> Install ffmpeg and try again.

I have already ffmpeg and ffmpeg presence doesn't solve the problem
Comment 3 Samuel Verschelde 2015-10-12 09:48:46 CEST
This package has no registered maintainer in our database so adding some packagers in CC. Dimitrios you seem to be the de facto maintainer. Please assign to yourself and add yourself as maintainer in the database if you intend to maintain this package.

CC: (none) => dglent, jani.valimaa

Comment 4 Jani Välimaa 2015-10-12 18:42:35 CEST
(In reply to Jérôme Teyssier from comment #2)
> (In reply to Jani Välimaa from comment #1)
> > Install ffmpeg and try again.
> 
> I have already ffmpeg and ffmpeg presence doesn't solve the problem

You'll need ffmpeg with libmp3lame support from Tainted media.
Comment 5 Dimitrios Glentadakis 2015-10-14 06:18:29 CEST
(In reply to Samuel VERSCHELDE from comment #3)
> This package has no registered maintainer in our database so adding some
> packagers in CC. Dimitrios you seem to be the de facto maintainer. Please
> assign to yourself and add yourself as maintainer in the database if you
> intend to maintain this package.

OK done
Comment 6 Samuel Verschelde 2015-10-14 10:54:43 CEST
Thanks, assigning the bug report to you then.

Assignee: bugsquad => dglent

Comment 7 Dimitrios Glentadakis 2015-12-21 07:03:31 CET
Can you try the version 3.5.6 ?
ftp://distrib-coffee.ipsl.jussieu.fr/pub/linux/Mageia/distrib/5/i586/media/core/updates_testing
Comment 8 David Walser 2016-03-08 00:13:52 CET
Please assign to QA with an advisory if you intend for this update to be released.  Otherwise, please ask the sysadmins to remove it from updates_testing.  Thanks.

Version: Cauldron => 5

Comment 9 Dimitrios Glentadakis 2016-03-08 09:16:09 CET
Advisory:
========================
Update clipgrab to version 3.5.6 to be able to resolve videos urls from various sites (youtube, dailymotion, etc).
This program needs to be updated when each internet service API changes.

Updated packages in core/updates_testing:
========================
clipgrab-3.5.6-1.mga5.i586.rpm
clipgrab-3.5.6-1.mga5.x86_64.rpm

Source RPMs:
clipgrab-3.5.6-1.mga5.src.rpm

Assignee: dglent => qa-bugs

Comment 10 Len Lawrence 2016-03-09 01:36:51 CET
mga5  x86_64  Mate

Not quite sure what the problem was here at first.  Before the update 

$ clipgrab youtube
or
$ clipgrab dailymotion

presented a gui for either site with a selection of clips.  Downloading any of them  without specifying format resulted in an mp4 file.

$ clipgrab youtube   # lots of elisions here - not really relevant
loaded the Generic plugin 
loaded the grue plugin 
...............................
Discovered:  "Voters For Trump Ad - SNL" 

# Selected MP3 audio only from the dropdown list
 
Downloading audio file:  "https://r6---sn-8pgbpohxqp5-h5os.googlevideo.com/videoplayback?gcr=gb&sparams=c
...........................................
Source video:  "" "" "aac (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 125 kb/s (default)" 
Target video:  ("none") ("libmp3lame", "mp3") 
Executing ffmpeg:  "ffmpeg -y -i "/tmp/clipgrab-download-ZT9738" -acodec libmp3lame -ab 256k -vn -metadata title="" -metadata author="" -metadata artist="" "/home/lcl/Desktop/Voters For Trump Ad - SNL.mp3"" 
....................................................
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/tmp/clipgrab-download-ZT9738':
....................................................
Stream mapping:
  Stream #0:0 -> #0:0 (aac (native) -> mp3 (libmp3lame))
Press [q] to stop, [?] for help
[aac @ 0x19b8b40] Input buffer exhausted before END element found
Error while decoding stream #0:0: Invalid data found when processing input
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1986480] stream 0, offset 0x14c011: partial file
/tmp/clipgrab-download-ZT9738: Invalid data found when processing input
size=    2674kB time=00:01:25.52 bitrate= 256.2kbits/s    
video:0kB audio:2673kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.035505%

# Nothing stored in Downloads.

After the upgrade the mp3 option worked.

If you select a clip, the gui gives format as an option with a choice of
Original
MPEG4
WMV
OGG Theora
MP3
OGG Vorbis
Raw audio

Select MP3 on a video and clipgrab extracts the soundtrack and stores it as an mp3 file.  So yes, it works.

CC: (none) => tarazed25

Comment 11 Len Lawrence 2016-03-09 01:50:51 CET
No, no, no.  Just examining that output above I noticed "Desktop" and sure enough there it was:
~/Desktop/Voters For Trump Ad - SNL.mp3

Which raises the question, was there anything wrong with 3.5.5-1 in the first place?

Whiteboard: (none) => has_procedure MGA5-64-OK

Comment 12 Len Lawrence 2016-03-09 01:54:50 CET
Sorry, typo there; -> 3.5.1-1.
Comment 13 Len Lawrence 2016-03-15 19:34:45 CET
And perhaps I should have looked at the advisory more closely:
"This program needs to be updated when each internet service API changes."

Testing this in virtualbox for 32-bits.
Comment 14 Len Lawrence 2016-03-15 19:53:26 CET
i586 virtualbox

$ sudo urpmi ffmpeg
Package ffmpeg-2.4.13-1.mga5.tainted.i586 is already installed

Installed clipgrab-3.5.6-1.mga5.

$ clipgrab youtube

The gui appeared.  Selected "Tidal SNL" in the search tab.  Under downloads selected mp3 conversion and specified directory.  The audio track was stripped and placed in home directory.
extract:
Target video:  ("none") ("libmp3lame", "mp3") 
Executing ffmpeg:  "ffmpeg -y -i "/tmp/clipgrab-download-i17777" -acodec libmp3lame -ab 256k -vn -metadata title="" -metadata author="" -metadata artist="" "/home/lcl/Tidal - SNL.mp3""

Used mplayer for playback.  All OK.

Nothing available at DailyMotion or Vevo.
Len Lawrence 2016-03-15 19:53:54 CET

Whiteboard: has_procedure MGA5-64-OK => has_procedure MGA5-64-OK MGA5-32-OK

Len Lawrence 2016-03-15 19:54:08 CET

Keywords: (none) => validated_update
CC: (none) => sysadmin-bugs

Dave Hodgins 2016-03-17 00:38:54 CET

CC: (none) => davidwhodgins
Whiteboard: has_procedure MGA5-64-OK MGA5-32-OK => has_procedure MGA5-64-OK MGA5-32-OK advisory

Comment 15 Mageia Robot 2016-03-19 14:11:02 CET
An update for this issue has been pushed to the Mageia Updates repository.

http://advisories.mageia.org/MGAA-2016-0043.html

Status: NEW => RESOLVED
Resolution: (none) => FIXED


Note You need to log in before you can comment on or make changes to this bug.