
Recherche avancée
Médias (1)
-
Revolution of Open-source and film making towards open film making
6 octobre 2011, par
Mis à jour : Juillet 2013
Langue : English
Type : Texte
Autres articles (46)
-
Les autorisations surchargées par les plugins
27 avril 2010, parMediaspip core
autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs -
Publier sur MédiaSpip
13 juin 2013Puis-je poster des contenus à partir d’une tablette Ipad ?
Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir -
Contribute to a better visual interface
13 avril 2011MediaSPIP is based on a system of themes and templates. Templates define the placement of information on the page, and can be adapted to a wide range of uses. Themes define the overall graphic appearance of the site.
Anyone can submit a new graphic theme or template and make it available to the MediaSPIP community.
Sur d’autres sites (10321)
-
FFMPEG Interframe to intraframe without 'converting' or losing data
11 août 2017, par Domenick SimpsonI’m new to this so I apologise I couldn’t find the answer after searching.
I am just ripping some video content for my film show-reel (specifically the Lego movie bluray) and came across some issues. When using ’makeMKV’ and ’xMedia Recode’ to perform a lossless transfer of the video data into an mp4 container I am getting artifacts in After Effects due to the interframe encoding of this bluray in H264 format. This doesn’t seem to be a problem with the Lego Batman movie bluray for some reason, maybe it uses Interframe. Anyway, some frames have block artifacts etc when editing / cutting shots.
Is there a way to convert this original MP4 stream into the same format without losing data / into an intraframe mp4 for editing purposes ?
I have used various re-encoding methods to H264 and prores that don’t result in block artifacts but result in less quality and different colourspace, and, higher file sizes.
In FFMPEG I also tried exporting the mp4 as a png sequence but I assume due to the conversion of YUV to RGB I am getting quite noticeable differences in reds and gamma. I’d also prefer to keep this as a H264 or single video file if possible. Full disclosure, I tried various conversion types rgb24 etc to retain colour info but this didn’t work either.
-
Converting DAV to MP4 and OGG
25 avril, par mackowiakpI want to prepare WEB page containing films from security camera recorders. Each recorder transmit video files in DAV format so each film is converted to MP4 format by script, using such syntax :



ffmpeg -y -i movie.dav -vcodec libx264 -crf 24 movie.mp4




So I included in HTMLv5 code such entry :



<video width="320" height="240">
 <source src="movie.mp4" type="video/mp4">
</source></video> 




It works correctly with Chrome but not with Firefox. For proper work in FF it is necessary add link to OGG file. So correct HTMLv5 syntax for both browsers should look like this :



<video width="320" height="240">
 <source src="movie.mp4" type="video/mp4">
 <source src="movie.ogg" type="video/ogg">
</source></source></video>




Can anybody help me to pass correct ffmpeg syntax to create OGG file ?



Output from console after using -movflags +faststart options



[maciek@piotr MMM]$ ../ffmpeg-2.4.2-64bit-static/ffmpeg -movflags +faststart -y -i 04.24.23-04.24.38\[M\]\[@0\]\[0\].dav -vcodec libx264 -crf 24 10.mp4
ffmpeg version 2.4.2- http://johnvansickle.com/ffmpeg/ Copyright (c) 2000-2014 the FFmpeg developers
 built on Oct 9 2014 07:24:56 with gcc 4.8 (Debian 4.8.3-11)
 configuration: --enable-gpl --enable-version3 --disable-shared --disable-debug --enable-runtime-cpudetect --enable-libmp3lame --enable-libx264 --enable-libx265 --enable- libwebp --enable-libspeex --enable-libvorbis --enable-libvpx --enable-libfreetype --enable-fontconfig --enable-libxvid --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-gray --enable-libopenjpeg --enable-libopus --disable-ffserver --enable-libass --enable-gnutls --cc=gcc-4.8
 libavutil 54. 7.100 / 54. 7.100
 libavcodec 56. 1.100 / 56. 1.100
 libavformat 56. 4.101 / 56. 4.101
 libavdevice 56. 0.100 / 56. 0.100
 libavfilter 5. 1.100 / 5. 1.100
 libswscale 3. 0.100 / 3. 0.100
 libswresample 1. 1.100 / 1. 1.100
 libpostproc 53. 0.100 / 53. 0.100
Option movflags not found.



-
ffmpeg Using -movflags faststart
16 mai 2019, par user3571514I tried to use the command -movflags faststart
And got the following error :
Microsoft Windows [Version 6.0.6002] Copyright (c) 2006 Microsoft
Corporation. All rights reserved.C :\uploads\1\videos>ffmpeg -i simple1.mp4 -codec copy -map 0 -movflags faststart output.mp4
-movflags faststart output.mp4 ffmpeg version N-34549-g13b7781, Copyright (c) 2000-2011 the FFmpeg developers built on Nov 6 2011
22:02:08 with gcc 4.6.1 configuration : —enable-gpl
—enable-version3 —disable-w32threads —enable-ru ntime-cpudetect —enable-avisynth —enable-bzlib —enable-frei0r —enable-libope ncore-amrnb —enable-libopencore-amrwb —enable-libfreetype
—enable-libgsm —en able-libmp3lame —enable-libopenjpeg —enable-librtmp —enable-libschroedinger -
-enable-libspeex —enable-libtheora —enable-libvo-aacenc —enable-libvo-amrwben c —enable-libvorbis —enable-libvpx —enable-libx264 —enable-libxavs —enable- libxvid —enable-zlib libavutil 51. 24. 0 / 51. 24. 0 libavcodec 53. 28. 0 / 53. 28.
0 libavformat 53. 19. 0 / 53. 19. 0 libavdevice 53. 4. 0 / 53.
4. 0 libavfilter 2. 47. 0 / 2. 47. 0 libswscale 2. 1. 0 / 2. 1. 0 libpostproc 51. 2. 0 / 51. 2. 0 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from ’simple1.mp4’ : Metadata :
major_brand : isom
minor_version : 512
compatible_brands : isomiso2avc1mp41
encoder : Lavf54.29.104 Duration : 00:02:32.81, start : 0.000000, bitrate : 1166 kb/s
Stream #0:0(und) : Video : h264 (Main) (avc1 / 0x31637661), yuv420p, 854x480 [ SAR 1:1 DAR 427:240], 1064 kb/s, 29.97 fps, 29.97 tbr, 90k
tbn, 59.94 tbc
Metadata :
handler_name : VideoHandler
Stream #0:1(und) : Audio : aac (mp4a / 0x6134706D), 44100 Hz, mono, s16, 93 kb /s
Metadata :
handler_name : [mp4 muxer @ 04179D00] [Eval @ 0027DAB8] Undefined constant or missing ’(’ in ’f aststart’[mp4 muxer @ 04179D00] Unable to parse option value "faststart"
[mp4 muxer @ 04179D00] Error setting option movflags to value
faststart.Output #0, mp4, to ’output.mp4’ : Metadata :
major_brand : isom
minor_version : 512
compatible_brands : isomiso2avc1mp41
encoder : Lavf54.29.104
Stream #0:0(und) : Video : h264, yuv420p, 854x480 [SAR 1:1 DAR 427:240], q=2-3 1, 1064 kb/s, 29.97 fps, 90k tbn, 29.97 tbc
Metadata :
handler_name : VideoHandler
Stream #0:1(und) : Audio : aac, 44100 Hz, mono, 93 kb/s
Metadata :
handler_name : Stream mapping : Stream #0:0 -> #0:0 (copy) Stream #0:1 -> #0:1 (copy)Could not write header for output file #0 (incorrect codec parameters ?)