LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-18-2014, 05:43 PM   #1
CamTheSaxMan
Member
 
Registered: Nov 2013
Distribution: Linux Mint 13 Cinnamon Edition 64-bit, Windows 7 Home Premium SP1 64-bit, Arch Linux 32-bit
Posts: 161

Rep: Reputation: 9
Need help converting a video to a different format.


I'm trying to edit a .ogv video in Avidemux, but alas! Avidemux can't handle the .ogv format. I want to convert this video to an uncompressed mpeg for editing, and I've tried avconv and ffmpeg, both of which fail with error messages.
Code:
cameron@Aspire-5920:~/Videos$ avconv -i out-13.ogv out-13.mpeg
p11-kit: couldn't load module: /usr/lib/x86_64-linux-gnu/pkcs11/p11-kit-trust.so: /usr/lib/x86_64-linux-gnu/pkcs11/p11-kit-trust.so: cannot open shared object file: No such file or directory
avconv version 0.8.10-6:0.8.10-0ubuntu0.13.10.1, Copyright (c) 2000-2013 the Libav developers
  built on Feb  6 2014 20:53:28 with gcc 4.8.1
[ogg @ 0xf32a20] max_analyze_duration reached
Input #0, ogg, from 'out-13.ogv':
  Duration: 00:01:28.60, start: 0.000000, bitrate: 2666 kb/s
    Stream #0.0: Data: skeleton
    Stream #0.1: Video: theora, yuv420p, 1024x624 [PAR 1:1 DAR 64:39], 15 fps, 15 tbr, 15 tbn, 15 tbc
[buffer @ 0xf33100] w:1024 h:624 pixfmt:yuv420p
[mpeg1video @ 0xf39840] MPEG1/2 does not support 15/1 fps
Output #0, mpeg, to 'out-13.mpeg':
    Stream #0.0: Video: mpeg1video, yuv420p, 1024x624 [PAR 1:1 DAR 64:39], q=2-31, 200 kb/s, 90k tbn, 15 tbc
Stream mapping:
  Stream #0:1 -> #0:0 (theora -> mpeg1video)
Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height
cameron@Aspire-5920:~/Videos$ ffmpeg -i out-13.ogv out-13.mpeg
p11-kit: couldn't load module: /usr/lib/x86_64-linux-gnu/pkcs11/p11-kit-trust.so: /usr/lib/x86_64-linux-gnu/pkcs11/p11-kit-trust.so: cannot open shared object file: No such file or directory
ffmpeg version 0.8.10-6:0.8.10-0ubuntu0.13.10.1, Copyright (c) 2000-2013 the Libav developers
  built on Feb  6 2014 20:53:28 with gcc 4.8.1
*** THIS PROGRAM IS DEPRECATED ***
This program is only provided for compatibility and will be removed in a future release. Please use avconv instead.
[ogg @ 0x104ba20] max_analyze_duration reached
Input #0, ogg, from 'out-13.ogv':
  Duration: 00:01:28.60, start: 0.000000, bitrate: 2666 kb/s
    Stream #0.0: Data: skeleton
    Stream #0.1: Video: theora, yuv420p, 1024x624 [PAR 1:1 DAR 64:39], 15 fps, 15 tbr, 15 tbn, 15 tbc
File 'out-13.mpeg' already exists. Overwrite ? [y/N] y
[buffer @ 0x1051660] w:1024 h:624 pixfmt:yuv420p
[mpeg1video @ 0x104f380] MPEG1/2 does not support 15/1 fps
Output #0, mpeg, to 'out-13.mpeg':
    Stream #0.0: Video: mpeg1video, yuv420p, 1024x624 [PAR 1:1 DAR 64:39], q=2-31, 200 kb/s, 90k tbn, 15 tbc
Stream mapping:
  Stream #0.1 -> #0.0
Error while opening encoder for output stream #0.0 - maybe incorrect parameters such as bit_rate, rate, width or height
cameron@Aspire-5920:~/Videos$
What am I doing wrong? I don't know what a stream or a bitrate is, and what to put, so I'm at a loss. I just want to convert my video to an uncompressed mpeg, leaving all quality intact.
 
Old 04-18-2014, 06:19 PM   #2
timl
Member
 
Registered: Jan 2009
Location: Sydney, Australia
Distribution: Fedora,CentOS
Posts: 686

Rep: Reputation: 151Reputation: 151
I have never come across the ogv format but i have used ffmpeg to fiddle with formats - mostly flv to mp3 - so is ffmpeg worth a go? This is a very simple tutorial converting ogv to flv but it might point you in the fight direction.

Cheers

http://www.debianadmin.com/how-to-co...ng-ffmpeg.html
 
Old 04-18-2014, 07:55 PM   #3
bat999
LQ Newbie
 
Registered: Sep 2013
Location: UK
Distribution: Linux Mint 18 "Sarah" - Xfce (64-bit)
Posts: 29

Rep: Reputation: Disabled
...

Last edited by bat999; 04-19-2014 at 05:32 PM.
 
Old 04-19-2014, 01:30 AM   #4
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,465

Rep: Reputation: Disabled
This video may help you.
jdk
 
Old 04-28-2014, 05:34 AM   #5
andrew.46
Senior Member
 
Registered: Oct 2007
Distribution: Slackware
Posts: 1,093

Rep: Reputation: 295Reputation: 295Reputation: 295
I do not use avidemux but I see from the docs that it will take huffyuv as an import format so perhaps the following would do:

Code:
ffmpeg -i input.ogv -c:v huffyuv -an out-13.mpeg
I see that avidemux also supports FFmpeg's lossless video codec ffv1 so this would be another good choice...
 
Old 04-28-2014, 05:42 AM   #6
Enindu
Member
 
Registered: Apr 2014
Location: Colombo, Sri Lanka.
Distribution: Arch Linux
Posts: 69

Rep: Reputation: 13
How about MEncoder? It helped me.
https://wiki.archlinux.org/index.php/MEncoder
http://jmscrk.com/blog/video-conversion-ogv-mp4
 
Old 04-28-2014, 05:43 PM   #7
DJ Shaji
Member
 
Registered: Dec 2004
Location: Yo Momma's house
Distribution: Fedora Rawhide, ArchLinux
Posts: 517
Blog Entries: 15

Rep: Reputation: 106Reputation: 106
um, on your system, actually, ffmpeg and avconv point to the same program, which is not ffmpeg. See here for details.

Anyhow, the answer to your problem is simple:

Code:
ffmpeg -i file.ogv -b:v 3M -vcodec mpeg4 outfile.mp4
 
  


Reply

Tags
convert, ffmpeg, video


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Best video format for YouTube upload and can Recordmydesktop output that format? linus72 Linux - Software 6 12-21-2009 04:53 PM
Converting to AMV video format. glore2002 Slackware 2 08-11-2008 04:34 PM
Converting .rm video to IPod format long1929 Linux - Software 0 07-01-2006 09:20 PM
Converting to .jpg format satimis Linux - General 15 02-08-2006 03:12 AM
Converting wma format to mp3 format. fakie_flip Linux - General 6 10-02-2005 08:49 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:12 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration